Inquiridor
publicar serviço wcf no iss 7

Pergunta
-
Todas as Respostas
-
Luana,
Oque acontece, o serviço não abre, algum erro é mostrado ??
Veja estes links se possível:
http://msdn.microsoft.com/en-us/library/ms733766.aspx
http://www.codeproject.com/Articles/150066/Create-Host-Self-Hosting-IIS-hosting-and-Consume-WVitor Mendes | Seu feedback é muito importante para todos!
Visite o meu site: http://www.vitormendes.com.br/ -
-
meu web.config esta assim olha:
<?xml version="1.0"?>
<configuration>
<system.web>
<!--<compilation debug="true" targetFramework="4.0" />-->
<compilation debug="true"/>
</system.web>
<system.serviceModel>
<behaviors>
<serviceBehaviors>
<behavior>
<!-- To avoid disclosing metadata information, set the value below to false and remove the metadata endpoint above before deployment -->
<serviceMetadata httpGetEnabled="true"/>
<!-- To receive exception details in faults for debugging purposes, set the value below to true. Set to false before deployment to avoid disclosing exception information -->
<serviceDebug includeExceptionDetailInFaults="false"/>
</behavior>
</serviceBehaviors>
</behaviors>
<!--<serviceHostingEnvironment multipleSiteBindingsEnabled="true" />-->
</system.serviceModel>
<system.webServer>
<modules runAllManagedModulesForAllRequests="true"/>
</system.webServer>
</configuration> -
Luana,
Você tem que configurar o seu endpoint do serviço, veja os links que te passei, tem ótimos exemplos.Vitor Mendes | Seu feedback é muito importante para todos!
Visite o meu site: http://www.vitormendes.com.br/ -