REST-SOAP-REST handling complex objects

Not applicable

I have a WSDL that contain a complex structuree, keep my example simple, lets call it a list of students.

in json structure it would look like this: myObject:{id:ff, students:[{id:xx, name:yy}{id:aa, name:bb}...]}

After deploying my WSDL, i noticed that the id field repeated 3x, and the name field repeated twice. but there is no distinguishing between the fields, and not sure how they are being map to the WSDL.

1 4 642
4 REPLIES 4

Not applicable

Here is my example: https://webservices.projectinsight.net/projectandt...

The WSDL is: https://webservices.projectinsight.net/projectandt...

If you look at that example guid is part of a complex object, and defined twice, and in the deployed REST proxy, it just expect 2 guid parameter but doesn't distinguish between which complex object each of the guid belongs to. How can I fix this?

Not applicable

Hi Churk,

Same answer as I did to your previous question :). Would be willing to share the WSDL. There are just so many variations of WSDL files that it's hard to know all the cases. But if we can take a look at them, we should be able to figure out what is going on (and fix any bugs, if there are any).

Thanks,

Charles

Sorry, I totally missed you comment the first time around. I'll take a look.