Hi!
 
Simple as that:
 
<xsd:complexType name="StringArrayArray">
    <xsd:sequence>
        <xsd:element name="StringArray" minOccurs="0" maxOccurs="unbounded">
            <xsd:complexType>
                <xsd:sequence>
                    <xsd:element name="element" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/>
                </xsd:sequence>
            </xsd:complexType> 
         </xsd:element>
    
</xsd:sequence>
</xsd:complexType>
 
 

Mit freundlichen Grüßen,

--
DI Günter Grossberger
Consultant             Tel: +43 1 329 50 161
Software AG Österreich Fax: +43 1 329 50 171
Guglgasse 7-9          GSM: +43 676 833 29 261
1030 Wien             
http://www.softwareag.com/austria

 


From: Jyotishman Pathak [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 04, 2005 6:35 AM
To: [email protected]
Cc: Jyotishman Pathak
Subject: 2-D array of Strings

Hi all,

I have a simple question to ask: how can I declare a "complexType" in my WSDL file depicting a 2-dimensional array of strings? I know, I can specify a 1-dimensional array type as follows:

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

Can someone guide me to do a similar thing for a 2-D array?

Thanks,
Jyoti

Reply via email to