On 09/21/2012 09:42 AM, Marcel Stör wrote:
On 21.09.2012 15:33, Glen Mazza wrote:
On 09/21/2012 08:08 AM, Marcel Stör wrote:
The bad news:
d) Since we run wsdl2java in each an every Maven build a) isn't an
option anyway.


wsdl2java should be able to generate DataHandlers within method
signatures, my MTOM/Apache FOP tutorial[1] will generate the following
service endpoint interface for uploading/downloading PDFs:

Yes, that's because you use xmime:expectedContentTypes="application/octet-stream" in the WSDL/XSD.

Well, if you want to use DataHandler, I'd just use the same expectedContentTypes for your images, it should work fine. Just trying to solve your (d) problem...

Glen


In addition to my image attachment I also have a CSV attachment type with a text/csv MIME type. For this class the content attribute is a DataHandler.

--
Glen Mazza
Talend Community Coders - coders.talend.com
blog: www.jroller.com/gmazza

Reply via email to