title: How do I pass null to a nullable parameter of a ASP.NET web service method via javascript
body: <p>Given the following ASP.NET code:</p>
  
  <pre><code>[System.Web.Script.Services.ScriptService]
  public class Quotes : System.Web.Services.WebService
  {
      [WebMethod]
      public void Calculate(int param1, int? param2)
      {
  </code></pre>
  
  <p>etc..  How can I pass a null value to param2?  If I don't pass the parameter at all, or I pass undefined, my error handler fires with <code>"Invalid web service call, missing value for parameter: 'param2'</code>".</p>