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.

Reply via email to