Hi,

Castor code generator not only generates the POJO's but also descriptor
classes that replace the mapping file. You only have to ensure that
these descriptor classes as well as the '.castor.cdr' file is on your
classpath. You don't need the mapping in that case.

Regards
Ralf

Am 18.08.2011 08:45, schrieb Pradeep_s83:
> Hi Team,
> I need to use castor for spring webservices.I will be having xsd definition
> for webservices.
> I need to generate java objects and castor mapping file from xsd.
> I can generate java object using source code generator.But how can i
> generate the castor mapping xml file.
> Do i need to use the generated class files to generate castor mapping xml or
> can i generate POJO and xml at one step from the given xsd?
> Please help


-- 

Syscon Ingenieurbüro für Meß- und Datentechnik GmbH
Ralf Joachim
Raiffeisenstraße 11
72127 Kusterdingen
Germany

Tel.   +49 7071 3690 52
Mobil: +49 173 9630135
Fax    +49 7071 3690 98

Internet: www.syscon.eu
E-Mail: [email protected]

Sitz der Gesellschaft: D-72127 Kusterdingen
Registereintrag: Amtsgericht Stuttgart, HRB 382295
Geschäftsleitung: Jens Joachim, Ralf Joachim


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to