Hi,
I believe I found a bug when jibx tries to marshal a
collection with optional values in it. In generated
Jibx_BungeAdapter class, it doesn't check if the value
"zipcode" in a object is null or not.
Here is my mapping,
<mapping name="NumberResponseWrap"
class="com.crsoftwareinc.crs.core.webservice.dialer.binding.CampaignNumberResponseBindingObject"
ns="http://www.crsoftwareinc.com/xml/ns/telecom/campaign_number_v1_0">
<value name="campaign" field="campaignShortName" />
<collection name="numbers" field="numbersObj" >
<structure name="record"
type="com.crsoftwareinc.crs.core.webservice.dialer.binding.PhoneInfoTypeBindingObject">
<value name="key" field="key" />
<value name="type" field="type" />
<value name="number" field="number" />
<value name="zipcode" field="zipcode"
usage="optional" />
</structure>
</collection>
</mapping>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
-------------------------------------------------------------------------
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