Jean-Christophe, as far as I know (and tried) AXIS' WSDL2Java doesn't support the wsdl mime binding at all.
Do you really get any attachments from a wsdl mime bound service with axis? Uli ----- Original Message ----- From: "Jean-Christophe Rioux" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, October 01, 2002 7:38 PM Subject: Problem with mime attachment > I am unable to get the second attachement (the stub return null). The > class where generated using wsdl2java. Below is a part of my wsdl. Do I > miss something? > Note that posting mime multipart document works well. > > > <wsdl:message name="MerchantDataExchange_getDocument_Request"> > <wsdl:part name="merchant" type="tns:Merchant"/> > <wsdl:part name="documentIdentifier" type="tns:DocumentID"/> > </wsdl:message> > <wsdl:message name="MerchantDataExchange_getDocument_Response"> > <!--<wsdl:part name="documentIdentifier" type="tns:DocumentID"/>--> > <wsdl:part name="response" type="tns:DocumentID"/> > <wsdl:part name="document" type="xsd:string"/> > <!--<wsdl:part name="document" type="xsd:string"/>--> > </wsdl:message> > > > > <wsdl:operation name="getDocument"> > <soap:operation soapAction="getDocument" style="rpc"/> > <wsdl:input name="getDocument"> > <soap:body use="encoded" > encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" > namespace="nsMerchantDataExchange"/> > </wsdl:input> > <wsdl:output name="getDocument"> > <mime:multipartRelated> > <mime:part> > <soap:body use="encoded" > encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" > namespace="nsMerchantDataExchange"/> > </mime:part> > <mime:part> > <mime:content type="text/plain"/> > </mime:part> > </mime:multipartRelated> > </wsdl:output> > <wsdl:fault name="getDocument"> > <soap:fault use="encoded" > encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" > namespace="nsMerchantDataExchange"/> > </wsdl:fault> > </wsdl:operation> >
