I am using PHP 5 SoapClient class to define a SOAP client pointing to the MethodAPI service. I do this with
          $client = new SoapClient("https://www.methodintegration.com/MethodAPI/service.asmx?wsdl");
My first test is attempting to retreive a table list using MethodTableList.  The PHP code I used is
          $rsXML = $client->MethodAPITableList($company, $user, $password, $returnedXML);
The response returned ($rsXML->MethodAPITableListResult) is the error message,
          "Object reference not set to an instance of an object."
The two lines of code are fairly straightforward and I can't see what is causing the error. Can someone tell me what caused that error?  Is it the $returnedXML string variable?