<?xml version="1.0" encoding="utf-8"?>
<definitions
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
    targetNamespace="http://www.cityportal.com/"
    xmlns="http://schemas.xmlsoap.org/wsdl/">
    <message name="CityWeatherReportRequest">
        <part name="CityName" type="xsd:string" />
    </message>
    <message name="CityWeatherReportResponse">
        <part name="weatherReport" type="xsd:string"/>
    </message>
    <portType name="WeatherServicePortType">
        <operation name="GetCityWeatherReport">
            <documentation>
                Provide the name of a city and this method will return the most recent weather report of that city.
            </documentation>
            <input message="CityWeatherReportRequest"/>
            <output message="CityWeatherReportResponse"/>
        </operation>
    </portType>
    <binding
        name="WeatherServiceBinding"
        type="WeatherServicePortType">
        <soap:binding
            style="rpc"
            transport="http://schemas.xmlsoap.org/soap/http"/>
        <operation name="GetCityWeatherReport">
            <soap:operation
                soapAction="http://www.cityportal.com/webservice/weatherservice/weatherReport" />
            <input>
                <soap:body
                    encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
                    namespace="http://www.cityportal.com/webservice/weatherservice/"
                    use="encoded"/>
            </input>
            <output>
                <soap:body
                    encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
                    namespace="http://www.cityportal.com/webservice/weatherservice/"
                    use="encoded"/>
            </output>
        </operation>
    </binding>
    <service name="WeatherService">
        <documentation>
            This weather update service provides weather reports of all major cities of the world.
        </documentation>
        <port name="WeatherServicePortType" binding="WeatherServiceBinding">
            <soap:address location="http://www.cityportal.com/webservices/weatherservice"/>
        </port>
    </service>
</definitions>