Need to enable HTTPOST AND GET for my webservice!

J

jens Jensen

Hello,

How can i have my web service to interact through HttpPost and HttpGet?
I dont need soap (mostly just xml over http).

I read this can be achieved through web.config but , where to put the code?

How to read/write using this method.

Many thanks
JJ
 
C

CaffieneRush

My understanding is that all three protocols should be enabled by
default. There are times when the exposed method is too complex for Get
to support such as passing and recieving complex objects but you would
not be making this mistake since you just want to use Get and Post.

Point your browser to the test asmx page of your service and click on
the method that you've written that you're interested in. You should
see an example each of Soap invocation, Post invocation (if supported)
and Get invocation (if supported).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top