Forums Register Login

InputStream as a responce in JAX-WS webservice

+Pie Number of slices to send: Send

Hi Everyone ,

I am new guy to JAX-WS Webservices .As per my requirement we need InputStream as response for the webservice.

Please let me know if there is any possible way to achieve this.

It would be very helpful for my development if any one can help me in these aspects

Thanks in Advance

Jagadish Sanku
+Pie Number of slices to send: Send
JAX-WS transports SOAP, not raw bytes. If the response is supposed to contain a byte[], then you need to look into SOAP with attachments (SwA) or encode the byte[] as a string (maybe using something like base-64 encoding). But a raw stream is out of the question.
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 1532 times.
Similar Threads
Mking a webservice secure
How to deploy a JAX-WS webservice which is both Service Provider and Consumer for someother Service?
Soap Fault Implementation
Integrated windows authentication in jax-ws service
JAX-WS issue with OAS
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 09:30:46.