Hello
Have a WCF that I can navigate to (browse) and also send in data thru my testprogram to the testserver. Works all the way.
But when the client try it on the exe program it gets a soap error that says there is no endpoint listening ???
The first thing I checked is the webadress int the error message but that is correct.
Does anybody have any ide what this can be ?
Is it a port issue ?
Thanks for any help
THIS IS ON THE SERVER:
<system.serviceModel>
<services>
<service name="W.Content.WService" behaviorConfiguration="W_Behavior">
<endpoint address=""
binding="wsHttpBinding"
bindingConfiguration="wsW_BindingConfig"
contract="W.Content.IWService">
</endpoint></service>
</services>
<bindings>
<wsHttpBinding>
<binding name="wsW_BindingConfig">
<security mode="TransportWithMessageCredential">
<message clientCredentialType="UserName"/>
</security>
</binding>
</wsHttpBinding>
</bindings>
<behaviors>
<serviceBehaviors>
<behavior name="W_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"/>
<serviceCredentials>
<userNameAuthentication userNamePasswordValidationMode="Custom" customUserNamePasswordValidatorType="W.App_Code.Authentication.CustomValidator, W" />
</serviceCredentials>
</behavior>
</serviceBehaviors>
</behaviors>
<protocolMapping>
<add binding="basicHttpsBinding" scheme="https"/>
</protocolMapping>
<serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true"/>
</system.serviceModel>
THIS IS ON THE CLIENT:
<system.serviceModel>
<bindings>
<wsHttpBinding>
<binding name="WSHttpBinding_IWService">
<security mode="TransportWithMessageCredential">
<transport clientCredentialType="None" />
<message clientCredentialType="UserName" />
</security>
</binding>
</wsHttpBinding>
</bindings>
<client>
<endpoint address="https://"correctwebbadress"/content/WService.svc"
binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_IWService"
contract="ServiceReference1.IWService" name="WSHttpBinding_IWService" />
</client>
</system.serviceModel>