adarshcu 9 Junior Poster

Hi All,

I've the following scenario which i am not sure can be implemented. I have my Client Side Objects, which have been defined at an earlier stage. Now i need to send the data in the form of XML to the server side who have given me XSD's.

Now the question is, there is an obvious difference(major differences) between the two objects. Is it possible for me to use JAXB XML Binding(xjb) to bind the Client Side Objects to generate the XML as per the XSD's that have been given ?

I want to try and avoid an Assembler/Util class to convert Client objects to the objects generated by XSD's unless that is the only way possible.

If this is possible, can i see a basic sample so that i can implement this across our projects.

Any help would be much appreciated.

Thanks.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.