Hi there.
I fully understand how to subscribe to a web service that is external to the asp.net project I am working in but how do I call a web method of a web service that is within the project please?
Normally I would Add web reference but if I do this and search for a local web service, then adding in this way causes my whole solution to crawl to an almost standstill situation, so I am assuming that is the wrong approach.
If I try to reference the web service directly in the code, such as WebService.Meth odName() then Visual Studio does not like that at all..!
Any help will be much appreciated as this somewhat simple task is way above me for some reason..! If you could set out the steps I need to use the web methods in my C# code then that should get me on my way.
Thank you.
Mark :)
I fully understand how to subscribe to a web service that is external to the asp.net project I am working in but how do I call a web method of a web service that is within the project please?
Normally I would Add web reference but if I do this and search for a local web service, then adding in this way causes my whole solution to crawl to an almost standstill situation, so I am assuming that is the wrong approach.
If I try to reference the web service directly in the code, such as WebService.Meth odName() then Visual Studio does not like that at all..!
Any help will be much appreciated as this somewhat simple task is way above me for some reason..! If you could set out the steps I need to use the web methods in my C# code then that should get me on my way.
Thank you.
Mark :)
Comment