axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Venkatesh Prasad Ranganath <>
Subject A question about WSDL file
Date Tue, 25 May 2004 00:03:00 GMT

I am looking at test/wsdl/datatypes/DataTypes.wsdl available in the distribution of axis-1.1.
 Following is the snippet 
towards the ending of the <types> section of the wsdl.

       <s:element name="GetOrdersResponse">
             <s:element minOccurs="0" maxOccurs="1" name="GetOrdersResult" type="s0:ArrayOfOrder"

       <s:complexType name="ArrayOfOrder">
           <s:element minOccurs="0" maxOccurs="unbounded" name="Order" nillable="true"
type="s0:Order" />

       <s:element name="string" nillable="true" type="s:string" />
       <s:element name="ArrayOfInt" nillable="true" type="s0:ArrayOfInt" />
       <s:element name="Mode" type="s0:Mode" />
       <s:element name="Order" nillable="true" type="s0:Order" />
       <s:element name="ArrayOfOrder" nillable="true" type="s0:ArrayOfOrder" />


The interesting part is the last 5 element declaration in the schema.  These declarations
indicate that these elements can 
occur in an instance of this schema.  However, none of these elements are used to in the rest
of the wsdl document.  Rather 
only the complex types declared earlier on are used.  So, are these declarations redundant?
 If not, what is the purpose of 
these declarations?

waiting for reply,


Venkatesh Prasad Ranganath,
Dept. Computing and Information Science,
Kansas State University, US.

View raw message