Problem Trying to Connect
| From: | Esteban Fernández | Date: | Thu, 01 Jan 1970 00:00:00 +0000 |
| Subject: | Problem Trying to Connect | ||
| Groups: | php.soap | ||
| Request: | Send a blank email to php-soap+get-2334@lists.php.net to get a copy of this message | ||
Hi all,
I'm using NuSOAP to try to connect to this WS:
<?php
$wsdl="http://www1.ccni.cl/WS_CT/services/WsCt/wsdl/WsCt.wsdl";
$client=new soapclient($wsdl, 'wsdl');
//$param=array('int1'=>'15.00', 'int2'=>'10');
$params = array(
'LoginCode' => "SQM",
'Cargos' => array ("Cargo" => "ITGOA18435")
);
$result = $client->call('doWork', $params);
print_r($result);
?>
But it return the follow error:
Array (
[faultcode] => Server.generalException
[faultstring] => java.lang.NullPointerException
[detail] =>
)
And I can't connect. I try to connect from website's like: http://www.mindreef.net/ and it work perfect.
Any help to solve this issue, will be very nice. Thanks in advanced.
--
Esteban