Hi All
I am using xmlbeans to fetch data. I have created the xsd of how the data we need. The sender application sends us the xml adhering to the specified xsd.
Now I need to send data to another application. I am planning to use xmlbeans here. The external app has specified the xsd according to which we have to send the xml.
I have scratched XMLBeans a bit & know the
java file which xmlbeans implicitly creates from the xsd has the specified setter methods.
So i can invoke these setter methods & create an xml file from xmlbeans.
Since the resultset which I am gonna fetch will be huge. I will have to do something like xmlbeans.setXXElement(resultset.get()).
What I want to acheive is there someway where I can map the columns of the fetched resultset with the XMLBeans methods.
Is there someway I can make use of the column names or resultsetmeta data & match with the xml tags
Regards