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 Olivier Gauwin <ga...@campus.dtrd.de> on 2002/11/07 11:01:22 UTC

Declaring complex types in wsdd file

Hi,
I have to declare a complex type in the wsdd file. I've already tried, 
but this complex type is empty in the wsdl file (after deployment), 
there's just a <sequence /> tag.
I've put this in my wsdd file, after the declaration tag :
    <types>
        <xsd:schema targetNamespace="http://myns.org"
        xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <xsd:complexType name="myCplx">
    <xsd:sequence>
        <xsd:element
        name="type" type="CORBA.TypeCode"
        maxOccurs="1" minOccurs="1"/>
        <xsd:element
        name="value" type="xsd:anyType"
        maxOccurs="1" minOccurs="1"/>
    </xsd:sequence>
        </xsd:complexType>
        </xsd:schema>
    </types>

What can be wrong ??
Thank you :)
Olivier