turn on web service testpage for non-localhost ??

A

Andrew Taylor

When I try to access the auto generated web service test page on a
different machine, I do not get all the goodness...the method test
pages are missing...


How do I turn that stuff back on ????

-- Thanks, Andrew
 
J

Jan Tielens

http://support.microsoft.com/default.aspx?scid=kb;en-us;819267
INFO: HTTP GET and HTTP POST Are Disabled by Default

HTTP GET and HTTP POST may be enabled by editing the Web.config file for the
vroot where the Web service resides. The following configuration enables
both HTTP GET and HTTP POST:
<configuration>
<system.web>
<webServices>
<protocols>
<add name="HttpGet"/>
<add name="HttpPost"/>
</protocols>
</webServices>
</system.web>
</configuration>Alternatively, you can enable these protocols for all Web
services on the computer by editing the <protocols> section in
Machine.config. The following example enables HTTP GET, HTTP POST, and also
SOAP and HTTP POST from localhost:
<protocols>
<add name="HttpSoap"/>
<add name="HttpPost"/>
<add name="HttpGet"/>
<add name="HttpPostLocalhost"/>
<!-- Documentation enables the documentation/test pages -->
<add name="Documentation"/>
</protocols>
 

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,236
Members
46,822
Latest member
israfaceZa

Latest Threads

Top