problema web service publicado no iis

17/03/2016

ola,

fiz um web service no visual studio 2010 C#

O problema eh que qdo fui publicar no iis ele mostra msg:
The test form is only available for requests from the local machine.

So funciona local.

Ja vi dicas na internet para colocar isto no web.config. Fiz, mas continua sem funcionar

<configuration>
    <system.web>
     <webServices>
        <protocols>
            <add name="HttpGet"/>
            <add name="HttpPost"/>
        </protocols>
    </webServices>
    </system.web>
</configuration>

Jefferson

Respostas

17/03/2016

Jefferson

blz galera

funcionou


 <webServices>
      <protocols>
        <add name="HttpSoap12"/>
        <add name="HttpSoap"/>
        <add name="HttpGet"/>
        <add name="HttpPost"/>
        <!-- Documentation enables the documentation/test pages -->
        <add name="Documentation"/>
      </protocols>
    </webServices>
Responder Citar