Fiz um Webservice para impressao e o memso funciona perfeitamente qndo eu chamo ele pelo F5. Ao chamar pelo F5 a ferramenta WCF Test Cliente abre e eu consigo executar sem problemas.
O problema ocorre quando eu publico meu ws. eu publico em localhost, visualizo ele certo, porém qndo vou fazer o teste no SOAP UI, só da erros.
Segue abaixo meu App.config
<?xml version="1.0"?>
<configuration>
<system.web>
<compilation debug="false"/>
</system.web>
<!-- When deploying the service library project, the content of the config file must be added to the host's
app.config file. System.Configuration does not support config files for libraries. -->
<system.serviceModel>
<services>
<service name="PrinterWebService.PrinterService">
<endpoint address="" binding="wsHttpBinding" bindingConfiguration="wsHttpBindingNoSCT" name="service" contract="PrinterWebService.IPrinterService">
</endpoint>
<host>
<baseAddresses>
<add baseAddress="http://localhost/PrinterWebService.PrinterService.svc"/>
</baseAddresses>
</host>
</service>
</services>
<bindings>
<wsHttpBinding>
<binding name="wsHttpBindingNoSCT">
<security mode="None">
<transport clientCredentialType="None" />
<message establishSecurityContext="false" />
</security>
</binding>
</wsHttpBinding>
</bindings>
<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>
</system.serviceModel>
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/></startup></configuration>