Hey all,

I'm using the bean serializer for a fairly boring javabean, and most of the
process is going well - however... I have a couple of fields - G_L_ACCT and
C_AMT_BAPI - that aren't coming through properly; they come through as:

     <g_L_ACCT xsi:type="xsd:string">4703000</g_L_ACCT>
     <c_AMT_BAPI xsi:type="xsd:string">100.00</c_AMT_BAPI>

where the rest of the fields are fine.  I'm suspecting that this has to do
with the underscore in the name.  Now, I see a few possible answers:
    1. There's something in the javabean spec that explains this
    2. There's some assumption in the bean serializer that explains this.

Now, looking at the BeanSerializer (release 1.0), there doesn't seem to be
anything obvious screaming out at me, so I'm leaning towards explanation #1
but I find it hard to believe that is the source of the problem.

The next thing I see in the code is comments about metadata, although I'm
not sure where this comes from, I haven't been able to find any doco on the
serializers apart from the basics at http://ws.apache.org/axis/index.html -
am I missing something, or could someone point me in the right direction
here?

I suppose my other option is to write my own serializer, which will no doubt
lead to another email, but I'm not that far yet...

cheers
dim




Reply via email to