//------------------------------------------------------------------------------
// <auto-generated>
//     此代码由工具生成。
//     运行时版本:2.0.50727.3074
//
//     对此文件的更改可能会导致不正确的行为，并且如果
//     重新生成代码，这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------

// 
// 此源代码是由 Microsoft.CompactFramework.Design.Data 2.0.50727.3074 版自动生成。
// 
namespace iTripLog.cn.com.webxml.webservice {
    using System.Diagnostics;
    using System.Web.Services;
    using System.ComponentModel;
    using System.Web.Services.Protocols;
    using System;
    using System.Xml.Serialization;
    using System.Data;
    
    
    /// <remarks/>
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Web.Services.WebServiceBindingAttribute(Name="WeatherWSSoap", Namespace="http://WebXml.com.cn/")]
    public partial class WeatherWS : System.Web.Services.Protocols.SoapHttpClientProtocol {
        
        /// <remarks/>
        public WeatherWS() {
            this.Url = "http://webservice.webxml.com.cn/WebServices/WeatherWS.asmx";
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://WebXml.com.cn/getRegionDataset", RequestNamespace="http://WebXml.com.cn/", ResponseNamespace="http://WebXml.com.cn/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public System.Data.DataSet getRegionDataset() {
            object[] results = this.Invoke("getRegionDataset", new object[0]);
            return ((System.Data.DataSet)(results[0]));
        }
        
        /// <remarks/>
        public System.IAsyncResult BegingetRegionDataset(System.AsyncCallback callback, object asyncState) {
            return this.BeginInvoke("getRegionDataset", new object[0], callback, asyncState);
        }
        
        /// <remarks/>
        public System.Data.DataSet EndgetRegionDataset(System.IAsyncResult asyncResult) {
            object[] results = this.EndInvoke(asyncResult);
            return ((System.Data.DataSet)(results[0]));
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://WebXml.com.cn/getRegionProvince", RequestNamespace="http://WebXml.com.cn/", ResponseNamespace="http://WebXml.com.cn/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public string[] getRegionProvince() {
            object[] results = this.Invoke("getRegionProvince", new object[0]);
            return ((string[])(results[0]));
        }
        
        /// <remarks/>
        public System.IAsyncResult BegingetRegionProvince(System.AsyncCallback callback, object asyncState) {
            return this.BeginInvoke("getRegionProvince", new object[0], callback, asyncState);
        }
        
        /// <remarks/>
        public string[] EndgetRegionProvince(System.IAsyncResult asyncResult) {
            object[] results = this.EndInvoke(asyncResult);
            return ((string[])(results[0]));
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://WebXml.com.cn/getRegionCountry", RequestNamespace="http://WebXml.com.cn/", ResponseNamespace="http://WebXml.com.cn/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public string[] getRegionCountry() {
            object[] results = this.Invoke("getRegionCountry", new object[0]);
            return ((string[])(results[0]));
        }
        
        /// <remarks/>
        public System.IAsyncResult BegingetRegionCountry(System.AsyncCallback callback, object asyncState) {
            return this.BeginInvoke("getRegionCountry", new object[0], callback, asyncState);
        }
        
        /// <remarks/>
        public string[] EndgetRegionCountry(System.IAsyncResult asyncResult) {
            object[] results = this.EndInvoke(asyncResult);
            return ((string[])(results[0]));
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://WebXml.com.cn/getSupportCityDataset", RequestNamespace="http://WebXml.com.cn/", ResponseNamespace="http://WebXml.com.cn/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public System.Data.DataSet getSupportCityDataset(string theRegionCode) {
            object[] results = this.Invoke("getSupportCityDataset", new object[] {
                        theRegionCode});
            return ((System.Data.DataSet)(results[0]));
        }
        
        /// <remarks/>
        public System.IAsyncResult BegingetSupportCityDataset(string theRegionCode, System.AsyncCallback callback, object asyncState) {
            return this.BeginInvoke("getSupportCityDataset", new object[] {
                        theRegionCode}, callback, asyncState);
        }
        
        /// <remarks/>
        public System.Data.DataSet EndgetSupportCityDataset(System.IAsyncResult asyncResult) {
            object[] results = this.EndInvoke(asyncResult);
            return ((System.Data.DataSet)(results[0]));
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://WebXml.com.cn/getSupportCityString", RequestNamespace="http://WebXml.com.cn/", ResponseNamespace="http://WebXml.com.cn/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public string[] getSupportCityString(string theRegionCode) {
            object[] results = this.Invoke("getSupportCityString", new object[] {
                        theRegionCode});
            return ((string[])(results[0]));
        }
        
        /// <remarks/>
        public System.IAsyncResult BegingetSupportCityString(string theRegionCode, System.AsyncCallback callback, object asyncState) {
            return this.BeginInvoke("getSupportCityString", new object[] {
                        theRegionCode}, callback, asyncState);
        }
        
        /// <remarks/>
        public string[] EndgetSupportCityString(System.IAsyncResult asyncResult) {
            object[] results = this.EndInvoke(asyncResult);
            return ((string[])(results[0]));
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://WebXml.com.cn/getWeather", RequestNamespace="http://WebXml.com.cn/", ResponseNamespace="http://WebXml.com.cn/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public string[] getWeather(string theCityCode, string theUserID) {
            object[] results = this.Invoke("getWeather", new object[] {
                        theCityCode,
                        theUserID});
            return ((string[])(results[0]));
        }
        
        /// <remarks/>
        public System.IAsyncResult BegingetWeather(string theCityCode, string theUserID, System.AsyncCallback callback, object asyncState) {
            return this.BeginInvoke("getWeather", new object[] {
                        theCityCode,
                        theUserID}, callback, asyncState);
        }
        
        /// <remarks/>
        public string[] EndgetWeather(System.IAsyncResult asyncResult) {
            object[] results = this.EndInvoke(asyncResult);
            return ((string[])(results[0]));
        }
    }
}
