Little help with Ajax Calls and passing parameters

Little help with Ajax Calls and passing parameters

Hi all,
Working on a web site (intranet, with integration windows security turned on) and am having trouble using the jquery ajax calls. The strange thing is is that if I call a server method with no input parameters the call works. As soon as I add an input parameter to the server method I get a "Request Timeout" Error.

Here is the jquery code:
$.ajax({
type: "POST",
url: "http://localhost/AjaxServices/endpoints/ratings.aspx/testMethod",
data:'{"test":"Testing Input Parameter"}',
contentType: "application/json; charset=utf-8",
dataType: "json",
success: function(result) {
alert("success");
},
error: function(request,error) {
if (error = "timeout") {
alert('The request timed out, please resubmit');
} else { alert("ERROR: " + error); }
}
});


Here is the simple ASP.NET method:
[System.Web.Services.WebMethod(true)]
public static string testMethod(string test)
{
return test;
}

any thoughts?

Thanks very much in advance!

PS. if I test this on a machine that has annonomous access this call works fine. Is there something extra I have to do to make jquery work with integrated windows security?