• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

Do we have any tools to copy objects form one xml(schema based) to another xml(schema based)

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 !
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic