axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Barbara Noble <bno...@sengent.com>
Subject Question about Arrays
Date Wed, 22 May 2002 16:48:38 GMT
I am trying to send back and forth to my service a complex object.  This
complex object has within it an array.

The wsdl seems to be created correctly;  it follows.  
However, when I run my test client, and send the complex object of type Bd,
I get the following error:

ERROR  BeanSerializer            | Exception: java.io.IOException: No mapped
schema type for <packagehere>.E

<..................snip.............................>
  <types>
  <schema targetNamespace="urn:GeneralService"
xmlns="http://www.w3.org/2001/XMLSchema">
  <complexType name="LD">
  <sequence>
  <element name="ldt" nillable="true" type="xsd:string" /> 
  <element name="dR" nillable="true" type="xsd:string" /> 
  <element name="bR" nillable="true" type="xsd:string" /> 
  <element name="oID" nillable="true" type="xsd:string" /> 
  <element name="s" nillable="true" type="xsd:string" /> 
  </sequence>
  </complexType>
  <element name="LD" nillable="true" type="tns1:LOID" /> 
  <complexType name="Bg">
  <sequence>
  <element name="ld" nillable="true" type="tns1:LOID" /> 
  <element name="es" nillable="true" type="intf:ArrayOf_tns1_E" /> 
  <element name="st" nillable="true" type="xsd:string" /> 
  </sequence>
  </complexType>
  <complexType name="E">
  <sequence>
  <element name="sa" nillable="true" type="xsd:string" /> 
  <element name="et" type="xsd:long" /> 
  <element name="LD" nillable="true" type="tns1:LD" /> 
  </sequence>
  </complexType>
  <element name="Bg" nillable="true" type="tns1:Bg" /> 
  </schema>
  <schema targetNamespace="TempService"
xmlns="http://www.w3.org/2001/XMLSchema">
  <complexType name="ArrayOf_tns1_E">
  <complexContent>
  <restriction base="SOAP-ENC:Array">
  <attribute ref="SOAP-ENC:arrayType" wsdl:arrayType="tns1:E[]" /> 
  </restriction>
  </complexContent>
  </complexType>
  </schema>
  </types>
<.............snip.........>

Barbara Noble
Software Engineer
Sengent, Inc.
Optimized Distributed Computing
http://www.sengent.com
bnoble@sengent.com
561.417.0664 x106


Mime
View raw message