Note that there are some explanatory texts on larger screens.

plurals
  1. POTrouble with endpoints of my wcf
    text
    copied!<p><strong>My WCF service web.config.</strong></p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;configuration&gt; &lt;connectionStrings&gt; &lt;add name="ZesdaagseResultsContext" connectionString="Data Source=194.33.112.88\partywhere;Initial Catalog=ZesdaagseResults;Persist Security Info=True;User ID=*********;Password=******************/;MultipleActiveResultSets=True" providerName="System.Data.SqlClient" /&gt; &lt;/connectionStrings&gt; &lt;system.serviceModel&gt; &lt;services&gt; &lt;service name="WcfOpzet.MobileService" behaviorConfiguration="MexBehavior"&gt; &lt;endpoint binding="webHttpBinding" contract="WcfOpzet.IMobileService" behaviorConfiguration="webHttpBehavior" /&gt; &lt;endpoint contract="IMetadataExchange" binding="mexHttpBinding" address="mex" /&gt; &lt;/service&gt; &lt;/services&gt; &lt;behaviors&gt; &lt;serviceBehaviors&gt; &lt;behavior name="MexBehavior"&gt; &lt;serviceMetadata httpGetEnabled="true" /&gt; &lt;/behavior&gt; &lt;/serviceBehaviors&gt; &lt;endpointBehaviors&gt; &lt;behavior name="webHttpBehavior"&gt; &lt;webHttp /&gt; &lt;/behavior&gt; &lt;/endpointBehaviors&gt; &lt;/behaviors&gt; &lt;/system.serviceModel&gt; &lt;startup&gt; &lt;supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0" /&gt; &lt;/startup&gt; &lt;system.web&gt; &lt;compilation debug="true" /&gt; &lt;/system.web&gt; &lt;/configuration&gt; </code></pre> <p><strong>My wcf client MobileServiceReference.ClientConfig.</strong></p> <pre><code>&lt;configuration&gt; &lt;system.serviceModel&gt; &lt;bindings&gt; &lt;basicHttpBinding&gt; &lt;binding name="webHttpBinding" maxBufferSize="2147483647" maxReceivedMessageSize="2147483647"&gt; &lt;security mode="None" /&gt; &lt;/binding&gt; &lt;/basicHttpBinding&gt; &lt;/bindings&gt; &lt;client&gt; &lt;endpoint address="http://zesdaagse.mobi-app.be/WCFUrl/MobileService.svc" binding="basicHttpBinding" bindingConfiguration="webHttpBinding" contract="MobileService.IMobileService" name="webHttpBinding" /&gt; &lt;/client&gt; &lt;!--&lt;behaviors&gt; &lt;endpointBehaviors&gt; &lt;behavior name="webHttpBehavior"&gt; &lt;webHttp/&gt; &lt;/behavior&gt; &lt;/endpointBehaviors&gt; &lt;/behaviors&gt;--&gt; &lt;/system.serviceModel&gt; &lt;/configuration&gt; </code></pre> <p><strong>My Error when I run my Windows Phone Application.</strong></p> <p>There was no endpoint listening at <a href="http://zesdaagse.mobi-app.be/WCFUrl/MobileService.svc" rel="nofollow">http://zesdaagse.mobi-app.be/WCFUrl/MobileService.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> <p><strong>Explanation</strong></p> <p>I searched but I don't get it fixed. There is something wrong with my endpoints but I don't know what.</p>
 

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