POST problem

  • Thread starter Thread starter Brian
  • Start date Start date
B

Brian

I've been struggling trying to programmatically post to a web service
and get the respose back.

Ive been trying to use the Add method of the following web service
http://www.xmlwebservices.cc/ws/v1/calc/SimpleCalc.asmx

this takes two integers and returns thier sum. How do I specify that
I want the Add method? Any code examples? I'm new at asp.net, and
I'm really struggling with this. Thanks.

-Brian
 
I understand I can do that, but I'm writing a test haress. A
requirement is that it be able to access services through post and
get, as well as SOAP. I've got SOAP working, I'm stuggling with post
and get.
 
Brian said:
I understand I can do that, but I'm writing a test haress. A
requirement is that it be able to access services through post and
get, as well as SOAP. I've got SOAP working, I'm stuggling with post
and get.

GET and POST are HTTP methods (aka "verbs"). SOAP is an application level
protocol that uses HTTP. Thus, using GET/POST without SOAP implies using
another application level protocol to communicate the service request (e.g.
REST, or some home-brewn stuff). Does your web service support this?

Cheers,
 
Back
Top