Hello every one.
Do we have any tools to copy objects form one xml(schema based) to another xml(schema based)
To be in detials here is what I want
1. My webservice get request from abc.xml which is validated against schema1.xsd
2. this abc.xml should be converted to
Java objects
3. and copied to object structure defined in schema2.xsd so that def.xml will be generated and sent to another webservice as request.
Here the catch is that the object structure of schema1.xsd is not exactly the same of schema2.xsd there will be some objects/elements structured different levels in these schemas.
As of now we are using JAXB conversion and writing java code to copy objects from abc1.xml structure to objects of schema2.xsd
But I am trying to find if there are any tools where in we can provide mapping and the tool can take care of copying values from one schema type to another.
Thanks !