You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Andreas Hörnicke <an...@gmx.info> on 2006/03/28 19:27:14 UTC

[axis2] 0.94 Array only deserializes 1 element of complex type

Hi,

im having a hard time while migrating from Axis 1.3 to 2. After
struggling with some minor difficulties i came up with this one.

Recieving a request with generated Adb-Code from the following
Wsdl-portion i get only one element of Type01 instead of 20
(which where serialized and definitely are in the envelope).

I already searched through jira, but with no big success. Any
ideas?

------------------------------
<complexType name="Type01">
  <all>
    <element name="id01"     type="xsd:int"/>
    <element name="id02"     type="xsd:int"/>
    <element name="id03"      type="xsd:string"/>
  </all>
</complexType>

<complexType name="Type01Array">
  <sequence>
    <element minOccurs="0" maxOccurs="unbounded" name="type01Arr" type="typens:Type01"/>
  </sequence>
</complexType>

<complexType name="Request01">
  <all>
    <element name="param01"    type="xsd:string" />
    <element name="param02"    type="typens:Type01Array" minOccurs="0" />
  </all>
</complexType>

<element name="GetRequest01"   type="typens:Request01" />
------------------------------

- Andreas