need to enable http post and read for my webservice

  • Thread starter Thread starter jens Jensen
  • Start date Start date
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
 
Something like this

<configuration>
<system.web>
<webServices>
<protocols>
<add name="HttpGet"/>
<add name="HttpPost"/>
</protocols>
</webServices>
</system.web>
</configuration>
 
Those settings allow your web application to accept incoming webservice
method requests based on get and post protocols. Your asmx file exposes the
methods that clients can call.
 

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

Back
Top