We are developing a Java web service(SOAP based) that has to return certain data along with an Image.
The web services are developed using MULE ESB. The consumer of the web service is a FLEX client.
The text data is returned as XML. But I'm not sure how the web service should return Image to the FLEX client.
As of now I can think of the following options:
Option 1: Store the image in a Tomcat server and give the URL to the client?!
Option 2: Convert the image as String and then let the client convert back?!
Or is there any other better option.
Kindly suggest.
thank you :)