blob: ec39e2287ae226b2442b3f81062b2d6d2b2847f7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
|
<?xml version="1.0" encoding="utf-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:tns="http://www.webservicex.net"
targetNamespace="http://www.webservicex.net"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
<wsdl:types>
<xsd:schema elementFormDefault="qualified" targetNamespace="http://www.webservicex.net">
<xsd:element name="GetWeatherByZipCode">
<xsd:complexType>
<xsd:sequence>
<xsd:element minOccurs="0" maxOccurs="1" name="ZipCode" type="xsd:string" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="GetWeatherByZipCodeResponse">
<xsd:complexType>
<xsd:sequence>
<xsd:element minOccurs="1" maxOccurs="1" name="GetWeatherByZipCodeResult" type="tns:WeatherForecasts" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:complexType name="WeatherForecasts">
<xsd:sequence>
<xsd:element minOccurs="1" maxOccurs="1" name="Latitude" type="xsd:float" />
<xsd:element minOccurs="1" maxOccurs="1" name="Longitude" type="xsd:float" />
<xsd:element minOccurs="1" maxOccurs="1" name="AllocationFactor" type="xsd:float" />
<xsd:element minOccurs="0" maxOccurs="1" name="FipsCode" type="xsd:string" />
<xsd:element minOccurs="0" maxOccurs="1" name="PlaceName" type="xsd:string" />
<xsd:element minOccurs="0" maxOccurs="1" name="StateCode" type="xsd:string" />
<xsd:element minOccurs="0" maxOccurs="1" name="Status" type="xsd:string" />
<xsd:element minOccurs="0" maxOccurs="1" name="Details" type="tns:ArrayOfWeatherData" />
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ArrayOfWeatherData">
<xsd:sequence>
<xsd:element minOccurs="0" maxOccurs="unbounded" name="WeatherData" type="tns:WeatherData" />
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="WeatherData">
<xsd:sequence>
<xsd:element minOccurs="0" maxOccurs="1" name="Day" type="xsd:string" />
<xsd:element minOccurs="0" maxOccurs="1" name="WeatherImage" type="xsd:string" />
<xsd:element minOccurs="0" maxOccurs="1" name="MaxTemperatureF" type="xsd:string" />
<xsd:element minOccurs="0" maxOccurs="1" name="MinTemperatureF" type="xsd:string" />
<xsd:element minOccurs="0" maxOccurs="1" name="MaxTemperatureC" type="xsd:string" />
<xsd:element minOccurs="0" maxOccurs="1" name="MinTemperatureC" type="xsd:string" />
</xsd:sequence>
</xsd:complexType>
<xsd:element name="GetWeatherByPlaceName">
<xsd:complexType>
<xsd:sequence>
<xsd:element minOccurs="0" maxOccurs="1" name="PlaceName" type="xsd:string" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="GetWeatherByPlaceNameResponse">
<xsd:complexType>
<xsd:sequence>
<xsd:element minOccurs="1" maxOccurs="1" name="GetWeatherByPlaceNameResult" type="tns:WeatherForecasts" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="WeatherForecasts" type="tns:WeatherForecasts" />
</xsd:schema>
</wsdl:types>
<wsdl:message name="GetWeatherByZipCodeRequest">
<wsdl:part name="parameters" element="tns:GetWeatherByZipCode" />
</wsdl:message>
<wsdl:message name="GetWeatherByZipCodeResponse">
<wsdl:part name="parameters" element="tns:GetWeatherByZipCodeResponse" />
</wsdl:message>
<wsdl:message name="GetWeatherByPlaceNameRequest">
<wsdl:part name="parameters" element="tns:GetWeatherByPlaceName" />
</wsdl:message>
<wsdl:message name="GetWeatherByPlaceNameResponse">
<wsdl:part name="parameters" element="tns:GetWeatherByPlaceNameResponse" />
</wsdl:message>
<wsdl:portType name="WeatherForecastPortType">
<wsdl:operation name="GetWeatherByZipCode">
<wsdl:input message="tns:GetWeatherByZipCodeRequest" />
<wsdl:output message="tns:GetWeatherByZipCodeResponse" />
</wsdl:operation>
<wsdl:operation name="GetWeatherByPlaceName">
<wsdl:input message="tns:GetWeatherByPlaceNameRequest" />
<wsdl:output message="tns:GetWeatherByPlaceNameResponse" />
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="WeatherForecastSoapBinding" type="tns:WeatherForecastPortType">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
<wsdl:operation name="GetWeatherByZipCode">
<soap:operation soapAction="http://www.webservicex.net/GetWeatherByZipCode" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetWeatherByPlaceName">
<soap:operation soapAction="http://www.webservicex.net/GetWeatherByPlaceName" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="WeatherForecast">
<wsdl:port name="WeatherForecastPort" binding="tns:WeatherForecastSoapBinding">
<soap:address location="http://www.webservicex.net/WeatherForecast.asmx" />
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
|