Skip to main content

A type to represent a collection of XML elements - how to ?

1 reply [Last post]
Anonymous

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Felipe Gaúcho

Hi there,

I am trying to return a collection of RSS objects from my soap
web-service.... but it seems the structure I created to represent this
collection is not valid:

.... XML reader error: javax.xml.stream.XMLStreamException: ParseError
at [row,col]:[1,93]

to define my type, I used:



maxOccurs="unbounded">
name="rss.collection"
type="rss20:tRss" />


where rss20:tRss is a XML content defined in the rss 2.0 schema ...

my WSDL and my defined types are available here:
https://cejug-classifieds.dev.java.net/source/browse/cejug-classifieds/t...

thanks,

Felipe Gaúcho