Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

AXIS web service returnig an array of custom objects

Ranadhir Nag
Ranch Hand
Posts: 138
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a Stock ,which contains and array of Quotes.
I am trying to pass an array of such stocks to the client from a Axis 1.4 built webservice.
Here are the relevant snippets from the xsd,wsdl and implementation files:

I get an exception:
org.xml.sax.SAXParseException: Element type "Stock" must be followed by
either attribute specifications, ">" or "/>".

However,a String array is marshalled just fine.
Is there something I am missing - help is appreciated
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic