title: PageMethods.set_path does not work in urlrewriting
body: <p>I have a test web application that calls a single PageMethod via Javascript function. </p>
  
  <pre><code>PageMethods.myMethod(params, onSuccess, onFailed);
  </code></pre>
  
  <p>When i use urlRewriting it doesn't work anymore. So, i searched web and i found this to add to js file.</p>
  
  <pre><code>Pagemethods.set_path("/the_real_path.aspx");
  </code></pre>
  
  <p>However this does not work. It gives an 404 not found error when i looked web developer tool in chrome with F12. </p>
  
  <p>Is there any advice you can give ? Any help would appreciated</p>
  
  <p>Below are done.</p>
  
  <pre><code>-ScriptManager EnablePageMethods = True
  -Method is public and shared(static)
  -Method is decorated with &lt;WebMethod(True)&gt;
  </code></pre>