Iva
Новичок
Ошибка Soap
Помогите ,пожалуйста, разобраться с ошибкой.
Есть код
Error: : SoapFault Object ( [message
rotected] => Server was unable to process request. ---> Object reference not set to an instance of an object. [string
rivate] => [code
rotected] => 0 [file
rotected] => D:\Apache\UsbWebserver\Phpinfo\chain_1.php [line
rotected] => 19 [trace
rivate] => Array ( [0] => Array ( [function] => __call [class] => SoapClient [type] => -> [args] => Array ( [0] => GetChain [1] => Array ( [0] => Array ( [equipmentNo] => 7253436 [departmentId] => 1096 [zoneId] => 32 [equipmentType] => 9 [connectionType] => 13 ) ) ) ) [1] => Array ( [file] => D:\Apache\UsbWebserver\Phpinfo\chain_1.php [line] => 19 [function] => GetChain [class] => SoapClient [type] => -> [args] => Array ( [0] => Array ( [equipmentNo] => 7253436 [departmentId] => 1096 [zoneId] => 32 [equipmentType] => 9 [connectionType] => 13 ) ) ) ) [faultstring] => Server was unable to process request. ---> Object reference not set to an instance of an object. [faultcode] => soap:Server [detail] => )
Что это все значит?
Заранее всем огромное спасибо!
Помогите ,пожалуйста, разобраться с ошибкой.
Есть код
PHP:
$client = new SoapClient("http://10.36.39.153/rsnetgaindp/ricoserver/InventorySoap.asmx?wsdl");
try { $params=array('equipmentNo'=>'7253436','departmentId'=>1096,'zoneId'=>32,'equipmentType'=>9,'connectionType'=>13);
$result = $client->GetChain($params);
echo "<strong>Data: </strong>:\n";
print_r($result);
} catch (SoapFault $exception) {
echo "<strong>Error: </strong>:\n";
print_r($exception);
}
![Stick Out Tongue :p :p](/talk/styles/default/xenforo/smilies/tongue.png)
![Stick Out Tongue :p :p](/talk/styles/default/xenforo/smilies/tongue.png)
![Stick Out Tongue :p :p](/talk/styles/default/xenforo/smilies/tongue.png)
![Stick Out Tongue :p :p](/talk/styles/default/xenforo/smilies/tongue.png)
![Stick Out Tongue :p :p](/talk/styles/default/xenforo/smilies/tongue.png)
![Stick Out Tongue :p :p](/talk/styles/default/xenforo/smilies/tongue.png)
Что это все значит?
Заранее всем огромное спасибо!