Hi,
I have a created a webserivce using nuSOAP. Expected result from this webservice is an Array, which should be something like this
Expected Response
Array
(
[Total] => 12
[XYListType] => Array
(
[Type] => Some String
[AType] => Array
(
[subAType] => Array
(
[A] => 1
[B] => 2
[C] => 3
[D] => 4
[E] => 5
[F] => 6
)
)
)
)
|
Current Response
Array
(
[Total] => 12
[XYListType] => Array
(
[color=red][0] [/color]=> Some String
[color=red] [1][/color] => Array
(
[subAType] => Array
(
[A] => 1
[B] => 2
[C] => 3
[D] => 4
[E] => 5
[F] => 6
)
)
)
)
|
All the complex types are struct except XYListType, which is an array. Now my problem is that when I change XYListType to struct then it doesn't display correct output, It display something like this
Incorrect Output
Array
(
[Total] => 12
[XYListType] => Array
(
[0] => Some String
[color=red][1] => [/color]
)
)
See the red line, after that it doesn;t return anything !!?
What wrong am I doing? Please guide me.
Regards,
Dave |
[/b]