aspose file tools
The moose likes Web Services and the fly likes JAXB - generating XML schema problem Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Web Services
Reply Bookmark "JAXB - generating XML schema problem" Watch "JAXB - generating XML schema problem" New topic
Author

JAXB - generating XML schema problem

Dave Jones
Ranch Hand

Joined: Feb 20, 2005
Posts: 77
Hello all
I have some java code (and interface, it's impl class and another POJO or two) and I use it to create an XML schema. Everything is ok until I have a Class containing a List. for some reason, the schema created does not recognize the List and instead creates a schema containg the object of the list (as if the list doesn't exist)
I think this might be solved using an annotation but nothing I try work.
Can anybody help shed some light ??

Thanks,
Dave
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JAXB - generating XML schema problem
 
Similar Threads
Class Cast exception?
Can JAXB handle Polymorphism
How to pass list in XML/XSD
convert xml to java objects using JAXB
xml schema validation, is it a dream ?