Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p><a href="http://www.codeproject.com/Articles/38999/Consuming-ASP-net-WebServices-WCF-Services-and-sta.aspx" rel="nofollow noreferrer">Consuming ASP.net WebServices, WCF Services and static Page methods from JavaScript (sans MS AJAX)</a></p> <p>For webHttp and client script, a mex binding is not useful. drop it for now.</p> <p>The identity may be causing you some grief, drop it for now.</p> <p>You have HelloWorld as your address, in order to call the HelloWorld method on your service you would need to call <a href="http://localhost:8282/Test/TestService.svc/HelloWorld/HelloWorld" rel="nofollow noreferrer">http://localhost:8282/Test/TestService.svc/HelloWorld/HelloWorld</a>. drop it.</p> <pre><code>&lt;services&gt; &lt;service name="radMLRPC.Test.TestService" behaviorConfiguration="radMLRPC.Test.TestServiceBehavior" &lt;endpoint address="" binding="webHttpBinding" contract="radMLRPC.Test.ITestService"/&gt; &lt;/service&gt; &lt;/services&gt; &lt;behaviors&gt; &lt;serviceBehaviors&gt; &lt;behavior name="radMLRPC.Test.TestServiceBehavior"&gt; &lt;serviceMetadata httpGetEnabled="true"/&gt; &lt;serviceDebug includeExceptionDetailInFaults="true"/&gt; &lt;/behavior&gt; &lt;/serviceBehaviors&gt; &lt;/behaviors&gt; </code></pre> <p>Now that <em>may</em> not get you all the way there but will give us a better starting point. I am willing to help you resolve this.</p> <p>Compare what we have now with the <em>working</em> example shown in the linked article</p> <pre><code>&lt;system.serviceModel&gt; &lt;behaviors&gt; &lt;endpointBehaviors&gt; &lt;behavior name="AjaxEndpointBehavior"&gt; &lt;enableWebScript /&gt; &lt;/behavior&gt; &lt;/endpointBehaviors&gt; &lt;serviceBehaviors&gt; &lt;behavior name="ClientScriptServices.Service1Behavior"&gt; &lt;serviceMetadata httpGetEnabled="true" /&gt; &lt;serviceDebug includeExceptionDetailInFaults="true" /&gt; &lt;/behavior&gt; &lt;/serviceBehaviors&gt; &lt;/behaviors&gt; &lt;services&gt; &lt;service behaviorConfiguration="ClientScriptServices.Service1Behavior" name="ClientScriptServices.Service1"&gt; &lt;endpoint behaviorConfiguration="AjaxEndpointBehavior" binding="webHttpBinding" contract="ClientScriptServices.Service1" /&gt; &lt;/service&gt; &lt;/services&gt; &lt;/system.serviceModel&gt; </code></pre> <p>And see if we can get your config shaped similarly and we can cover some finer points of tuning your input and output formats.</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