I just started learning web services. I have downloaded Axis 1.4 jars. I made the WSDL with some googling and was able to generate stubs and objects using WSDL2Java.
My problem is in the client. I am supposed to get back an object containing another object which in turn contains an array of strings. I am able to get back only the last string in the client- length of array is getting reduced to only one on client. However I am able to see that the web service is returning more than one string. I am using tcpmon to see the request and response. They are as desired. There are no error messages on the console. Everything seems normal except that I am losing information on the client, which I think is related to Serialization. Can anyone point me to the right direction.
Here is the wsdl types:
I am using document/literal and I need to get back XML in the following way in the soap response: