title: Invalid web service call, missing value for parameter, but I'm including it in the call
body: <p>I'm totally puzzeled. I have a WebMethod that I want to call from javascript. Simple enough, with jQuery, I've done this before. Yet this time, I get an error stating I didn't provide the argument for the WebMethod. But in my opinion, I am.</p>
  
  <p>I have this in my aspx code-behind:</p>
  
  <pre><code>&lt;WebMethod(True)&gt; _
  &lt;ScriptMethod(UseHttpGet:=True)&gt; _
  Public Shared Function GetTimes(ByVal input as String) As Object()
      Dim result As New List(Of Object)
      result.Add(New With {.Text = "5:30", .Value = "1"})
      result.Add(New With {.Text = "6:00", .Value = "2"})
      result.Add(New With {.Text = "6:30", .Value = "3"})
      result.Add(New With {.Text = "7:00", .Value = "4"})
      Return result.ToArray
  End Function
  </code></pre>
  
  <p>And this in my javascript:</p>
  
  <pre><code>$.ajax({
          url: 'ThePage.aspx/GetTimes',
          contentType: "application/json; charset=utf-8",
          data: '{"input":"test"}',
          dataType: 'json',
          succes: function (result) {
              alert('yep');
          },
          error: function (request, errorType, obj) {
              alert('nope');
          }
      });
  </code></pre>
  
  <p>Yet I get the following error: </p>
  
  <blockquote>
    <p>Invalid web service call, missing value for parameter: \u0027input\u0027.</p>
  </blockquote>
  
  <p>The StackTrace included is:</p>
  
  <blockquote>
    <p>at System.Web.Script.Services.WebServiceMethodData.CallMethod(Object target, IDictionary'2 parameters)
    at System.Web.Script.Services.WebServiceMethodData.CallMethodFromRawParams(Object target, IDictionary'2 parameters)
    at System.Web.Script.Services.RestHandler.InvokeMethod(HttpContext context, WebServiceMethodData methodData, IDictionary`2 rawParams)
    at System.Web.Script.Services.RestHandler.ExecuteWebServiceCall(HttpContext context, WebServiceMethodData methodData)</p>
    
    <p>ExceptionType: System.InvalidOperationException</p>
  </blockquote>
  
  <p>Anyone seen this before?</p>