When returning an array of arrays, you may need a different configuration from Oliver. For example, phfunc2php uses this technique in the nusoapcode.class.php file ( https://github.com/sylnsr/pgfunc2php/blob/master/nusoapcode.class.php ). The generated code looks like this:
$server->wsdl->addComplexType( 'ArrayOfArrays','complexType','array','', 'SOAP-ENC:Array', array(), array(array('ref'=>'SOAP-ENC:arrayType','wsdl:arrayType'=>'xsd:string[]')));
and then the functions just have to return "tnsArrayOfArrays:
$server->register( 'sel_signon_id_by_uuid', array('user_uuid' => 'xsd:string'), array('return'=>'tns:ArrayOfArrays'),
The above project can compile working code for you if you want to see it.
Michael mΓΌgge
source share