generating random XMLs from XSDs

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • stormrider
    New Member
    • Jan 2007
    • 11

    generating random XMLs from XSDs

    greetings!

    our system sends and receives big XML data. for testing purposes we'll need sample XMLs filled with random data, with different data formats and enumerations. hence I'm trying to code a generator.

    the schemes consist of a main XSD and four other ones. from these 5 XSDs I was able to populate 28 classes and 12 enumerations with the help of JAXB under Eclipse.

    I just need a main function where I could define the parameters for the generation so that it would output the specific/random XML data for testing. the problem is I don't have much experience with Java to carry on from this point alone.

    what would really be helpful is some instruction or a tutorial for this specific case; or a tool which already has the functions.

    I also found an example about something called Java reflection but couldn't really figure out how to adapt it to my dozens of classes.

    any help is appreciated, thanks in advance.

    cheers!
Working...