T
T
Torna2015-07-13 02:14:32
PHP
Torna, 2015-07-13 02:14:32

How to correctly escape or convert special characters in (object)array() when calling __soapCall()?

"SubjectList" => (object) array (
 "Subject SbjKey=\"1\"" =>  array(
"SbjType" => "New"),									),

$TariffResponce = $client->__soapCall("GetTariff", array($GetTariffRequest));

in response, Uncaught SoapFault exception: [a:InternalServiceFault] Error in deserializing body of request message for operation 'GetTariff'.
without a space or an equals sign, the request passes.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question