Array
(
)

problema web service publicado no iis

Jefferson
   - 17 mar 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
#Código<configuration>
<system.web>
<webServices>
<protocols>
<add name="HttpGet"/>
<add name="HttpPost"/>
</protocols>
</webServices>
</system.web>
</configuration>

Jefferson
   - 17 mar 2016

blz galera

funcionou

#Código <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>