Here's my binding:

<mapping name="sync-req-message"
class="com.talent.data.replication.messages.SyncRequestMessage"
extends="com.talent.cruiser.messaging.CruiserMessage" >
 <structure map-as="com.talent.cruiser.messaging.CruiserMessage"/>
 <value name="action"    field="strAction"/>
 <value name="application"    field="strAppId"/>
 <value name="sync-policy"    field="syncPolicy"/>
 <value name="sync-type"    field="syncType"/>
 <collection field="tablenames">
        <value name="tablename"/>
 </collection>
 </mapping>

tablenames is defined as  protected ArrayList tablenames; in my code.



> Check your binding again. The sample Cameron gave you is correct (except
> for the collection as an empty tag - that should be <collection
> field="tablenames"> with no '/' before the '>'). From the errer message
> I'd suspect you have something like:
>
> <collection field="tablenames">
>  <structure ...
>
> With a <structure> component instead of a <value>.
>
>   - Dennis
>




-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
jibx-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jibx-users
  • ... Άγγελος Καράντζαλης
    • ... Cameron Taggart
      • ... Άγγελος Καράντζαλης
        • ... Dennis Sosnoski
          • ... Άγγελος Καράντζαλης
            • ... Dennis Sosnoski

Reply via email to