Apr 17th, 2009, 03:19 PM
Sending binary data through web service
Hi all --
I'm pretty new to spring-ws and was hoping someone could assist.
I'm running spring-ws under Java 5 (via Jboss 5.0). I'd like to build a service that accepts a simple SOAP request, builds a PDF document, then returns the PDF in the SOAP response.
The clients of this service use Java 1.4, which appears to be important, as not all the tools for extracting the PDF from the SOAP response (e.g. JAXB2) are available under Java 1.4 (at least, that's how it seems to me). The client side does not have to use spring-ws, so other tools are welcome (e.g. AXIS2).
I'll continue hunting a solution on my own, but if anyone could save me from a crummy weekend with a quick suggestion I'd be forever grateful. :-)