array parameters handling

pastk - May 23, 2008 - 21:02
Project:SOAP Server
Version:5.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:needs review
Description

See the patch to enable array type parameters handling (node.load 'fields' parameter for example).
I think the only reason it didn't work was nusoap's case-sensitive type matching.
This is the nusoap's code excerpt responsible for it:

if ($uqType == 'Array') {

// JBoss/Axis does this sometimes

return $this->serialize_val($value, $name, false, false, false, false, $use);

}

So the patch just transforms all 'array' type entries to 'Array'.

AttachmentSize
soap_server.module-array_params.patch1.33 KB
 
 

Drupal is a registered trademark of Dries Buytaert.