>>>>> "kevin" == kevin d <[EMAIL PROTECTED]> writes:
kevin> I'm a bit fuzzy about whether WSDL2Java is supposed to
kevin> support overloaded methods. I'm trying to generate proxies
kevin> for a Microsoft .Net web service that has overloaded method
kevin> signatures. In the .Net model, the methods are identified
kevin> uniquely using the "MessageName" property on the WebMethod
kevin> attribute. However, WSDL2Java generates two methods with
kevin> the exact same function signature, so the code won't
kevin> build. Has anyone else tried this?
I'm seeing the same, but going Java2WSDL -> WSDL2Java
I get in the generated WSDL:
<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>
Get me in the generated java:
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;
- Bob
--
SynXis Corporation | [EMAIL PROTECTED] | Obstacles are those frightful
1610 Wynkoop, Suite 400 | Ph: (303)595-2511 | things you see when you take your
Denver, CO 80202 | Fax:(303)534-4257 | eyes off your goal. -Henry Ford