Hi all!
I am a newbie to WSDL. I have a questions which has been driving me crazy...
If I would have a WSDL with a types element somewhat like below, what is the point of the third last row "<s:element name="string" nillable="true" type="s:string"/>". Why is it there and what is it for?
...
<wsdl:types>
<s:schema elementFormDefa ult="qualified" targetNamespace ="http://www.home.NET">
<s:element name="GetWeathe r">
<s:complexTyp e>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="CityName" type="s:string"/>
<s:element minOccurs="0" maxOccurs="1" name="CountryNa me" type="s:string"/>
</s:sequence>
</s:complexType>
</s:element>
<s:element name="GetWeathe rResponse">
<s:complexTyp e>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="GetWeathe rResult" type="s:string"/>
</s:sequence>
</s:complexType>
</s:element>
<s:element name="GetCities ByCountry">
<s:complexTyp e>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="CountryNa me" type="s:string"/>
</s:sequence>
</s:complexType>
</s:element>
<s:element name="GetCities ByCountryRespon se">
<s:complexTyp e>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="GetCities ByCountryResult " type="s:string"/>
</s:sequence>
</s:complexType>
</s:element>
<s:element name="string" nillable="true" type="s:string"/>
</s:schema>
</wsdl:types>
Thank you very much for any help!!
I am a newbie to WSDL. I have a questions which has been driving me crazy...
If I would have a WSDL with a types element somewhat like below, what is the point of the third last row "<s:element name="string" nillable="true" type="s:string"/>". Why is it there and what is it for?
...
<wsdl:types>
<s:schema elementFormDefa ult="qualified" targetNamespace ="http://www.home.NET">
<s:element name="GetWeathe r">
<s:complexTyp e>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="CityName" type="s:string"/>
<s:element minOccurs="0" maxOccurs="1" name="CountryNa me" type="s:string"/>
</s:sequence>
</s:complexType>
</s:element>
<s:element name="GetWeathe rResponse">
<s:complexTyp e>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="GetWeathe rResult" type="s:string"/>
</s:sequence>
</s:complexType>
</s:element>
<s:element name="GetCities ByCountry">
<s:complexTyp e>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="CountryNa me" type="s:string"/>
</s:sequence>
</s:complexType>
</s:element>
<s:element name="GetCities ByCountryRespon se">
<s:complexTyp e>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="GetCities ByCountryResult " type="s:string"/>
</s:sequence>
</s:complexType>
</s:element>
<s:element name="string" nillable="true" type="s:string"/>
</s:schema>
</wsdl:types>
Thank you very much for any help!!
Comment