Greetings, I would like to know how to map the "return" message part operation in WSDL to the specific mime type that will generate a correspondent java type.
For example, I define IN/OUT parameters in a operation and the xsd:string type is mapped to the mime type "text/xml" which will automatically a javax.xml.transform.Source object. --> However, I don't know how can I define the return part inside the binding of an operation. The following wsdl sample: <portType> <operation name="testWSAttach" parameterOrder="aXML aString oXML oString"> <input message="tns:NGINPro_testWSAttachRequest"/> <output message="tns:NGINPro_testWSAttachResponse"/> <fault name="NGINProException" message="tns:NGINProException" /> </operation> </portType> <binding> <operation name="testWSAttach"> <input> <mime:multipartRelated> <mime:part> <soap:body parts="aString" encodingStyle= "http://schemas.xmlsoap.org/soap/encoding/" use="encoded" namespace= "http://www.ptinovacao.pt/nginpro/interfaces/wsdl"/> </mime:part> <mime:part> <mime:content part="aXML" type="text/xml" /> </mime:part> </mime:multipartRelated> </input> <output> <mime:multipartRelated> <mime:part> <mime:content part="oXML" type="text/xml" /> </mime:part> <mime:part> <mime:content part="oString" type="text/plain" /> </mime:part> </mime:multipartRelated> </output> <fault name="NGINProException"> <soap:fault encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="encoded" namespace="http://www.ptinovacao.pt/nginpro/interfaces/wsdl"/> </fault> <soap:operation soapAction="testWSAttach"/> </operation> <binding> is mapped to the following java method: public java.lang.String testWSAttach(javax.xml.transform.Source aXML, java.lang.String aString, org.apache.axis.holders.SourceHolder oXML, javax.xml.rpc.holders.StringHolder oString) throws java.rmi.RemoteException, pt.ptinovacao.nginpro.interfaces.service.NGINProException { oXML.value = new javax.xml.transform.stream.StreamSource(); oString.value = new java.lang.String(); return null; } And if I define the type from xsd:string to complex type of base64Binary[], the return type is byte[][]!!! Any help is appreciated!! thanks, Pedro Salazar. -- PS [EMAIL PROTECTED] PGP:0E129E31D803BC61