Good Evening Everyone,
Having trouble understanding why the following is happening:
Here is the method signature of the web service I am trying to invoke
public
String checkInventory(String productId, Integer quantity);
When I deploy the web service this is how the wsdl describes the method parameters:
http://localhost:8080/axis/services/com.university.ws.InventoryCheck?wsdl Yeilds:
I am sending an order for 2000 of item bk0001 in0=2000&in1=bk0001 and it should return false:
But it fails when I send the parameters as in0=bk0001&in1=2000:
http://localhost:8080/axis/services/com.university.ws.InventoryCheck?method=checkInventory&;in0=bk0001&in1=2000 Yet it works this way
http://localhost:8080/axis/services/com.university.ws.InventoryCheck?method=checkInventory&;in0=2000&in1=bk0001 Returns:
What is interesting is that it works when I create an Object [] with String[0] Integer[1] pass it to the invoke method of the Call class.
Anyone know why?
-Tomcat 4.1.24 -J2SDK/JRE 1.4.2-Axis 1.1-Win XP