2
Well, this error is happening, after I did the procedure to access the IIS Remotely.
Error:
Cannot obtain Metadata from http://localhost:xxxx/Service.svc.
If this is a Windows (R) Communication Foundation service to which you have access, please check that you have enabled metadata publishing at the specified address.
For help enabling metadata publishing, please refer to the MSDN documentation at http://go.microsoft.com/fwlink/?LinkId=65455.WS-Metadata
Exchange Error
URI: http://localhost:xxxx/Service.svc O metadados cont‚m uma referˆncia que nÆo pode ser resolvida:
'http://localhost:xxxx/Service.svc'.
Não havia um ponto de extremidade em escuta em http://localhost:xxxx/Service.svc capaz de aceitar a mensagem.
Em geral, isso ‚ causado por um endere‡o ou a‡Æo de SOAP incorreta. Consulte InnerException, se presente, para obter mais detalhes.
Imposs¡vel conectar-se ao servidor remoto
Nenhuma conexão pode ser feita porque a maquina de destino as recusou ativamente 127.0.0.1:64969
HTTP GET Error
URI: http://localhost:xxxx/Service.svc
Erro ao baixar 'http://localhost:xxxx/Service.svc'.
Imposs¡vel conectar-se ao servidor remoto
Nenhuma conexÆo p“de ser feita porque a maquina de destino as recusou ativamente 127.0.0.1:64969
WEB.CONFIG
<system.serviceModel>
<behaviors>
<serviceBehaviors>
<behavior>
<!-- To avoid disclosing metadata information, set the values below to false before deployment -->
<serviceMetadata httpGetEnabled="true" httpsGetEnabled="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="true"/>
</behavior>
</serviceBehaviors>
</behaviors>
<protocolMapping>
<add binding="basicHttpsBinding" scheme="https"/>
</protocolMapping>
<serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true"/>
</system.serviceModel>
INTERFACE
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.18020")]
[ServiceContract]
public interface IServiceConfFisica
{
[OperationContract]
[System.ServiceModel.XmlSerializerFormatAttribute()]
executeResponse executeJUP(executeRequest jup);
}
I don’t understand, you hosted the service on a remote IIS, but you want to access it as Localhost???
– Leandro Angelo
No, I have the solution in my machine she is with IIS EXPRESS and so I want to do remote access from another PC
– Antonio_Sistema_de_Informacao