Hi guys,
I am quite new to use Castor and i would really appreciate if you can guide
me to solve my problem.
Basically, I am integrating Castor with Spring-ws. I would like to map
multiple xml (SOAP requests) to the same class. when i try to define
something like the code below, i get an error saying the class already in
use! any way to solve this?
<class name="com.mycomp.pkg.Class">
<map-to xml="firstSOAPRequest"/>
<field name="name" type="string">
<bind-xml name="Name" node="element"/>
</field>
<field name="address" type="string">
<bind-xml name="Address" node="element"/>
</field>
</class>
<class name="com.mycomp.pkg.Class">
<map-to xml="secondSOAPRequest"/>
<field name="name" type="string">
<bind-xml name="Name" node="element"/>
</field>
</class>
Thanks in advance,
--
View this message in context:
http://old.nabble.com/Unmarshalling-multiple-xml-to-one-class-tp32059761p32059761.html
Sent from the Castor - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email