Hi, I have used the "xjc" tool feeding it 3 XSD files and it generates a list of classes like...
I'm not sure if I'm supposed to be using the ObjectFactory to create all the classes, because I am able to do something like the following. Looking inside the ObjectFactory class it appears to be doing the same thing anyway. So I continue to create classes to build the XML model I want to marshall out.
Towards the end of the code after I have done all the class generation, I have the following block of code but it's giving me the error that follows. Can someone please let me know what I have done wrong? Thanks.