Hi,

I reported the same thing in the axis-dev list but did not get any
resolution. There was a bit of discussion on the subject. Look into the
thread "[BUG] Beta2 interop (was RE: Interoperability issue with
MSVC++.Net)".

This seems to have changed in beta2. It was OK in beta1.

-----Original Message-----
From: Bihani, Swastik [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 22, 2002 6:43 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Java2WSDL problem in namespace for bindings


Hi

I am running the WSDL2Java on the following class that comes along with the
Apache Soap 2.2 samples.
        samples.mime.MimeTest

However, in the bindings, I'm getting a wrong output:

<wsdl:binding name="MimeTestSoapBinding" type="intf:MimeTest">
      <wsdlsoap:binding style="rpc"
transport="http://schemas.xmlsoap.org/soap/http"/>
      <wsdl:operation name="getFileArray">
         <wsdlsoap:operation soapAction=""/>
         <wsdl:input>
            <wsdlsoap:body
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
namespace="getFileArray" use="encoded"/>
         </wsdl:input>
         <wsdl:output>
            <wsdlsoap:body
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
namespace="urn:MimeTest" use="encoded"/>
         </wsdl:output>
      </wsdl:operation>
      <wsdl:operation name="getFileVector">
         <wsdlsoap:operation soapAction=""/>
         <wsdl:input>
            <wsdlsoap:body
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
namespace="getFileVector" use="encoded"/>
         </wsdl:input>
         <wsdl:output>
            <wsdlsoap:body
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
namespace="urn:MimeTest" use="encoded"/>
         </wsdl:output>
      </wsdl:operation>
      <wsdl:operation name="listAttachments">
         <wsdlsoap:operation soapAction=""/>
         <wsdl:input>
            <wsdlsoap:body
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
namespace="listAttachments" use="encoded"/>
         </wsdl:input>
         <wsdl:output>
            <wsdlsoap:body
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
namespace="urn:MimeTest" use="encoded"/>
         </wsdl:output>
      </wsdl:operation>
   </wsdl:binding>

If you see, the namespace for the input operation is the same as the
operation name instead of being "urn:MimeTest" (as is correctly set in the
output operation.

Has anyone hit the same problem before??

Regards,
~Swastik

Reply via email to