0% found this document useful (0 votes)
63 views4 pages

Holiday Weather

The document is a WSDL definition for the HolidayWeather Service, which provides weather forecasts sorted by maximum temperature for up to five locations for the upcoming week. It includes operations for retrieving holiday advice by place names and zip codes, along with the corresponding request and response message structures. The service supports SOAP and HTTP bindings for communication.

Uploaded by

gandharva_kr7599
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
63 views4 pages

Holiday Weather

The document is a WSDL definition for the HolidayWeather Service, which provides weather forecasts sorted by maximum temperature for up to five locations for the upcoming week. It includes operations for retrieving holiday advice by place names and zip codes, along with the corresponding request and response message structures. The service supports SOAP and HTTP bindings for communication.

Uploaded by

gandharva_kr7599
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

<?xml version="1.0" encoding="UTF-8"?

>
<wsdl:definitions xmlns:wsdl="[Link] xmlns:ns1="http:
//[Link].axis2/xsd"
xmlns:ns="[Link] xmlns:wsaw="[Link]
5/addressing/wsdl"
xmlns:http="[Link] xmlns:ax21=
"[Link]
xmlns:xs="[Link] xmlns:mime="http:/
/[Link]/wsdl/mime/"
xmlns:soap="[Link] xmlns:soap1
2="[Link]
targetNamespace="[Link]
<wsdl:documentation>
HolidayWeather Service: Returns sorted (on Maximum Temperature(F
)) weather forcast for upto five places for oncoming week.
</wsdl:documentation>
<wsdl:types>

<xs:schema attributeFormDefault="qualified" elementFormDefault="qualifie


d" targetNamespace="[Link]

<xs:complexType name="HolidayData">
<xs:sequence>
<xs:element maxOccurs="5" minOccurs="0" name="weatherDetail" nilla
ble="true" type="ns:LocationData"/>
<xs:element maxOccurs="1" minOccurs="0" name="error" nillable="tru
e" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="LocationData">
<xs:sequence>
<xs:element maxOccurs="1" minOccurs="0" name="placeName" nillable=
"true" type="xs:string"/>
<xs:element maxOccurs="1" minOccurs="0" name="day" nillable="true"
type="xs:string"/>
<xs:element maxOccurs="1" minOccurs="0" name="fipsCode" nillable="
true" type="xs:string"/>
<xs:element maxOccurs="1" minOccurs="0" name="stateCode" nillable=
"true" type="xs:string"/>
<xs:element maxOccurs="1" minOccurs="0" name="minTemperatureF" nil
lable="true" type="xs:string"/>
<xs:element maxOccurs="1" minOccurs="0" name="maxTemperatureF" nil
lable="true" type="xs:string"/>
<xs:element maxOccurs="1" minOccurs="0" name="rangeF" nillable="tr
ue" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:element name="GetHolidayAdviceByPlaceNames">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" name="pl
aceNames" nillable="true" type="xs:string"/>
<xs:element maxOccurs="1" minOccurs="0" name="day" nilla
ble="true" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="GetHolidayAdviceByPlaceNamesResponse">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="1" minOccurs="0" name="return" ni
llable="true" type="tp:HolidayData"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="GetHolidayAdviceByZipCodes">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" name="zi
pCodes" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="day" nillable="true" typ
e="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="GetHolidayAdviceByZipCodesResponse">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="1" minOccurs="0" name="return" ni
llable="true" type="tp:HolidayData"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>

</wsdl:types>
<wsdl:message name="GetHolidayAdviceByPlaceNamesRequest">
<wsdl:part name="parameters" element="ns:GetHolidayAdviceByPlaceNames"/>
</wsdl:message>
<wsdl:message name="GetHolidayAdviceByPlaceNamesResponse">
<wsdl:part name="parameters" element="ns:GetHolidayAdviceByPlaceNamesRes
ponse"/>
</wsdl:message>
<wsdl:message name="GetHolidayAdviceByZipCodesRequest">
<wsdl:part name="parameters" element="ns:GetHolidayAdviceByZipCodes"/>
</wsdl:message>
<wsdl:message name="GetHolidayAdviceByZipCodesResponse">
<wsdl:part name="parameters" element="ns:GetHolidayAdviceByZipCodesRespo
nse"/>
</wsdl:message>
<wsdl:portType name="HolidayWeatherPortType">
<wsdl:operation name="GetHolidayAdviceByPlaceNames">
<wsdl:input message="ns:GetHolidayAdviceByPlaceNamesRequest" wsaw:Ac
tion="urn:GetHolidayAdviceByPlaceNames"/>
<wsdl:output message="ns:GetHolidayAdviceByPlaceNamesResponse" wsaw:
Action="urn:GetHolidayAdviceByPlaceNamesResponse"/>
</wsdl:operation>
<wsdl:operation name="GetHolidayAdviceByZipCodes">
<wsdl:input message="ns:GetHolidayAdviceByZipCodesRequest" wsaw:Acti
on="urn:GetHolidayAdviceByZipCodes"/>
<wsdl:output message="ns:GetHolidayAdviceByZipCodesResponse" wsaw:Ac
tion="urn:GetHolidayAdviceByZipCodesResponse"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="HolidayWeatherSoap11Binding" type="ns:HolidayWeatherPort
Type">
<soap:binding transport="[Link] style="do
cument"/>
<wsdl:operation name="GetHolidayAdviceByPlaceNames">
<soap:operation soapAction="urn:GetHolidayAdviceByPlaceNames" style=
"document"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetHolidayAdviceByZipCodes">
<soap:operation soapAction="urn:GetHolidayAdviceByZipCodes" style="d
ocument"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:binding name="HolidayWeatherSoap12Binding" type="ns:HolidayWeatherPort
Type">
<soap12:binding transport="[Link] style="
document"/>
<wsdl:operation name="GetHolidayAdviceByPlaceNames">
<soap12:operation soapAction="urn:GetHolidayAdviceByPlaceNames" styl
e="document"/>
<wsdl:input>
<soap12:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap12:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetHolidayAdviceByZipCodes">
<soap12:operation soapAction="urn:GetHolidayAdviceByZipCodes" style=
"document"/>
<wsdl:input>
<soap12:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap12:body use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:binding name="HolidayWeatherHttpBinding" type="ns:HolidayWeatherPortTy
pe">
<http:binding verb="POST"/>
<wsdl:operation name="GetHolidayAdviceByPlaceNames">
<http:operation location="HolidayWeather/GetHolidayAdviceByPlaceName
s"/>
<wsdl:input>
<mime:content type="text/xml" part="GetHolidayAdviceByPlaceNames
"/>
</wsdl:input>
<wsdl:output>
<mime:content type="text/xml" part="GetHolidayAdviceByPlaceNames
"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetHolidayAdviceByZipCodes">
<http:operation location="HolidayWeather/GetHolidayAdviceByZipCodes"
/>
<wsdl:input>
<mime:content type="text/xml" part="GetHolidayAdviceByZipCodes"/
>
</wsdl:input>
<wsdl:output>
<mime:content type="text/xml" part="GetHolidayAdviceByZipCodes"/
>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="HolidayWeather">
<wsdl:port name="HolidayWeatherHttpSoap11Endpoint" binding="ns:HolidayWe
atherSoap11Binding">
<soap:address location="[Link]
s/HolidayWeather.HolidayWeatherHttpSoap11Endpoint/"/>
</wsdl:port>
<wsdl:port name="HolidayWeatherHttpSoap12Endpoint" binding="ns:HolidayWe
atherSoap12Binding">
<soap12:address location="[Link]
ces/HolidayWeather.HolidayWeatherHttpSoap12Endpoint/"/>
</wsdl:port>
<wsdl:port name="HolidayWeatherHttpEndpoint" binding="ns:HolidayWeatherH
ttpBinding">
<http:address location="[Link]
s/[Link]/"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>

You might also like