May be, it's rather stupid question, and I do not understand castor architecture, but how can I:
I've got core part of project, which takes xml from client and run unmarshaller for it, using given mapping. Then core does some common functions with resulting object and pass it to module. Module detects type of given object and does different functions for different request objects. Using mapping file Castor unmarshall xml automatic, detecting more appropriate class. Is it possible to do that without mapping? Or mapping serve another function? Werner Guttmann-4 wrote: > > If you start with an XML schema file, I *assume* that you would want to > generate domain objects from the schema, no .. ;-) ? > > Werner > >> -----Original Message----- >> From: Ralf Joachim [mailto:[EMAIL PROTECTED] >> Sent: Mittwoch, 08. November 2006 13:50 >> To: [email protected] >> Subject: Re: [castor-dev] xsd file --> mapping file >> >> Because you have an already existent class hierarchy. >> >> Werner Guttmann schrieb: >> > Why would you want to create a mapping file, when Castor XML's code >> > generator creates domain classes and *descriptor classes >> for you (that >> > basically hold the same information as a manually provided mapping >> > would >> > do) ? >> > >> > Werner >> > >> > >> >>-----Original Message----- >> >>From: omikron [mailto:[EMAIL PROTECTED] >> >>Sent: Mittwoch, 08. November 2006 13:37 >> >>To: [email protected] >> >>Subject: [castor-dev] xsd file --> mapping file >> >> >> >> >> >>I've got .xsd file, which represents client-server protocol. >> >>How to create mapping file from it? >> >>-- >> >>View this message in context: >> >>http://www.nabble.com/xsd-file---%3E-mapping-file-tf2594984.ht >> >>ml#a7237702 >> >>Sent from the Castor - Dev mailing list archive at Nabble.com. >> >> >> >> >> >>------------------------------------------------------------ >> --------- >> >>To unsubscribe from this list please visit: >> >> >> >> http://xircles.codehaus.org/manage_email >> >> >> >> >> >> >> > >> > >> > >> --------------------------------------------------------------------- >> > To unsubscribe from this list please visit: >> > >> > http://xircles.codehaus.org/manage_email >> >> -- >> >> Syscon Ingenieurbüro für >> Meß- und Datentechnik GmbH >> Ralf Joachim >> Raiffeisenstraße 11 >> D-72127 Kusterdingen >> Germany >> >> Tel. +49 7071 3690 52 >> Mobil: +49 173 9630135 >> Fax +49 7071 3690 98 >> >> Email: [EMAIL PROTECTED] >> Web: www.syscon-informatics.de >> >> --------------------------------------------------------------------- >> To unsubscribe from this list please visit: >> >> http://xircles.codehaus.org/manage_email >> >> >> > > --------------------------------------------------------------------- > To unsubscribe from this list please visit: > > http://xircles.codehaus.org/manage_email > > > -- View this message in context: http://www.nabble.com/RE%3A-xsd-file---%3E-mapping-file-tf2595029.html#a7240429 Sent from the Castor - Dev mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email

