ZF-11851: No support for associated arrays

Description

Zend_Soap_Client running as SOAP_1_1 does not accept associated arrays

$client = Zend_Soap_Client(.., array('soap_version' => SOAP_1_1)); $client->someMethod(array('foo' => 'bar', 'bar' => 1));

Does not work because of the use of __call(), the argument will be passed to __soapCall as a numeric array containing the associated array as first element.

This a deviation from SoapClient general usage, so if not fixed, it should be documented.

$soapclient = $client->getSoapClient(); $soapclient->__soapCall('someMethod', array('foo' => 'bar', 'bar' => 1));

works fine

Comments

No comments to display