You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by George Jagodzinski <ge...@fusionapps.com> on 2003/06/24 15:09:21 UTC

Multipart related mime parts throws null pointer exception in wsdl2java

here is the part of my bindings that throws a null pointer error when I try
to run wsdl2java. Everything works fine if I take the
<mime:multipartRelated> node completely out.

Does anyone know what I am doing wrong here?



<wsdl:binding name="MyNamespace" type="tns:MyNamespace">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="rpc"/>

<mime:multipartRelated>
     <mime:part>
          <soap:body use="encoded"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="nsMyNamespace"/>
     </mime:part>
     <mime:part>
          <mime:content part="document" type="application/binary"/>
     </mime:part>
</mime:multipartRelated>



thank you,
George