Monday, March 26, 2012

Web service client side proxy class problem

I'm implementing a file upload application using DIME over a web service. When I attempt to attach the file to the message, I receive a 'RequestSoapContext' is not a member of WebServiceObject' error.
I have found examples and solutions to this, but all that I have found need to modify the proxy class generated in VS.NET. The problem I have is I can't find the proxy class to modify it. I am using VS.NET 2005 August CTP.
Thanks

Hello.

I must warn you that I haven't played much with web services.

is the consumer an asp.net app? if it is, then if i'm not mistaken, when you add a reference to the web service, you'll get the wsdl file inside the app_webreferences folder which will be compiled into a dll. so, if you need to have the classe so that you can change (by using inheritance, for instance), you can allways use the wsdl tool to generate the cs file (command prompt). then just add the cs file to the app_code folder to use it from the pages.

0 comments:

Post a Comment