Win a copy of Head First Agile this week in the Agile forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

InputStream as a responce in JAX-WS webservice  RSS feed

 
Jagadish Sanku
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!