Torna al Thread
<system.serviceModel>
<services>
<service behaviorConfiguration="WCF.ServiceBehavior" name="WCF.Service">
<endpoint address="http://localhost/Service.svc" binding="wsHttpBinding" contract="WCF.IService">
<identity>
<dns value="localhost" />
</identity>
</endpoint>
<endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />
</service>
</services>
<bindings>
<wsHttpBinding>
<binding name="wsHttpEndpointBinding">
<security mode="Transport">
<message clientCredentialType="None"/>
</security>
</binding>
</wsHttpBinding>
</bindings>
<behaviors>
<serviceBehaviors>
<behavior name="WCF.Service1Behavior">
<serviceMetadata httpGetEnabled="true"/>
<serviceDebug includeExceptionDetailInFaults="false"/>
<serviceCredentials>
<clientCertificate>
<authentication certificateValidationMode="PeerOrChainTrust" revocationMode="NoCheck"/>
</clientCertificate>
</serviceCredentials>
</behavior>
</serviceBehaviors>
</behaviors>
<!-- parte di configurazione per il WS Java -->
<services>
<service behaviorConfiguration="ServiceReference1.ServizioJavaCertClientBehavior" name="ServiceReference1.ServizioJavaCertClient">
<endpoint address="https://xxxx" binding="wsHttpBinding"
contract="ServiceReference1.ServizioJavaCertClient">
<identity>
<dns value="localhost" />
</identity>
</endpoint>
<endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />
</service>
</services>
<bindings>
<wsHttpBinding>
<binding name="wsHttpEndpointBinding">
<security mode="Transport">
<message clientCredentialType="None"/>
</security>
</binding>
</wsHttpBinding>
</bindings>
<behaviors>
<serviceBehaviors>
<behavior name="ServiceReference1.ServizioJavaCertClientBehavior">
<serviceMetadata httpsGetEnabled="true"/>
<serviceDebug includeExceptionDetailInFaults="false"/>
<serviceCredentials>
<clientCertificate>
<authentication certificateValidationMode="PeerOrChainTrust" revocationMode="NoCheck"/>
</clientCertificate>
</serviceCredentials>
</behavior>
</serviceBehaviors>
</behaviors>
<client>
<endpoint address="https://xxxxx" binding="wsHttpBinding"
contract="ServiceReference1.ServizioJavaCertClient" >
<identity>
<dns value="" />
</identity>
</endpoint>
</client>
</system.serviceModel>