axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 20054] New: - Parameters namespaces not taken into account by WSDL2Java
Date Tue, 20 May 2003 10:10:12 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20054>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20054

Parameters namespaces not taken into account by WSDL2Java

           Summary: Parameters namespaces not taken into account by
                    WSDL2Java
           Product: Axis
           Version: 1.1rc2
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Major
          Priority: Other
         Component: WSDL processing
        AssignedTo: axis-dev@ws.apache.org
        ReportedBy: nmoyere@calendra.com


The namespace attribute of the soap:body and soap:header of a Binding are not
taken into account in the generated Stub.

For example, I have the following soap:header in my WSDL:
       <soap:header message="cdmservices:function30Input" part="contextid"
use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="http://www.calendra.com/namespaces/services/">
        </soap:header>

And the stub contains the following code:
        oper.addParameter(new javax.xml.namespace.QName("", "contextid"), new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"), int.class,
org.apache.axis.description.ParameterDesc.INOUT, true, true);

instead of:
        oper.addParameter(new
javax.xml.namespace.QName("http://www.calendra.com/namespaces/services/",
"contextid"), new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"int"), int.class, org.apache.axis.description.ParameterDesc.INOUT, true, true);

Mime
View raw message