Calling a Web Method in C# without Service Reference

This is a SOAP request

Last week I gave you a method that, using SOAP and HttpWebRequest, allowed you to invoke a Web Method without a WSDL or a Web Reference. Well today, I’ll give you an improved version of that method. In fact I’ll give you a whole ready-to-use class with additional functionality.

Continue reading “Calling a Web Method in C# without Service Reference”

Calling Web Service without WSDL or Web Reference

Once I had to test in C# a dozen of web services developed by a third-party. However they provided no WSDL and no ASMX – therefore it would be impossible to use Web References. They only provided the name of the web methods, their urls, calling credentials and an XML request example.

Continue reading “Calling Web Service without WSDL or Web Reference”