RE: [SOAP] SOAP Client call method and php4.2.2
| From: | Mike Carter | Date: | Wed, 18 Feb 2004 08:57:38 +0000 |
| Subject: | RE: [SOAP] SOAP Client call method and php4.2.2 | ||
| References: | 1 | Groups: | php.soap |
| Request: | Send a blank email to php-soap+get-1370@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: Al Baker [mailto:ajb732@comcast.net]
>
> Quick question: I'm running PHP 4.2.2 and when I invoke the
> SOAP_Client::call method, it says I can't pass by reference
> for argument
> 2.
>
> This a php4.2.2 issue or a bug in PEAR SOAP?
Not sure on version differences but I had this problem when upgrading my
PEAR::SOAP package and using proxy code I had generated and saved as a PHP
script for subclassing. All I needed to do was add '$v =' infront of
parameter 2 in all call() methods. The SOAP generateproxy method does this
for you too.
Regards,
Mike C.
________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs Email
Security System. For more information on a proactive email security
service working around the clock, around the globe, visit
http://www.messagelabs.com
________________________________________________________________________