How to Ignore or Check "SOAP-ERROR: Encoding: Violation of Encoding Rules" in PHP
Hello i am making a soap call in my php application
$options = array(
'soap_version' => SOAP_1_1,
'exceptions' => true,
'trace' => 1,
'cache_wsdl' => WSDL_CACHE_NONE,
'local_cert' => 'my.key',
);
$client = new SoapClient('http://domain.com/my.wsdl', $options);
var_dump($client->functionName($args));
which results in an exception
SOAP-ERROR: Encoding: Violation of encoding rules
I think the problem is with server-respnse, because
$client->__getLastResponse()
contains a nice server answer, as per other questions, there is probably a value type mismatch.
Is it possible to find out what value is causing this error, or is it possible to disable this check?
+3
source to share
No one has answered this question yet
See similar questions:
or similar: