You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by bu...@apache.org on 2002/05/03 22:43:58 UTC
DO NOT REPLY [Bug 8791] New: -
Java2WSDL generates incorrect WSDL for overridden methods
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=8791>.
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=8791
Java2WSDL generates incorrect WSDL for overridden methods
Summary: Java2WSDL generates incorrect WSDL for overridden
methods
Product: Axis
Version: beta-1
Platform: Other
OS/Version: Linux
Status: NEW
Severity: Normal
Priority: Other
Component: Basic Architecture
AssignedTo: axis-dev@xml.apache.org
ReportedBy: bob@synxis.com
See bug 8790. Russell's comments indicate the input/output parameter
declarations should have a name attrribute.
The WSDL from bug 8790 was generated from Java2WSDL and the input/output
paramaters do not have names.
A snippet of WSDL (Generated from Java2WSDL):
<wsdl:operation name="getInventory" parameterOrder="authToken chainId
hotelId startDate endDate">
<wsdl:input message="intf:getInventoryRequest"/>
<wsdl:output message="intf:getInventoryResponse"/>
<wsdl:fault message="intf:SrmsException" name="SrmsException"/>
</wsdl:operation>
<wsdl:operation name="getInventory" parameterOrder="hotel startDate endDate">
<wsdl:input message="intf:getInventoryRequest1"/>
<wsdl:output message="intf:getInventoryResponse1"/>
</wsdl:operation>
Should be:
<wsdl:operation name="getInventory" parameterOrder="authToken chainId
hotelId startDate endDate">
<wsdl:input name="in1" message="intf:getInventoryRequest"/>
<wsdl:output name="out1" message="intf:getInventoryResponse"/>
<wsdl:fault name="fault1" message="intf:SrmsException"
name="SrmsException"/>
</wsdl:operation>
<wsdl:operation name="getInventory" parameterOrder="hotel startDate
endDate">
<wsdl:input name="in2" message="intf:getInventoryRequest1"/>
<wsdl:output name="out2" message="intf:getInventoryResponse1"/>
</wsdl:operation>