//------------------------------------------------------------------------------
// <autogenerated>
//     This code was generated by a tool.
//     Runtime Version: 1.1.4322.573
//
//     Changes to this file may cause incorrect behavior and will be lost if 
//     the code is regenerated.
// </autogenerated>
//------------------------------------------------------------------------------

// 
// This source code was auto-generated by Microsoft.VSDesigner, Version 1.1.4322.573.
// 
namespace InfoProviderClient.Info {
    using System.Diagnostics;
    using System.Xml.Serialization;
    using System;
    using System.Web.Services.Protocols;
    using System.ComponentModel;
    using System.Web.Services;
    
    
    /// <remarks/>
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Web.Services.WebServiceBindingAttribute(Name="InformationProviderSoap", Namespace="http://www.agiledeveloper.com/ws")]
    public class InformationProvider : System.Web.Services.Protocols.SoapHttpClientProtocol {
        
        /// <remarks/>
        public InformationProvider() {
            this.Url = "http://localhost/Info/InformationProvider.asmx";
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.agiledeveloper.com/ws/getFullName", RequestNamespace="http://www.agiledeveloper.com/ws", ResponseNamespace="http://www.agiledeveloper.com/ws", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public string getFullName(string lastname) {
            object[] results = this.Invoke("getFullName", new object[] {
                        lastname});
            return ((string)(results[0]));
        }
        
        /// <remarks/>
        public System.IAsyncResult BegingetFullName(string lastname, System.AsyncCallback callback, object asyncState) {
            return this.BeginInvoke("getFullName", new object[] {
                        lastname}, callback, asyncState);
        }
        
        /// <remarks/>
        public string EndgetFullName(System.IAsyncResult asyncResult) {
            object[] results = this.EndInvoke(asyncResult);
            return ((string)(results[0]));
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.agiledeveloper.com/ws/getRecord", RequestNamespace="http://www.agiledeveloper.com/ws", ResponseNamespace="http://www.agiledeveloper.com/ws", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public string getRecord(string lastname) {
            object[] results = this.Invoke("getRecord", new object[] {
                        lastname});
            return ((string)(results[0]));
        }
        
        /// <remarks/>
        public System.IAsyncResult BegingetRecord(string lastname, System.AsyncCallback callback, object asyncState) {
            return this.BeginInvoke("getRecord", new object[] {
                        lastname}, callback, asyncState);
        }
        
        /// <remarks/>
        public string EndgetRecord(System.IAsyncResult asyncResult) {
            object[] results = this.EndInvoke(asyncResult);
            return ((string)(results[0]));
        }
    }
}
