Title: Binding files
Hi Jason
 
this is an extract of my binding file:
 
     <cbf:complexTypeBinding name="DTFDetailType">
         <cbf:java-class name="DTFDetailTypeV1"/>
         <cbf:elementBinding name="bdfin">
             <cbf:java-class name="BdfinV1"/>
          </cbf:elementBinding>
         <cbf:elementBinding name="bdoffad">
             <cbf:java-class name="BdoffadV1"/>
          </cbf:elementBinding>
         <cbf:elementBinding name="bdrev">
             <cbf:java-class name="BdrevV1"/>
          </cbf:elementBinding>
     </cbf:complexTypeBinding>
You can see here that you can reflect the x-path and assign a certain element or complex type to a certain java class. i.e. the schema element DTFDetailType/bdfin is rendered to java class BdfinV1.
 
Hope this helps.
 
Heri
-----Original Message-----
From: Green, Jason M. [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 25, 2005 4:43 PM
To: [email protected]
Subject: [castor-user] Binding files

Hey all,
   I sent this post out before, but I didn't get any responses.  I am looking for help on the binding file.  I tend to understand things like this if I have a direct example to work with.  For example, I am getting a warning when I run the source generator.  If I had one example of how ot fix it, I could do the same for all issues ihave.  Anyway, here is the warning I get.  Can someone tell me how I would set up the binding file?

Warning: A class name generation conflict has occured between element 'complexType:ApprovalType/signature' and element '/defensiveTask/properties/validation/signature'. Please use a Binding file to solve this problem.Continue anyway [not recommended] (y|n|?)

Jason Green

Reply via email to