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:
I am using JDK 1.3.
Thanks for reading my post.
posted 7 years ago
if you're just starting Web Services, I would highly suggest that you use Axis2's most recent release instead of going backwards to Axis(1).