Keep on list. $result = $client->GetSequenceNo( "CIS" ); shouldn't be throwing that error. Maybe you are trying to do something with $result afterwards? Try var_dump($result); On Wed, Sep 25, 2013 at 10:12 AM, Alf Stockton <alf@xxxxxxxxxxxxxx> wrote: > > On 25/09/13 16:52, Shawn McKenzie wrote: > > $client->GetSequenceNo( $parameters ); > > That unfortunately returns > > alf@alf-ThinkPad-T500:~/Development/PHP/DevIt$ php > php-soap-web-service.php > test.txt > PHP Catchable fatal error: Object of class stdClass could not be > converted to string in > /home/alf/Development/PHP/DevIt/php-soap-web-service.php on line 7 > > No matter if I use > $result = $client->GetSequenceNo( "CIS" ); > or > $result = $client->GetSequenceNo($strTerminalname); > > > > > -- > > Regards, > Alf Stockton www.stockton.co.za > > -- ---------------------- Thanks! -Shawn ----------------------