Take the 2-minute tour ×

I have a webservice that exposes a function called ADD(int a, int b)

and i am trying to send a request to it without adding a wsdl/reference and then calling the function, In other words, i want to explicitly send a request to the webservice address.

so if i send a POST request with a well-formatted-soap XML envelope as the message, would that work?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

If you enable HttpGet and/or HttpPost in your web.config, you can do what you are asking.


share|improve this answer
oh, +1 for the help :), will be back after testing :) –  Madi D. Dec 29 '09 at 14:06
Works like a charm ( actually when i tested i forgot to enable them, so it didn't work at 1st, then i remembered to do it and it worked! , which definitely proves your answer :) ) –  Madi D. Dec 29 '09 at 15:08
Great, glad to hear it. –  Josh Yeager Dec 29 '09 at 15:16

Your Answer


