NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
returned results


Joined: 21 Apr 2008
Posts: 10
Reply with quote
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
Code:

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
Code:

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
Code:

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]
View user's profileFind all posts by naimish_hitSend private message
returned results
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic