How to add a reference to my Web Service Proxy from a Custom Class

Posted by coffeeaddict on Stack Overflow See other posts from Stack Overflow or by coffeeaddict
Published on 2009-07-30T14:32:11Z Indexed on 2010/03/14 6:05 UTC
Read the original article Hit count: 277

Filed under:
|
|

I'm creating a custom class to abstract out some of the repeated SOAP header work. I want to reference a Web Service Reference I just created in my custom class so I can create an instance of it. How do I reference it?

Notice I said I am trying to reference a Web Service "reference" (right click in VS and I added a "Web Service Reference" not a "Web Service"). So I'm trying to create an instance of that Proxy class that was created in MyCustomClass.cs

© Stack Overflow or respective owner

Related posts about web-services

Related posts about ASP.NET