How do I define the mapping for a byte[] ? I used the following:

<mapping name="fresp-message"
class="gr.talent.messaging.message.FileResponseMessage"
extends="gr.talent.messaging.message.BaseMessage" >
 <structure map-as="gr.talent.messaging.message.BaseMessage"/>
    <value name="data" field="binData"/>
    </mapping>

where the binData field is actually a byte array, but I get the following
exception when I try to compile & bind:

org.jibx.runtime.JiBXException: No deserializer for byte[]; define
serializer or toString() method


I'd be obliged if you could point me to the right direction ..

Cheers,

Angel
O:]




-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
jibx-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jibx-users
  • ... Άγγελος Καράντζαλης
    • ... Dennis Sosnoski

Reply via email to