Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

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
  • 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 !
 
rubbery bacon. rubbery tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic