• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

Axis 1.4 -Serialization of array of Strings

 
Ranch Hand
Posts: 114
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 don't always make ads but when I do they're tiny
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic