DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16192>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16192 array serialization on response introducing an extraneous item element Summary: array serialization on response introducing an extraneous item element Product: Axis Version: 1.0 Platform: All OS/Version: Other Status: NEW Severity: Major Priority: Other Component: Serialization/Deserialization AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] I am trying to echo a an array of complex types via axis. My complex object is an object(called intClass) with a single primitive int member variable. The input to the web service is a primitive integer and the echo is an array of 6 intClass objects. Instead of an intClass element, the response generates an item element. The WSDL also does not mention an item element anywhere. Hence what I get is: <soapenv:Body> <ns1:getIntClassArrayResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="http://tejash:8080/axis/services/ArrayReturnTest"> <echoIntArray soapenc:arrayType="ns2:intClass[6]" xmlns:ns2="urn:BeanService" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="soapenc:Array"> <item> <intArg xsi:type="xsd:int">6</intArg> </item> <item> <intArg xsi:type="xsd:int">7</intArg> </item> </echoIntArray> </ns1:getIntClassArrayResponse> </soapenv:Body> But what I am expecting is: <soapenv:Body> <ns1:getIntClassArrayResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="http://tejash:8080/axis/services/ArrayReturnTest"> <echoIntArray soapenc:arrayType="ns2:intClass[6]" xmlns:ns2="urn:BeanService" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="soapenc:Array"> <intClass> <intArg xsi:type="xsd:int">6</intArg> </intClass> <intClass> <intArg xsi:type="xsd:int">7</intArg> </intClass> </echoIntArray> </ns1:getIntClassArrayResponse> </soapenv:Body> Where is this extraneous item element emanating from?