title: ASP.NET jQuery error: Unknown Web Method
body: <p>This is my first time attempting to call an ASP.NET page method from jQuery. I am getting a status 500 error with the responseText message that the web method cannot be found. Here is my jQuery $.ajax call:</p>
  
  <pre><code>function callCancelPlan(activePlanId, ntLogin) {
      var paramList = '{"activePlanId":"' + activePlanId + '","ntLogin":"' + ntLogin + '"}';
      $.ajax({
          type: "POST",
          url: "ArpWorkItem.aspx/CancelPlan",
          data: paramList,
          contentType: "application/json; charset=utf-8",
          dataType: "json",
          success: function() {
              alert("success");
          },
          error: function(xml,textStatus,errorThrown) {
              alert(xml.status + "||" + xml.responseText);
          }
      });
  }
  </code></pre>
  
  <p>And here is the page method I am trying to call:</p>
  
  <pre><code>[WebMethod()]
  private static void CancelPlan(int activePlanId, string ntLogin)
  {
      StrategyRetrievalPresenter presenter = new StrategyRetrievalPresenter();
      presenter.CancelExistingPlan(offer, ntLogin);            
  }
  </code></pre>
  
  <p>I have tried this by decorating the Web Method with and without the parens'()'. Anyone have an idea?</p>