RE: [PEAR] SOAP 0.8.1 -> 0.9.1
| From: | Rob Agar | Date: | Fri, 16 Sep 2005 02:19:46 +0000 |
| Subject: | RE: [PEAR] SOAP 0.8.1 -> 0.9.1 | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-21000@lists.php.net to get a copy of this message | ||
> hi all,
>
> I have just upgraded PEAR::Soap from 0.8.1 to 0.9.1, and it's
> broken my
> client code :(
>
> The error is "No Deserializer found to deserialize a ':username' using
> encoding style 'null'. [java.lang.IllegalArgumentException]".
> "username" is a simple string, so the server shouldn't have
> any problem.
>
> Anyone know what changed between 0.8.1 and 0.9.1, or how I can fix it?
>
> cheers,
> Rob Agar
I guess some sample code might help...
require_once 'SOAP/Client.php';
$wsdl = '[wsdl url]';
$client = new SOAP_Client($wsdl, true);
$params = array('username' => '[username]', 'passwd' =>
'[password]');
$result = $client->call('authenticate_login', $params);