//------------------------------------------------------------------------------
// <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>
//------------------------------------------------------------------------------

// 
// This source code was auto-generated by Microsoft.VSDesigner, Version 1.1.4322.2032.
// 
namespace Microsoft.RFIDLab.EPCISDemo.RFIDTagPrintService {
    using System.Diagnostics;
    using System.Xml.Serialization;
    using System;
    using System.Web.Services.Protocols;
    using System.ComponentModel;
    using System.Web.Services;
	using System.Configuration;
    
    
    /// <remarks/>
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Web.Services.WebServiceBindingAttribute(Name="ServiceRFIDPrintingSoap", Namespace="http://tempuri.org/")]
    public class ServiceRFIDPrinting : System.Web.Services.Protocols.SoapHttpClientProtocol {
        
        /// <remarks/>
        public ServiceRFIDPrinting() {
            this.Url = ConfigurationSettings.AppSettings["TagPrintingWSURL"];
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/printRFIDTag", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public int printRFIDTag(string format, string jobName, int printerNumber, [System.Xml.Serialization.XmlArrayItemAttribute(NestingLevel=1)] string[][] arrVariables) {
            object[] results = this.Invoke("printRFIDTag", new object[] {
                        format,
                        jobName,
                        printerNumber,
                        arrVariables});
            return ((int)(results[0]));
        }
        
        /// <remarks/>
        public System.IAsyncResult BeginprintRFIDTag(string format, string jobName, int printerNumber, string[][] arrVariables, System.AsyncCallback callback, object asyncState) {
            return this.BeginInvoke("printRFIDTag", new object[] {
                        format,
                        jobName,
                        printerNumber,
                        arrVariables}, callback, asyncState);
        }
        
        /// <remarks/>
        public int EndprintRFIDTag(System.IAsyncResult asyncResult) {
            object[] results = this.EndInvoke(asyncResult);
            return ((int)(results[0]));
        }
    }
}
