title: 404 not found when accessing JSON WCF Service with jQuery
body: <p>I have a WCF service hosted in IIS which seems to be running fine but am unable to access it through jQuery on the client side.</p>
  
  <p>My site structure is like this - </p>
  
  <pre><code>localhost:9080/Website 
  localhost:9080/WCFService
  </code></pre>
  
  <p>I've set the anonymous authentication user id to that of the AppPool identity. </p>
  
  <p>When I try to access a GET method from the browser, it returns the JSON data just fine. But when I try to access the same method from the client using jQuery $.ajax() the server returns a 404 error.</p>
  
  <p>The URL of the WCF method is </p>
  
  <pre><code>localhost:9080/WCFService/Service.svc/SimpleMethod
  </code></pre>
  
  <p>The signature of the method is </p>
  
  <pre><code>string SimpleMethod()
  </code></pre>
  
  <p>I've already tried looking articles online and I don't think the <code>web.config</code> is any different. It looks like a permissions thing to me. </p>
  
  <p>Can anyone shed any light on this issue?</p>
  
  <p>-Thanks!</p>