//------------------------------------------------------------------------------ // // This code was generated by a tool. // Runtime Version: 1.0.2914.16 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // //------------------------------------------------------------------------------ namespace compsoc.CityProxy { using System.Diagnostics; using System.Xml.Serialization; using System; using System.Web.Services.Protocols; using System.Web.Services; [System.Web.Services.WebServiceBindingAttribute(Name="ZipcodeLookupServiceSoap", Namespace="http://dinoch.dyndns.org/webservices/")] public class ZipcodeLookupService : System.Web.Services.Protocols.SoapHttpClientProtocol { [System.Diagnostics.DebuggerStepThroughAttribute()] public ZipcodeLookupService() { this.Url = "http://hosting.msugs.ch/cheeso9/ZipService.asmx"; } [System.Diagnostics.DebuggerStepThroughAttribute()] [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://dinoch.dyndns.org/webservices/ZipToCityAndState", RequestNamespace="http://dinoch.dyndns.org/webservices/", ResponseNamespace="http://dinoch.dyndns.org/webservices/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] [return: System.Xml.Serialization.XmlArrayItemAttribute("string", IsNullable=true)] public string[] ZipToCityAndState(string zip) { object[] results = this.Invoke("ZipToCityAndState", new object[] { zip}); return ((string[])(results[0])); } [System.Diagnostics.DebuggerStepThroughAttribute()] public System.IAsyncResult BeginZipToCityAndState(string zip, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("ZipToCityAndState", new object[] { zip}, callback, asyncState); } [System.Diagnostics.DebuggerStepThroughAttribute()] public string[] EndZipToCityAndState(System.IAsyncResult asyncResult) { object[] results = this.EndInvoke(asyncResult); return ((string[])(results[0])); } [System.Diagnostics.DebuggerStepThroughAttribute()] [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://dinoch.dyndns.org/webservices/ZipTo1CityAndState", RequestNamespace="http://dinoch.dyndns.org/webservices/", ResponseNamespace="http://dinoch.dyndns.org/webservices/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] public string ZipTo1CityAndState(string zip) { object[] results = this.Invoke("ZipTo1CityAndState", new object[] { zip}); return ((string)(results[0])); } [System.Diagnostics.DebuggerStepThroughAttribute()] public System.IAsyncResult BeginZipTo1CityAndState(string zip, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("ZipTo1CityAndState", new object[] { zip}, callback, asyncState); } [System.Diagnostics.DebuggerStepThroughAttribute()] public string EndZipTo1CityAndState(System.IAsyncResult asyncResult) { object[] results = this.EndInvoke(asyncResult); return ((string)(results[0])); } [System.Diagnostics.DebuggerStepThroughAttribute()] [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://dinoch.dyndns.org/webservices/CityToZip", RequestNamespace="http://dinoch.dyndns.org/webservices/", ResponseNamespace="http://dinoch.dyndns.org/webservices/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] [return: System.Xml.Serialization.XmlArrayItemAttribute("string", IsNullable=true)] public string[] CityToZip(string city) { object[] results = this.Invoke("CityToZip", new object[] { city}); return ((string[])(results[0])); } [System.Diagnostics.DebuggerStepThroughAttribute()] public System.IAsyncResult BeginCityToZip(string city, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("CityToZip", new object[] { city}, callback, asyncState); } [System.Diagnostics.DebuggerStepThroughAttribute()] public string[] EndCityToZip(System.IAsyncResult asyncResult) { object[] results = this.EndInvoke(asyncResult); return ((string[])(results[0])); } [System.Diagnostics.DebuggerStepThroughAttribute()] [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://dinoch.dyndns.org/webservices/CityTo1Zip", RequestNamespace="http://dinoch.dyndns.org/webservices/", ResponseNamespace="http://dinoch.dyndns.org/webservices/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] public string CityTo1Zip(string city) { object[] results = this.Invoke("CityTo1Zip", new object[] { city}); return ((string)(results[0])); } [System.Diagnostics.DebuggerStepThroughAttribute()] public System.IAsyncResult BeginCityTo1Zip(string city, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("CityTo1Zip", new object[] { city}, callback, asyncState); } [System.Diagnostics.DebuggerStepThroughAttribute()] public string EndCityTo1Zip(System.IAsyncResult asyncResult) { object[] results = this.EndInvoke(asyncResult); return ((string)(results[0])); } } }