Link to home
Start Free TrialLog in
Avatar of Ibtech2011
Ibtech2011Flag for Türkiye

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:bigdecimal[2]"
xsi:type="soapenc:Array" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
<bigdecimal xsi:type="xsd:decimal">2135.09</bigdecimal>
<bigdecimal xsi:type="xsd:decimal">2087.09</bigdecimal>
</FIELDNAME>


xml2:


<FIELDNAME soapenc:arrayType="soapenc:decimal[2]" xsi:type="soapenc:Array">
<FIELDNAME xsi:type="soapenc:decimal">15000</FIELDNAME>
<FIELDNAME xsi:type="soapenc:decimal">2000</FIELDNAME>
</FIELDNAME>
ASKER CERTIFIED SOLUTION
Avatar of Siva Prasanna Kumar
Siva Prasanna Kumar
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial