Ibtech2011
asked on
serializing array objects with apache axis
Hello,
When serializing array objects with apache axis, i have encountered two different xml fragment in generated soap messages.xml tags of first message generated like bigdecimal and its arrayType like bigdecimal[], although i want it to be like in second example.
I copied both sample xml below. As far as i checked definitions of both services are alike, can you please tell me what property make this difference ?
Thank you.
xml 1:
<FIELDNAME soapenc:arrayType="xsd:big decimal[2] "
xsi:type="soapenc:Array" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
<bigdecimal xsi:type="xsd:decimal">213 5.09</bigd ecimal>
<bigdecimal xsi:type="xsd:decimal">208 7.09</bigd ecimal>
</FIELDNAME>
xml2:
<FIELDNAME soapenc:arrayType="soapenc :decimal[2 ]" xsi:type="soapenc:Array">
<FIELDNAME xsi:type="soapenc:decimal" >15000</FI ELDNAME>
<FIELDNAME xsi:type="soapenc:decimal" >2000</FIE LDNAME>
</FIELDNAME>
When serializing array objects with apache axis, i have encountered two different xml fragment in generated soap messages.xml tags of first message generated like bigdecimal and its arrayType like bigdecimal[], although i want it to be like in second example.
I copied both sample xml below. As far as i checked definitions of both services are alike, can you please tell me what property make this difference ?
Thank you.
xml 1:
<FIELDNAME soapenc:arrayType="xsd:big
xsi:type="soapenc:Array" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
<bigdecimal xsi:type="xsd:decimal">213
<bigdecimal xsi:type="xsd:decimal">208
</FIELDNAME>
xml2:
<FIELDNAME soapenc:arrayType="soapenc
<FIELDNAME xsi:type="soapenc:decimal"
<FIELDNAME xsi:type="soapenc:decimal"
</FIELDNAME>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.