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
posted 5 years ago
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.