For help, WebService, written in PHP and Susoap Java, always appears soap:Server:Fault occurred while processing.
Reply to discussion (solution)
This is the Code section.
Require_once ("lib/nusoap.php");
$client = new SoapClient (' http://sdata.et361.com/Service/shutDownPolicyService?wsdl ', ' WSDL ');
$userName = ' userName ';
$key = ' key ';
$airway = ";
$orgcity = ";
$destcity = ";
$type = "1";
$sign = MD5 ($userName. $key $airway. $orgcity. $destcity. $type);
$arr = Array (' userName ' = = $userName, ' key ' = = $key, ' airway ' = $airway, ' destcity ' + $destcity, ' orgcity ' = > $orgcity, ' type ' and ' $type ', ' sign ' + $sign, ' param1 ' + ' ', ' param2 ' = ' ', ', ' param3 ' + ', ' param4 ' = ' , ' param5 ' and ' = ');
try{
$shutDownPolicyRequest = $client->call ("Shutdowncachepolicy", $arr);
echo "
";
if (! $client->geterror ()) {
Var_dump ($shutDownPolicyRequest);
}
else{
echo $client->geterror ();
}
}catch (SoapFault $e) {
echo $e->getmessage ();
}
Self-addressed,,,