<xsd:complexType name="ArrayType">
        <xsd:sequence>
            <xsd:element name="stringArray" minOccurs="0"
maxOccurs="unbounded" type="xsd:string"/>
        </xsd:sequence>
    </xsd:complexType>

Amila.

On 8/31/07, mchmiel <[EMAIL PROTECTED]> wrote:
>
> I am using a WTP plugin for editing WSDL
>
> I tried to define my String array
> like this
>
>             <xsd:complexType name="ArrayOfstring">
>                     <xsd:complexContent>
>                         <xsd:restriction base="soapenc:Array">
>                             <xsd:attribute ref="soapenc:arrayType"
>                                 wsdl:arrayType="xsd:string[]" />
>                         </xsd:restriction>
>                     </xsd:complexContent>
>                 </xsd:complexType>
>
> I also needed to add
>
> <xsd:import
>                 namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
>
> and now i get warning about restriction tag.
>
> and I cannot generate a WebService Skeleton
>
> an ideas hot to define a string[] or any oder complex type array?
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Amila Suriarachchi,
WSO2 Inc.

Reply via email to