Webservices - POST and GET do not work

M

Mark Wiewel

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
 
M

Mark Wiewel

Mark Wiewel said:
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?

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
 

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

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,819
Latest member
masterdaster

Latest Threads

Top