Jquery proxy.invoke

Jquery proxy.invoke

I have been using west wing's ww.jquery.js proxies to make calls to our .asmx. So far the basic premise works:

var parameters = new Object;
    parameters.hi = "Hello";
      proxy.invoke("getHello", parameters,
            function(searchResults) {...blah blah

The asmx call:

[ScriptMethod(ResponseFormat = ResponseFormat.Json)]
    [WebMethod(EnableSession = true)]
    public string getHello(string hi)
    {
            return "hello";....

This works just fine..however, I don't want to pass a paramter at all - so in the following code:

      proxy.invoke("getHello", null,
            function(searchResults) {...blah blah


ScriptMethod(ResponseFormat = ResponseFormat.Json)]
    [WebMethod(EnableSession = true)]
    public string getHello()
    {
            return "hello";....

In place of where the paramter is defined in the jquery call, I subsituted the word null (and false) but in both instances, I got an exception error. The problem lines in making a call without a paramter.

Am I missing something?

thanks!