I have a WCF Webservice hosted in IIS that provides one method that accepts three integer parameters. I have a simple console client that can call this method.
int InsertNewOrder(short quantity, int custID, int productID);
If my understanding is correct, I need to provide JMeter with a SOAP envelope with details of the method being called and the parameters that will be passed. I have seen many examples similar to below:
<soapenv:Envelope xmlns:soapenv="schemas.xmlsoap.org/soap/envelope/">; <soapenv:Body> <ns2:InsertNewOrder xmlns:ns2="?????"> <ns2:Param1>${1}</ns2:Param1> <ns2:Param1>${1}</ns2:Param1> <ns2:Param1>${1}</ns2:Param1> </ns2:InsertNewOrder> </soapenv:Body> </soapenv:Envelope>
However, looking at my WSDL document, I donโt see where it refers to any of the parameters needed to go to the method. I also used Fiddler to check client soap messages for the service. Again, I do not see where it passes the parameters. As a result, I donโt know how to create a simple SOAP envelope that I can use with JMeter to test this service.
Can someone tell me why the details of the method parameters are not indicated in the WSDL document, or explain how I can create the necessary SOAP envelope for use with JMeter?
I am coding in C # using VS 2010, JMeter 2.4, IIS v6, wsHttpBinding.
c # soap web-services jmeter
Jmc
source share