RE: [castor-dev] Common way to unmarshall using mapping and binding files

2008-05-23 Thread Jayaraman, Kannan
e: [castor-dev] Common way to unmarshall using mapping and binding files Hi again, Jayaraman, Kannan wrote: > Werner, > Thanks for your response, I agree, however, it is the API (after the > fact that those descriptors are generated either ways, using a mapping > or a binding file), whi

Re: [castor-dev] Common way to unmarshall using mapping and binding files

2008-05-23 Thread Werner Guttmann
; at > com.citi.test.CastorTest.getCreditBureauData(CastorTest.java:86) > at com.citi.test.CastorTest.main(CastorTest.java:47) > > > -Original Message- > From: Werner Guttmann [mailto:[EMAIL PROTECTED] > Sent: Thursday, May 22, 2008 3:28 PM > To: dev@castor.codehaus.or

RE: [castor-dev] Common way to unmarshall using mapping and binding files

2008-05-22 Thread Jayaraman, Kannan
Original Message- From: Werner Guttmann [mailto:[EMAIL PROTECTED] Sent: Thursday, May 22, 2008 3:28 PM To: dev@castor.codehaus.org Cc: [EMAIL PROTECTED] Subject: Re: [castor-dev] Common way to unmarshall using mapping and binding files Hi, just to add a bit more clarity before trying to a

Re: [castor-dev] Common way to unmarshall using mapping and binding files

2008-05-22 Thread Werner Guttmann
Hi, just to add a bit more clarity before trying to address your question. When you use the Castor XML code generator to generate Java source files from an XML schema, you'll see that an additional set of classes will be generated, i.e. the descriptor classes. It's those files that completely rep

[castor-dev] Common way to unmarshall using mapping and binding files

2008-05-22 Thread Jayaraman, Kannan
Is there a common way to marshall and unmarshall (Java to XML and vice-versa), using either binding or mapping files created with Castor source generator. I've it working using the following 2 different API calls (one for binding vs another for mapping)), but I'm looking to have one single way