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 20:51:12 UTC

DO NOT REPLY [Bug 8790] New: - WSDL2Java produces wrong code for overidden 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=8790>.
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=8790

WSDL2Java produces wrong code for overidden methods

           Summary: WSDL2Java produces wrong code for overidden methods
           Product: Axis
           Version: beta-1
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Basic Architecture
        AssignedTo: axis-dev@xml.apache.org
        ReportedBy: bob@synxis.com


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>

WSDL2Java Generates:

    public java.util.HashMap getInventory(com.synxis.srms.domain.SrmsHotelIF
hotel, java.util.Date startDate, java.util.Date endDate) throws
java.rmi.RemoteException, com.synxis.srms.webservices.client.va.SrmsException;
    public java.util.HashMap getInventory(com.synxis.srms.domain.SrmsHotelIF
hotel, java.util.Date startDate, java.util.Date endDate) throws
java.rmi.RemoteException, com.synxis.srms.webservices.client.va.SrmsException;