Hi all,
I had to generate webservices from WSDL and I used Eclipse to do so (New -> Webservices -> Top-bottom, etc)
So far the generated code is good except for one thing: the arrays are not working as expected because the array tag is the same as the one given for the elements in the array.
This example will show you clearly what's going on:
A part of my WSDL where I have an array called "Transmisiones" whose elements should be tagged as "TransmisionDatos":
What I expected it to generate (an array Transmisiones with N embedded TransmisionDatos elements):
What it actually generates (response received using SoapUI for
testing):
As you can see, surprisingly the tag for the array Transmisiones is the same as for the elements of the array.
I've been playing with the WSDL for days but I couldn't get the tool to generate code that uses a different tag for the array and its elements.
This code is useless because the program that is calling my WS expects a response with correctly build arrays.
Do I have to change the WSDL or any other thing? I'm going crazy over this, any help will be greatly appreciated
. Cheers.