I ran into the very same problem myself today, and digging around in the code it seems that there is some decoupling between the type-mapping code which is used to create WSDL, and the code which is used to perform serialization/deserialization. I'm trying to hack my way around it and figure out a solution (this is why I love open-source :)
Simon. ----- Original Message ----- From: "Barbara Noble" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, May 22, 2002 9:48 AM Subject: Question about Arrays > 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 > [EMAIL PROTECTED] > 561.417.0664 x106 > >