You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@synapse.apache.org by "prabhat (sent by Nabble.com)" <li...@nabble.com> on 2006/02/08 06:15:34 UTC

problem invoking two operation with same input type

 I used WSDL2Java to generate web services stub and classes. It correctly generated three methods

public MyResponse createReservation(Reservation body);
public MyResponse adjustReservation(Reservation body);
public AnotherRespose checkAvailability(Status body);

When I invoked the adjustReservation web service using Axis Client, createReservation gets executed. I have debugged it in eclipse and for some reason, RPCProvider invokes createReservation eventhough MessageContext has correct SoapActionURI which is AdjustReservation.

checkAvailability operation gets called correctly.

It seems to be a bug in RPCProvider(or its super class) for it can not handle methods with different names but same input/output type.
--
View this message in context: http://www.nabble.com/problem-invoking-two-operation-with-same-input-type-t1080899.html#a2815840
Sent from the Synapse - User forum at Nabble.com.