How I get my WebService to handle url encoded parameters

C

Chris Marchal[MSFT]

The default for ASP.NET in the 1.0 Framework was to have all request
methods (SOAP, POST and GET) enabled by default. In the 1.1 Framework the
GET method is disabled. To enable it for this particular web service, add
the following to the web.config under the system.web node:

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

This can be confirmed when debugging the service as the debug test pages
will now include the GET method in its examples.

Chris Marchal
Microsoft UK Developer Support
This posting is provided "AS IS" with no warranties, and confers no rights.
 
B

Bob the Coder

Thanks Chris,

I found the details in 'Configuration Options for XML Web
Services Created Using ASP.NET' in MSDN. I had overlooked
the changes since 1.0.

Bob, the Coder
 

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,995
Messages
2,570,226
Members
46,815
Latest member
treekmostly22

Latest Threads

Top