Update: Now moved here: http://www.codeplex.com/wsstudioexpress
At one point or another, we've had the need to test our web services and WSDLs. When I was on a BizTalk integration project, I had the need to test the orchestrations exposed via Web Services easily without jumping through all the code. This WebServicesStudio 2.0 tool allows you to test web services with ease and solves a lot of problems. The product is available here:
http://www.codeplex.com/wsstudioexpress
Like most tools, I like to show you how useful these tools are, so that you can find the right tool at the right time. When I launch the tool, I select a sample URL and click the Get button. For this example, I chose
http://www.mssoapinterop.org/asmx/simple.asmx as my test. From here, I then click on the "echoString" method and click the string value in the body. From that point, you will be able to change the value of the string to whatever value you wish. I then click the Invoke button and get the results. Below is a picture of what you might expect:
Next, let's flip over to the next tab, Request/Response. From this tab, you can specify an xml message to send to the web service. From the menu on the left, you have the ability to set the URL of the web service call, basic authentication information and many other things. Just to mess around and not really construct a new message, let's just throw a bad value in there for fun. In the request window, I put in <MyTest /> and clicked send. Of course I got back the expected result of XML not matching the request which in this case is a good thing. Below is a screenshot of the result:
Now we start seeing how this class is useful. On the third page of interest, we have the WSDLs & Proxy page. From this page, we can view the autogenerated information from the XSD tool that this tool has automated for us. We also have the option from the File Menu to save all of these generated files into a specified directory. Below is a shot of the autogenerated class:
So, you can see how useful this automated tool is to visual the way our web services work.