Alternatives to sending an image in base64 via document literal SOAP -
I am currently modifying a document literal SOAP service for a business app that is about back and forth Transmits the data.
A new requirement for transferring scanned document images has been identified. I have the problem that the ownership language I use does not support the SOAP attachment.
The pictures can be transferred up to 32KB anything can be done.
The only solution I can think of is base 64 encoded image, and pass it as an element of the XML document.
It really feels like a bad idea, but I can not think anything better.
Any thoughts?
EDIT: I forgot to mention that the image was not remotely stored in the file system, it is stored in an Oracle database, which does not have the ability to connect directly to me , Edit: XML schema defines a type, so you should be able to properly define your WSDL (assuming you're using automated Marshlers) at least , You should use a feature on an element containing your encoded content.
Comments
Post a Comment