axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Hörnicke <andrea...@gmx.info>
Subject [axis2] 0.94 Array only deserializes 1 element of complex type
Date Tue, 28 Mar 2006 17:27:14 GMT
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


Mime
View raw message