Nice to meet everybody. I want to develop a web service, and use a Inputstream object as one parameter. I have spent more time, but havn't found the correct solution. Can anybody give me some idea, Thanks .
Since the communication with a web service is handled using XML documents I would think it impossible to have an InputStream as a parameter. I think you need to extract the data from the InputStream to a buffer (e.g. a byte array) and then construct a new InputStream on this parameter on the server side.
Admit nothing. Blame everyone. Be bitter.
WHAT is your favorite color? Blue, no yellow, ahhhhhhh! Tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop