Re: PHP and curl
| From: | Shawn McKenzie | Date: | Wed, 25 Sep 2013 15:24:32 +0000 |
| Subject: | Re: PHP and curl | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-322181@lists.php.net to get a copy of this message | ||
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@stockton.co.za> 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
----------------------