axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "donald yang" <>
Subject AXIS2 generates invalid fault element for SOAP1.1 binding in WSDL
Date Wed, 21 Feb 2007 15:41:09 GMT

WSDL generator of AXIS2 has a bug. When I retrieve the WSDL for Version web
service using the following method:


the generated WSDL is invalid if a operation has fault message. The SOAP 12
binding element is correct, just SOAP1.1 binding element[1] is invalid. It
should be [2].

best regards

[1] original SOAP1.1 binding element
<wsdl:binding name="VersionSOAP11Binding" type="axis2:VersionPortType">
<soap:binding transport=""
 <wsdl:operation name="getVersion">
<soap:operation soapAction="urn:getVersion" style="document"/>
<soap:body use="literal"/>
<soap:body use="literal"/>
 *<wsdl:fault name="getVersionFault">
<soap:body use="literal"/>

[2] correct one
<wsdl:fault name="getVersionFault">
<soap12:*fault *use="literal" *name="getVersionFault"/*>
 *-* <http://brad:8080/axis2/services/Version?wsdl#>

View raw message