Send complex data via web service : discards parts of complex object sent
Hi,
I have to send an object to the server via a web service. The object A (say) that is being sent has a lot of properties. Now A has an array collection of objects of type B which in turn has an array collection of type C and so on..
The problem is some of the data is not a part of the xml data sent out.
I have included the snapshots of the data given to the web service and data sent out as seen in the network monitor below.
| Object sent to the web service | xml data sent out as seen in the request body in the Network monitor |
|---|---|
![]() | ![]() |
| The object in red rectangle above is of type "Slide" which has an object "caption" of type Caption and other simple properties like slideId (int), slideNumber(int) and storyBoardId(int). | The object in the red rectangle is the xml data of "Slide" corresponding to the object in the red rectangle in the image to the left. Notice that the entire object "caption" has been dropped while the simple properties have been represented. |
I am stuck and cant find a solution to this issue or a work around
any pointers would be really helpful.
thanks in advance


