I have some code which is a wrapper "DLL" I used the DLL in a VB6 app in order to call a web service, and invoke a web method.
I'm using the same DLL wrapper for an ASP.NET 2008 web portal site. The wrapper class was created in VS 2008. A little about the wrapper code: Basically I create a
BasicHttpBinding object, set the basic propties of the object, this way I can eliminate te need for a web config in the wrapper class. I then create my proxy object for
the web service in which I’m going to call within the wrapper class passing it the BasicHttpBinding an a new EndpointAddress. The wrapper class exposes a single method, see code below:
pwd: password in order to login to web service
View Complete Post