Note that there are some explanatory texts on larger screens.

plurals
  1. POWCF - There was no endpoint listening at http://xxxxx.xxxx/Service1.svc
    primarykey
    data
    text
    <p>When trying to call a function on the WCF Service i getting the error:</p> <pre><code>There was no endpoint listening at http://XXXXXXXXXXX.xxx/Service1.svc that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details. </code></pre> <p>My WCF Service Web.config</p> <pre><code>&lt;system.serviceModel&gt; &lt;services&gt; &lt;service name="Service1" behaviorConfiguration="MyServiceTypeBehaviors"&gt; &lt;endpoint contract="IService1" binding="mexHttpBinding" address="mex" /&gt; &lt;/service&gt; &lt;/services&gt; &lt;behaviors&gt; &lt;serviceBehaviors&gt; &lt;behavior name="MyServiceTypeBehaviors"&gt; &lt;serviceMetadata httpGetEnabled="true"/&gt; &lt;serviceDebug includeExceptionDetailInFaults="true"/&gt; &lt;/behavior&gt; &lt;/serviceBehaviors&gt; &lt;/behaviors&gt; &lt;serviceHostingEnvironment multipleSiteBindingsEnabled="true" /&gt; &lt;/system.serviceModel&gt; </code></pre> <p>WCF Client app.config</p> <pre><code>&lt;system.serviceModel&gt; &lt;bindings&gt; &lt;wsHttpBinding&gt; &lt;binding name="MetadataExchangeHttpBinding_IService1" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00" bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard" maxBufferPoolSize="524288" maxReceivedMessageSize="65536" messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true" allowCookies="false"&gt; &lt;readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384" maxBytesPerRead="4096" maxNameTableCharCount="16384" /&gt; &lt;reliableSession ordered="true" inactivityTimeout="00:10:00" enabled="false" /&gt; &lt;security mode="None"&gt; &lt;transport clientCredentialType="Windows" proxyCredentialType="None" realm="" /&gt; &lt;message clientCredentialType="Windows" negotiateServiceCredential="true" /&gt; &lt;/security&gt; &lt;/binding&gt; &lt;/wsHttpBinding&gt; &lt;/bindings&gt; &lt;client&gt; &lt;endpoint address="http://XXXXXXXXXXX.xxx/Service1.svc" binding="wsHttpBinding" bindingConfiguration="MetadataExchangeHttpBinding_IService1" contract="API.IService1" name="MetadataExchangeHttpBinding_IService1" /&gt; &lt;/client&gt; &lt;/system.serviceModel&gt; </code></pre> <p>I have tried many many settings and configurations but dont getting this to work... do anyone find anything you think i missed?</p> <p>Edit: I am hosting the service on a IIS and using a Winform client </p>
    singulars
    1. This table or related slice is empty.
    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