Have WSDL, Need Server

Advertisements
Advertisements

Today I had the need to create a proxy Web Service in place of one that was being developed. I had the WSDL file of the soon to be developed service, but wanted to stand up a service that would help me debug the client I was developing. Turns out it is as simple as running a command line command:

wsdl.exe /server

I’m running Visual Studio 2008 so the wsdl path was (which I had previously added to my path):

C:Program FilesMicrosoft Visual Studio 8SDKv2.0Bin

After running the tool, I had a ready-made .cs file with the correct interface, which I then easily used to stub out some mock data for my client code.

Advertisements

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.