Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session

Arrays and web services

Avatar

Level 1
Hi, we're calling a java webservice and are trying to pass
data to it. Everything works except for arrays. When checking the
XML SOAP-ENV:BODY with WireShark we find that the values are not
encapsulated properly. For example if the webservice expects an
array of Strings:

myArray.push("Hello");

myArray.push("World");



will produce :

<strings>Hello</strings>

<strings>World</strings>



instead of sometihng like:

<array>

1 Reply

Avatar

Level 1
ooops I hadn't finished ...



instead of sometihng like:

<array>

<string>Hello</string>

<string>World</string>

</array>



Has anyone ever tried to pass along an Array to a
webservice???



Thanks