⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 weatherservices.wsdl

📁 Programming Web and Desktop Applications in ADO .NET and ASP .NET
💻 WSDL
字号:
<?xml version="1.0" encoding="utf-8"?>
<definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:s0="http://www.unisys.com/WebServices/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" targetNamespace="http://www.unisys.com/WebServices/" xmlns="http://schemas.xmlsoap.org/wsdl/">
  <types>
    <s:schema elementFormDefault="qualified" targetNamespace="http://www.unisys.com/WebServices/">
      <s:element name="GetWeather">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="ZipCode" type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="GetWeatherResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="GetWeatherResult" type="s0:WeatherForecast" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:complexType name="WeatherForecast">
        <s:sequence>
          <s:element minOccurs="0" maxOccurs="1" name="ZipCode" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="CityShortName" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="Time" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="Sunrise" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="Sunset" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="CurrentTemp" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="DayForecast" type="s0:ArrayOfDailyForecast" />
        </s:sequence>
      </s:complexType>
      <s:complexType name="ArrayOfDailyForecast">
        <s:sequence>
          <s:element minOccurs="0" maxOccurs="unbounded" name="DailyForecast" nillable="true" type="s0:DailyForecast" />
        </s:sequence>
      </s:complexType>
      <s:complexType name="DailyForecast">
        <s:sequence>
          <s:element minOccurs="0" maxOccurs="1" name="Day" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="Forecast" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="Abbrev" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="HighTemp" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="LowTemp" type="s:string" />
        </s:sequence>
      </s:complexType>
      <s:element name="GetWeatherText">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="ZipCode" type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="GetWeatherTextResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="GetWeatherTextResult" type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="WeatherForecast" nillable="true" type="s0:WeatherForecast" />
      <s:element name="string" nillable="true" type="s:string" />
    </s:schema>
  </types>
  <message name="GetWeatherSoapIn">
    <part name="parameters" element="s0:GetWeather" />
  </message>
  <message name="GetWeatherSoapOut">
    <part name="parameters" element="s0:GetWeatherResponse" />
  </message>
  <message name="GetWeatherTextSoapIn">
    <part name="parameters" element="s0:GetWeatherText" />
  </message>
  <message name="GetWeatherTextSoapOut">
    <part name="parameters" element="s0:GetWeatherTextResponse" />
  </message>
  <message name="GetWeatherHttpGetIn">
    <part name="ZipCode" type="s:string" />
  </message>
  <message name="GetWeatherHttpGetOut">
    <part name="Body" element="s0:WeatherForecast" />
  </message>
  <message name="GetWeatherTextHttpGetIn">
    <part name="ZipCode" type="s:string" />
  </message>
  <message name="GetWeatherTextHttpGetOut">
    <part name="Body" element="s0:string" />
  </message>
  <message name="GetWeatherHttpPostIn">
    <part name="ZipCode" type="s:string" />
  </message>
  <message name="GetWeatherHttpPostOut">
    <part name="Body" element="s0:WeatherForecast" />
  </message>
  <message name="GetWeatherTextHttpPostIn">
    <part name="ZipCode" type="s:string" />
  </message>
  <message name="GetWeatherTextHttpPostOut">
    <part name="Body" element="s0:string" />
  </message>
  <portType name="WeatherServicesSoap">
    <operation name="GetWeather">
      <documentation>This method retrieves the weather forecast given a zip code.</documentation>
      <input message="s0:GetWeatherSoapIn" />
      <output message="s0:GetWeatherSoapOut" />
    </operation>
    <operation name="GetWeatherText">
      <documentation>This method retrieves the weather forecast as a string given a zip code.</documentation>
      <input message="s0:GetWeatherTextSoapIn" />
      <output message="s0:GetWeatherTextSoapOut" />
    </operation>
  </portType>
  <portType name="WeatherServicesHttpGet">
    <operation name="GetWeather">
      <documentation>This method retrieves the weather forecast given a zip code.</documentation>
      <input message="s0:GetWeatherHttpGetIn" />
      <output message="s0:GetWeatherHttpGetOut" />
    </operation>
    <operation name="GetWeatherText">
      <documentation>This method retrieves the weather forecast as a string given a zip code.</documentation>
      <input message="s0:GetWeatherTextHttpGetIn" />
      <output message="s0:GetWeatherTextHttpGetOut" />
    </operation>
  </portType>
  <portType name="WeatherServicesHttpPost">
    <operation name="GetWeather">
      <documentation>This method retrieves the weather forecast given a zip code.</documentation>
      <input message="s0:GetWeatherHttpPostIn" />
      <output message="s0:GetWeatherHttpPostOut" />
    </operation>
    <operation name="GetWeatherText">
      <documentation>This method retrieves the weather forecast as a string given a zip code.</documentation>
      <input message="s0:GetWeatherTextHttpPostIn" />
      <output message="s0:GetWeatherTextHttpPostOut" />
    </operation>
  </portType>
  <binding name="WeatherServicesSoap" type="s0:WeatherServicesSoap">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
    <operation name="GetWeather">
      <soap:operation soapAction="http://www.unisys.com/WebServices/GetWeather" style="document" />
      <input>
        <soap:body use="literal" />
      </input>
      <output>
        <soap:body use="literal" />
      </output>
    </operation>
    <operation name="GetWeatherText">
      <soap:operation soapAction="http://www.unisys.com/WebServices/GetWeatherText" style="document" />
      <input>
        <soap:body use="literal" />
      </input>
      <output>
        <soap:body use="literal" />
      </output>
    </operation>
  </binding>
  <binding name="WeatherServicesHttpGet" type="s0:WeatherServicesHttpGet">
    <http:binding verb="GET" />
    <operation name="GetWeather">
      <http:operation location="/GetWeather" />
      <input>
        <http:urlEncoded />
      </input>
      <output>
        <mime:mimeXml part="Body" />
      </output>
    </operation>
    <operation name="GetWeatherText">
      <http:operation location="/GetWeatherText" />
      <input>
        <http:urlEncoded />
      </input>
      <output>
        <mime:mimeXml part="Body" />
      </output>
    </operation>
  </binding>
  <binding name="WeatherServicesHttpPost" type="s0:WeatherServicesHttpPost">
    <http:binding verb="POST" />
    <operation name="GetWeather">
      <http:operation location="/GetWeather" />
      <input>
        <mime:content type="application/x-www-form-urlencoded" />
      </input>
      <output>
        <mime:mimeXml part="Body" />
      </output>
    </operation>
    <operation name="GetWeatherText">
      <http:operation location="/GetWeatherText" />
      <input>
        <mime:content type="application/x-www-form-urlencoded" />
      </input>
      <output>
        <mime:mimeXml part="Body" />
      </output>
    </operation>
  </binding>
  <service name="WeatherServices">
    <documentation>This Web Service gets the weather forecast.</documentation>
    <port name="WeatherServicesSoap" binding="s0:WeatherServicesSoap">
      <soap:address location="http://weather.unisysfsp.com/PDCWebService/WeatherServices.asmx" />
    </port>
    <port name="WeatherServicesHttpGet" binding="s0:WeatherServicesHttpGet">
      <http:address location="http://weather.unisysfsp.com/PDCWebService/WeatherServices.asmx" />
    </port>
    <port name="WeatherServicesHttpPost" binding="s0:WeatherServicesHttpPost">
      <http:address location="http://weather.unisysfsp.com/PDCWebService/WeatherServices.asmx" />
    </port>
  </service>
</definitions>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -