Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Arrays and web services

bonob
Level 1
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
bonob
Level 1
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