title: Call Web Service .asmx using $.get jquery
body: <p>I need to call a simple method from a WfService.asmx file,using $.get().</p>
  
  <p>It works fine with POST method.Here's the Method:</p>
  
  <pre><code> [WebMethod]
   public int Sum()
   {
    return 10 + 10;
   }
  </code></pre>
  
  <p>Now code using Jquery:</p>
  
  <blockquote>
  <pre><code>$.get('WfService.asmx/Soma',function(data){
  alert(data.d);},"json");
  </code></pre>
  </blockquote>
  
  <p>And i get a error message.
  What am i doing wrong?</p>