Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>My hunch is that the service endpoint is not being created successfully.</p> <p>In the service "name" attribute you are not including the FQN (Fully Qualified Name) of the service type. Secondarily, in the endpoint "contract" attribute you are also not including the FQN to the contract type. </p> <p>On the other hand, this MAY be a port issue. In order to be sure, try running the WcfTestClient.exe that is included in the Visual Studio 2008 distribution. If you can connect to <a href="http://localhost:49268/TestREST/webapi/services/greeter/mex" rel="nofollow noreferrer">http://localhost:49268/TestREST/webapi/services/greeter/mex</a>, then you know it is not a port issue. </p> <p>Supposing that you can connect via MEX, then try exercising some of the methods, which would presumably be mapped to <a href="http://localhost:49268/TestREST/webapi/services/greeter" rel="nofollow noreferrer">http://localhost:49268/TestREST/webapi/services/greeter</a>.</p> <p>If you are operating on server, see some valuable details about HttpCfg.exe here: <a href="https://stackoverflow.com/questions/530286/wcf-servicehost-basichttpbinding-503-error/530474#530474">WCF ServiceHost basicHttpBinding 503 error</a></p> <p>If you need more details on WcfTestClient, look for them here: <a href="https://stackoverflow.com/questions/484717/error-externally-testing-wcf-udp-custom-transport-channel-sample-from-the-windows">Is it possible to make the WcfTestClient work for custom transport channels?</a></p> <p><strong>Just In Case:</strong> copy the sample verbatim and verify that it works as defined, including the config file, before making the slightest deviation from it.</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