Wednesday, 14 May 2008

Creating a Web Service Proxy Class in C#

Its really easy, as Visual Studio does it for you!
  • Update the web service wsdl
  • Under the your project file root, build the new proxy file - wsdl.exe /l:CS /protocol:SOAP http://webserviceurl/webservicename?wsdl
  • Accept the changes to the webservicename.cs file, save and rebuild the project
  • You now have an up to date dll file with a proxy class for the web service

No comments: