Joined: 13 Aug 2008 |
Posts: 1 |
|
|
|
Posted: Tue Aug 12, 2008 5:29 am |
|
|
|
|
|
Hi,
I'm trying to return data like so
Array
(
[12458] => Array
(
[0] => brian
)
[14987] => Array
(
[0] => blaj2
[1] => another
)
)
My method is providing this data to the api but when it comes out the other side, my keys are reset like so :
Array
(
[0] => Array
(
[0] => brian
)
[1] => Array
(
[0] => blaj2
[1] => another
)
)
Is their a way to maintain the exact data structure?
My soap type is :
$gbl_SOAPServer->wsdl->addComplexType(
'FriendsFundraisingPagesArray',
'complexType',
'array',
'',
'SOAP-ENC:Array',
array(),
array(
array(
'ref'=>'SOAP-ENC:arrayType',
'wsdl:arrayType'=>'tns:StringArray[]'
)
),
'tns:StringArray'
);
Thanks for any help
Brian
|
|