I have a website project in VC2008. I add a web reference to a web service, and give it a name (ws). I can now do this:
ws.Service testService = new ws.Service();
ws.Customer objCustomer = testService.GetCustomer("1");
Now, is it possible to move the Web Reference into a class file, referenced by my web project? I've done that, but now I can't access the ws object from the website application. Is this even possible? I've seen it done in another project, which I've tried
to mimic exactly, but it's not working for me. Could it be an older version worked like that??
View Complete Post