Hello folks, I am using Tomcat and axis for web services. I am taking some images using a webcam which my client program suppose to display. One of the problems am facing is how pass an Image taken by the webcam using SOAP to my client program. One possible solution that I thought of is to convert the Image to a byte array and pass it and then convert back to Image at the client side. But before doing so I would like to be sure. Did any one handle this or similar kind of issue before? Or if someone has any other idea? Please get back!!! Thanks in return.
A byte array will work - note that it will be base64 encoded because some bytes can't legally be part of XML messages. Bill
Joined: Apr 27, 2004
Hi Bill, Thanks for getting back!!! I am a core C programmer and recently plunged to JAVA world!!! I just got this idea but I dont know how to go for it!! Any idea of any useful class which I could use for my objective!!! Thanks a lot!!!