Hi,

 

I receive an XML file which has mandatory marks but I doesn’t need them when I do My unmarshalling. So my problem is the following. How can I write my binding file that it will encounter a collection but that it doen’t have to do any thing

 

My XML file :

<BODY>     

                  <CRITERIA>

                        <STARTDATE>30/06/2006</STARTDATE>

                        <ENDDATE>07/07/2006</ENDDATE>

                        <CH_LIST>

                              <CH>K1</CH>

<CH>K2</CH>

<CH>K3</CH>

                        </CH_LIST>

                  </CRITERIA>

      </BODY>

 

I doesn’t need the information between <CH_LIST> and </CH_LIST>

 

I try these :

<structure name="CH_LIST">

      <collection name="CH"/>

</structure>

 

Or

<collection name="CH_LIST">

            <structure name="CH"/>

</collection>

 

Or

<structure name="CH_LIST">

      <collection>

            <structure name="CH"/>

      </collection>

</structure>

 

But each time it tells me that I need a store-method or a add-method

 

Thanks for help

 

Thomas

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
jibx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to