I spend hours and hours on it and just can't make it work. Perhaps my understanding of hosting the WCF service and creating a client for it is wrong.
A WCF service has been added to my website with the following configuration ...
<system.serviceModel>
<bindings>
<wsHttpBinding>
<binding name="Binding1">
<security mode="None">
<transport clientCredentialType="None" />
<message establishSecurityContext="false" />
</security>
</binding>
</wsHttpBinding>
</bindings>
<behaviors>
<serviceBehaviors>
<behavior name="MyWCFWebApp.Service1Behavior">
<serviceMetadata httpGetEnabled="true"/>
<serviceDebug includeExceptionDetailInFaults="false"/>
</behavior>
</serviceBehaviors>
</behaviors>
<services>
<service behaviorConfiguration="MyWCFWebApp.Service1Behavior" name="MyWCFWebApp.Service1">
<endpoint address="" binding="wsHttpBinding" contract="MyWCFWebApp.IService1" bindingConfiguration="Binding1">
</endpoint>
<endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/>
</service>
</services>
</system.serviceModel>
When I launch the website through Visual Studio using the build on the web server, I can access the web service through http: // localhost: 9988 / Service1.svc
but...
When placing a website through the cassiniDev server, binding to ip and host name, I can access the wcf service through http: // localhost: 9988 / Service1.svc , but as soon as I try to access the wcf service using ip or hostname http://10.111.202.73:9988/Service1.svc , it returns the following error:
" " http://10.111.202.73:9988/Service1.svc ". IIS WAS.
, . ?