Groups | Blog | Home
all groups > asp.net webservices > april 2004 >

asp.net webservices : Webservices - POST and GET do not work


Mark Wiewel
4/30/2004 9:58:54 AM
Hi there,

I wrote a simple Webservice, which works fine on my local(!) machine. I can
send data to this service via SOAP, GET and POST.

When transfering this service to another webserver, only SOAP seems to be
available. POST and GET do not show up in the WDSL file.

What's that? Any ideas?

Thanks a lot in advance,
Mark

Mark Wiewel
4/30/2004 11:04:58 AM
"Mark Wiewel" <wiewel@legion.de> schrieb im Newsbeitrag
news:c6t10b$fvof9$1@ID-38018.news.uni-berlin.de...
[quoted text, click to view]

I found the answer by myself:

You need to add the following lines to your web.config:

<webServices>

<protocols>
<add name="HttpGet"/>
<add name="HttpPost"/>
</protocols>

</webServices>

Otherwise GET and POST just work on the local machine only!

Cheers,
Mark

AddThis Social Bookmark Button