Fix NullPointerException

An npe was being thrown when receiving requests on a WebMethod taking no
parameters. The fix is as simple as checking against a null parameter
list.