Note that there are some explanatory texts on larger screens.

plurals
  1. POWCF + SSL no endpoint found
    primarykey
    data
    text
    <p>I'm figthing for hours now to figure out this problem.</p> <p>I have a wcf service that I host on II7, all works fine when I use the normal http protocol.</p> <p>I added SSL capabilites and since then I cannot access it from code. I can create a client but cannot run any of its methods.</p> <p>here is what I have </p> <pre><code> &lt;system.serviceModel&gt; &lt;bindings&gt; &lt;wsHttpBinding&gt; &lt;binding name="WSHttp0"&gt; &lt;security mode="Transport"&gt; &lt;transport realm ="" clientCredentialType="None" /&gt; &lt;/security&gt; &lt;/binding&gt; &lt;/wsHttpBinding&gt; &lt;/bindings&gt; &lt;client&gt; &lt;endpoint address="https://serverName.domname.local/WCFTest/MyWebServicec.svc" binding="wsHttpBinding" bindingConfiguration="WSHttp0" contract="SSLWebService.IMyWebService" name="WSEP"&gt; &lt;identity&gt; &lt;dns value="serverName.domname.local" /&gt; &lt;/identity&gt; &lt;/endpoint&gt; &lt;/client&gt; &lt;/system.serviceModel&gt; </code></pre> <p>I added a service reference to my project</p> <p>and I use it like that</p> <pre><code>Dim client As MyWebServiceClient = New MyWebServiceClient() Try client.GetDocumentByDocID(5) Catch ex As Exception MessageBox.Show(ex.Message) End Try </code></pre> <p>and here is what I get</p> <blockquote> <p>There was no endpoint listening at <a href="https://serverName.domname.local/WCFTest/MyWebService.svc" rel="nofollow noreferrer">https://serverName.domname.local/WCFTest/MyWebService.svc</a> that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details.</p> </blockquote> <p>Can anyone help me on this? I really do not understand what is going on...</p> <p>note: I can access the webservice correctly using Internet Explorer (so I guess my certificate is ok)</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload