• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

AXIS web service returnig an array of custom objects

 
Ranch Hand
Posts: 138
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic