Posts Tagged ‘SOAP UI’

Testing your web service with SOAP UI

Tuesday, December 16th, 2008

It is really fun! I hope you’ll find this interesting. The subject of this post is how to test your web service or some wcf service. You only need WSDL and SoapUI. Foe this demonstration we’ll use this service created in Windows Communication Foundation (WCF). If you start your Service you, you will see something like this in your web browser. In my case URL address is: http://localhost:3363/WebServiceHost/Service.svc

“You have created a service.

To test this service, you will need to create a client and use it to call the service. You can do this using the svcutil.exe tool from the command line with the following syntax:

svcutil.exe http://localhost:3363/WebServiceHost/Service.svc?wsdl”

I need only this wsdl so I’ll click on this link: “http://localhost:3363/WebServiceHost/Service.svc?wsdl”.
That is the first step, remember location of your wsdl. Then start SoaupUI applcation, and under projects click “New WSDL project”.

Enter your project name, and enter URL of your WSDL and press OK.
Here is preview:

Now we will test method “FunctionAdd”. Click on Request 1 under the FunctionAdd and populate xml request.
Here is XML request:


And here is response



That is all. I find this tool “SoapUI” very interesting at all.

WP Theme & Icons by N.Design Studio
Entries RSS Comments RSS Log in