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

// 
// Microsoft.VSDesigner generó automáticamente este código fuente, versión=1.1.4322.2032.
// 
namespace banco1.Visa {
    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="VisaBinding", Namespace="http://visa/Visa.wsdl")]
    public class VisaWS : System.Web.Services.Protocols.SoapHttpClientProtocol {
        
        /// <remarks/>
        public VisaWS() {
            this.Url = "http://macario-polotp:8888/VisaJava-Visa-context-root/VisaWS";
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapRpcMethodAttribute("", RequestNamespace="VisaWS", ResponseNamespace="VisaWS")]
        [return: System.Xml.Serialization.SoapElementAttribute("return")]
        public bool validarCompra(string numeroDeTarjeta, System.Double importe) {
            object[] results = this.Invoke("validarCompra", new object[] {
                        numeroDeTarjeta,
                        importe});
            return ((bool)(results[0]));
        }
        
        /// <remarks/>
        public System.IAsyncResult BeginvalidarCompra(string numeroDeTarjeta, System.Double importe, System.AsyncCallback callback, object asyncState) {
            return this.BeginInvoke("validarCompra", new object[] {
                        numeroDeTarjeta,
                        importe}, callback, asyncState);
        }
        
        /// <remarks/>
        public bool EndvalidarCompra(System.IAsyncResult asyncResult) {
            object[] results = this.EndInvoke(asyncResult);
            return ((bool)(results[0]));
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapRpcMethodAttribute("", RequestNamespace="VisaWS", ResponseNamespace="VisaWS")]
        public void main(string[] args) {
            this.Invoke("main", new object[] {
                        args});
        }
        
        /// <remarks/>
        public System.IAsyncResult Beginmain(string[] args, System.AsyncCallback callback, object asyncState) {
            return this.BeginInvoke("main", new object[] {
                        args}, callback, asyncState);
        }
        
        /// <remarks/>
        public void Endmain(System.IAsyncResult asyncResult) {
            this.EndInvoke(asyncResult);
        }
    }
}
