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:

    ...bunch of annotations...
    public int uploadPDF(
        @WebParam(name = "pdfToUpload", targetNamespace = "")
        javax.activation.DataHandler pdfToUpload
    );

    ... bunch of annotations...
    public javax.activation.DataHandler downloadPDF(
        @WebParam(name = "numberToDouble", targetNamespace = "")
        int numberToDouble
    );

[1] http://www.jroller.com/gmazza/entry/using_mtom_and_apache_fop


Cheers,
Marcel


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

Reply via email to