I have a few wsdl URLs (e.g. https://location?wsdl). And I need to automate the testing of these web services with asp.net. How can I do that ? I was told that http website request could do this (HttpRequest Class). I don’t know much about web services except the basics.
Share
Create a unit test project. Use “Add Service Reference” to reference the WSDLs within this project. Then, just create unit tests to call the service and confirm that the results are as expected.
Note that purists will say these are integration tests, not unit tests, but that’s ok. They’ll be automated, which is what you were looking for.