aspose file tools*
The moose likes Web Services and the fly likes Axis 1.4 -Serialization of array of Strings Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Axis 1.4 -Serialization of array of Strings " Watch "Axis 1.4 -Serialization of array of Strings " New topic
Author

Axis 1.4 -Serialization of array of Strings

A. Dusi
Ranch Hand

Joined: Sep 27, 2004
Posts: 114
Hello everyone!

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.
Sean Connery
Greenhorn

Joined: Feb 20, 2008
Posts: 5
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).
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Axis 1.4 -Serialization of array of Strings
 
Similar Threads
jax-ws clients and jboss
Web Service message level Encryption Decryption through public and private key
Cannot create service instance, service 'x' not found in wsdl
Axis WSDL2Java's Error: reference but not defined
Support string array in wsdl