I am pretty new to wenservices my self. But I think the following should give
you a good idea.
You have added the webservice as a reference to your project. The reference
is called Proxy.
Proxy test = new Proxy();
test.Credentials ... use this code if u have authentication
object[] test2 = test.WebMethodName(parameters);
This is pretty basic and assumes you have consumed a webservice. Hope this
helps.
"Jason Zhou" wrote:
I understand how to consume a web service by registering it as a web
reference in my project, but how to use HTTP Post to call a web service? For
example I have a web service called TestService, and have a WebMethod called
TestMethod, it has a string type parameter A, anybody can explain a little
bit on how to call it from http post?
Thanks!
Jason