wmes提交

1.前台调用:

private void btnQcConfirm_Click(object sender, System.EventArgs e)
		{
			// 修改记录08 开始
            string userID = pub.User.UserID;
            string userName = pub.User.UserName;
            string R_PROCESS_STATUS = string.Empty;
            string R_REQUEST_ID = string.Empty;
            string R_RECORD_NUMBER = string.Empty;
            string R_ERROR_MESSAGE = string.Empty;

            // 获取当前单据的单据去向(取值INFOR,WMS或NULL)
            string billTraget = drBill["HEADERS_ID"].ToString().ToUpper();
            if (billTraget == "WMS")
            {
                #region 该服务把MES生成的手机单板退料单,提交给WMS系统
                try
                {
                    // 引用webservice服务
                    WMS_M01_ImportMobileTaskReturnBillSrv_ep importMobileTaskReturnBillSrv = new WMS_M01_ImportMobileTaskReturnBillSrv_ep();

                    // 获取数据库中存放的web地址
                    string webUrl = string.Empty;
                    string strSql = "select ccode,meaning from sfc.sys_baseinfo_lines where bi_header_id in(select bi_header_id from sfc.sys_baseinfo_headers where bi_code='{0}')";
                    strSql = string.Format(strSql, "5080000");
                    DataTable dtUrl = ZTE.SFC.Framework.Public.GetUniqueInstance().Session.GetDataTable(strSql);
                    if (dtUrl != null && dtUrl.Rows.Count > 0)
                    {
                        for (int i = 0; i < dtUrl.Rows.Count; i++)
                        {
                            if (dtUrl.Rows[i]["CCODE"].ToString().Trim().Equals("手机单板退料提交服务"))
                            {
                                webUrl = dtUrl.Rows[i]["MEANING"].ToString().Trim();
                                return;
                            }
                        }
                    }

                    ImportMobileTaskReturnBillSrvRequest request = new ImportMobileTaskReturnBillSrvRequest();
                    // 服务消息头
                    request.MsgHeader = new MsgHeader();
                    request.MsgHeader.SOURCE_SYSTEM_ID = "100000108713";
                    request.MsgHeader.SOURCE_SYSTEM_NAME = "MES";
                    request.MsgHeader.USER_ID = userID;
                    request.MsgHeader.USER_NAME = userName;
                    request.MsgHeader.SUBMIT_DATE = DateTime.Now.ToString("yyyy-MM-ddTHH:mm:ss");

                    // 单据明细
                    BillDetailItrm[] billDeiail = new BillDetailItrm[3];
                    billDeiail.BILL_NO = "";
                    billDeiail.HEAD_ID = "";
                    billDeiail.ITEM_CODE = "";
                    billDeiail.ITEM_QTY = "";
                    billDeiail.LINE_ID = "";
                    billDeiail.OPERATION_SEQ_NUM = "";
                    billDeiail.PRODUCT_NO = "";
                    billDeiail.RESERVED1 = "";
                    billDeiail.RESERVED2 = "";
                    billDeiail.RESERVED3 = "";
                    billDeiail.RESERVED4 = "";
                    billDeiail.RESERVED5 = "";
                    billDeiail.VERSION = "";

                    // 服务输入的数据实体
                    Input inputEntity = new Input();
                    inputEntity.BILL_NO = "";
                    inputEntity.CLASS_NUMBER = "";
                    inputEntity.CLASS_TYPE = "";
                    inputEntity.CREATE_BY = "";
                    inputEntity.CREATION_DATE = "";
                    inputEntity.ENTITY_NAME = "";
                    inputEntity.FACTORY = "";
                    inputEntity.HEAD_ID = "";
                    inputEntity.PLAN_NUM = "";
                    inputEntity.SUB_INVENTORY = "";
                    inputEntity.RESERVED1 = "";
                    inputEntity.RESERVED2 = "";
                    inputEntity.RESERVED3 = "";
                    inputEntity.RESERVED4 = "";
                    inputEntity.RESERVED5 = "";
                    inputEntity.BILL_DETAIL = billDeiail;// 这个地方有问题


                    ImportMobileTaskReturnBillSrvResponse response = new ImportMobileTaskReturnBillSrvResponse();

                    // 返回处理结果
                    response = importMobileTaskReturnBillSrv.process(request);

                    // 处理状态标志
                    R_PROCESS_STATUS = response.PROCESS_STATUS;

                    //ErrorItem[] errorItem = response.ErrorCollection;

                    #region 根据处理状态,分别处理
                    //if (R_PROCESS_STATUS == "E")
                    //{
                    //    //处理失败,给出错误提示
                    //    if (errorItem.Length > 0)
                    //    {

                    //        R_ERROR_MESSAGE = errorItem[0].ERROR_MESSAGE;

                    //    }

                    //    MessageShow("调用Buy-Sell提交ERP接口服务失败!\n" + R_ERROR_MESSAGE);
                    //    return;
                    //}
                    //else
                    //{
                    //    //处理成功,刷新单元格值
                    //    //if (responseItem.Length > 0)
                    //    //{
                    //    //    R_RECORD_NUMBER = responseItem[0].RECORD_NUMBER;
                    //    //}
                    //    R_RECORD_NUMBER = response.PROCESS_MESSAGE;

                    //    //更新ERP销售单号
                    //    ServiceProxy.FactroyBuySellOrderHeadRM.BuySellUpdate(mRECORD_ID, R_RECORD_NUMBER, ref ReturnInfo);
                    //    if (ReturnInfo.Length > 0)
                    //    {
                    //        this.MessageShow(ReturnInfo.Trim());
                    //    }
                    //    else
                    //    {
                    //        //更新单元格内容
                    //        drSource["ERP_SELL_BILL_NO"] = R_RECORD_NUMBER;
                    //        drSource["BILL_STATUS"] = "已提交";
                    //    }
                    //}
                    #endregion

                }
                catch (Exception ex) 
                {
                    MessageShow("调用提交ERP服务失败!\n" + ex.Message);
                    return;
                }
                #endregion
            }
            else if (billTraget == "INFO")
            {
                #region 该服务把MES生成的手机退料单,提交给Infor系统

                #endregion
            }
            else 
            { 
                
            }

            // 修改记录08 结束

            // 提示是否进行单据确认
// mlm auto replace 2006-08-22 17:17:51
//			if(pub.Show("确认单据吗?",ErrorLevel.Question)==DialogResult.No)
			if(pub.Show(SR.AutoGenerate_00758,ErrorLevel.Question)==DialogResult.No)
			{
				return;
			}

			// 如果待确认的单据
			if(fpSpread1.ActiveSheet.Rows.Count<=0)
			{
// mlm auto replace 2006-08-22 17:17:51
//				pub.Show("没有可以确认的数据!",ErrorLevel.Message);
				pub.Show(SR.AutoGenerate_00759,ErrorLevel.Message);
				return;
			}

			// 修改记录5 2006-03-08 C_车间管理_QC确认编码变更_yuhaiyue 开始

			// 判断 确认物料数量和种类与提交的是否一致
			// 如果不一致
			if (fpSpread1.ActiveSheet.Rows.Count != fpSpread2.ActiveSheet.Rows.Count)
			{
				// 提示用户确认
// mlm auto replace 2006-08-22 17:17:51
//				if(pub.Show("已QC确认项目数量少于单据提交的项目数量,是否确认?",ErrorLevel.Question)==DialogResult.No)
				if(pub.Show(SR.AutoGenerate_01163,ErrorLevel.Question)==DialogResult.No)
				{
					return;
				}
			}

			// 修改记录5 结束

			try
			{
				ZTE.SFC.Data.Client.SFC.PS_WS_QC_CONFIRM.UPDATE_BILL_STATUS spUpdateHeadStatus=
					new ZTE.SFC.Data.Client.SFC.PS_WS_QC_CONFIRM.UPDATE_BILL_STATUS();
				spUpdateHeadStatus.X_HEADERS_ID=dcmHeadersID;
				spUpdateHeadStatus.X_TRANS_TYPE=2;

                // 修改记录7 开始
                spUpdateHeadStatus.X_ORG_ID = this.CurrentUser.OrganizationId;
                // 修改记录7 结束
				
				// 修改记录4 2006-01-25 CMMDB00128003 B_车间管理_QC确认时没有记录QC确认人和QC确认时间_yinjun 开始
                //spUpdateHeadStatus.X_UPDATE_BY  = pub.User.UserID;
                //spUpdateHeadStatus.X_UPDATE_MAN = pub.User.UserName;
                // 修改记录08 开始
                spUpdateHeadStatus.X_UPDATE_BY = userID;
                spUpdateHeadStatus.X_UPDATE_MAN = userName;
                // 修改记录08 结束
				spUpdateHeadStatus.X_LOGIN_BY   = pub.User.LoginID;
				// 修改记录4 结束

				spUpdateHeadStatus.Execute();
				txtStatus.Text="QC确认";
				drBill.BeginEdit();
				drBill["TRANS_STATUS"] = "QC确认";
				drBill.EndEdit();
				ShiftStatus();
			}
			catch
			{
// mlm auto replace 2006-08-22 17:17:51
//				pub.Show("确认失败!",ErrorLevel.Message);
				pub.Show(SR.AutoGenerate_00760,ErrorLevel.Message);
				return;
			}
		}

  

 2.接口定义:

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

// 
// 此源代码是由 Microsoft.VSDesigner 2.0.50727.3643 版自动生成。
// 
#pragma warning disable 1591

namespace ZTE.SFC.WorkShopMgmt.PSQC_CONFRIM.ImportMobileTaskReturnBillSrv {
    using System.Diagnostics;
    using System.Web.Services;
    using System.ComponentModel;
    using System.Web.Services.Protocols;
    using System;
    using System.Xml.Serialization;
    
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Web.Services.WebServiceBindingAttribute(Name="WMS_M01_ImportMobileTaskReturnBillSrvBinding", Namespace="http://eai.zte.com/WMS_M01_ImportMobileTaskReturnBillSrv")]
    public partial class WMS_M01_ImportMobileTaskReturnBillSrv_ep : System.Web.Services.Protocols.SoapHttpClientProtocol {
        
        private System.Threading.SendOrPostCallback processOperationCompleted;
        
        private bool useDefaultCredentialsSetExplicitly;
        
        /// <remarks/>
        public WMS_M01_ImportMobileTaskReturnBillSrv_ep() {
            this.Url = global::ZTE.SFC.WorkShopMgmt.PSQC_CONFRIM.Properties.Settings.Default.SFC_WorkShopMgmt_PSQC_CONFRIM_ImportMobileTaskReturnBillSrv_WMS_M01_ImportMobileTaskReturnBillSrv_ep;
            if ((this.IsLocalFileSystemWebService(this.Url) == true)) {
                this.UseDefaultCredentials = true;
                this.useDefaultCredentialsSetExplicitly = false;
            }
            else {
                this.useDefaultCredentialsSetExplicitly = true;
            }
        }
        
        public new string Url {
            get {
                return base.Url;
            }
            set {
                if ((((this.IsLocalFileSystemWebService(base.Url) == true) 
                            && (this.useDefaultCredentialsSetExplicitly == false)) 
                            && (this.IsLocalFileSystemWebService(value) == false))) {
                    base.UseDefaultCredentials = false;
                }
                base.Url = value;
            }
        }
        
        public new bool UseDefaultCredentials {
            get {
                return base.UseDefaultCredentials;
            }
            set {
                base.UseDefaultCredentials = value;
                this.useDefaultCredentialsSetExplicitly = true;
            }
        }
        
        /// <remarks/>
        public event processCompletedEventHandler processCompleted;
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("process", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Bare)]
        [return: System.Xml.Serialization.XmlElementAttribute("ImportMobileTaskReturnBillSrvResponse", Namespace="http://eai.zte.com/WMS_M01_ImportMobileTaskReturnBillSrv")]
        public ImportMobileTaskReturnBillSrvResponse process([System.Xml.Serialization.XmlElementAttribute(Namespace="http://eai.zte.com/WMS_M01_ImportMobileTaskReturnBillSrv")] ImportMobileTaskReturnBillSrvRequest ImportMobileTaskReturnBillSrvRequest) {
            object[] results = this.Invoke("process", new object[] {
                        ImportMobileTaskReturnBillSrvRequest});
            return ((ImportMobileTaskReturnBillSrvResponse)(results[0]));
        }
        
        /// <remarks/>
        public void processAsync(ImportMobileTaskReturnBillSrvRequest ImportMobileTaskReturnBillSrvRequest) {
            this.processAsync(ImportMobileTaskReturnBillSrvRequest, null);
        }
        
        /// <remarks/>
        public void processAsync(ImportMobileTaskReturnBillSrvRequest ImportMobileTaskReturnBillSrvRequest, object userState) {
            if ((this.processOperationCompleted == null)) {
                this.processOperationCompleted = new System.Threading.SendOrPostCallback(this.OnprocessOperationCompleted);
            }
            this.InvokeAsync("process", new object[] {
                        ImportMobileTaskReturnBillSrvRequest}, this.processOperationCompleted, userState);
        }
        
        private void OnprocessOperationCompleted(object arg) {
            if ((this.processCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.processCompleted(this, new processCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        public new void CancelAsync(object userState) {
            base.CancelAsync(userState);
        }
        
        private bool IsLocalFileSystemWebService(string url) {
            if (((url == null) 
                        || (url == string.Empty))) {
                return false;
            }
            System.Uri wsUri = new System.Uri(url);
            if (((wsUri.Port >= 1024) 
                        && (string.Compare(wsUri.Host, "localHost", System.StringComparison.OrdinalIgnoreCase) == 0))) {
                return true;
            }
            return false;
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "2.0.50727.3082")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://eai.zte.com/WMS_M01_ImportMobileTaskReturnBillSrv")]
    public partial class ImportMobileTaskReturnBillSrvRequest {
        
        private Input[] inputCollectionField;
        
        private MsgHeader msgHeaderField;
        
        /// <remarks/>
        public Input[] InputCollection {
            get {
                return this.inputCollectionField;
            }
            set {
                this.inputCollectionField = value;
            }
        }
        
        /// <remarks/>
        public MsgHeader MsgHeader {
            get {
                return this.msgHeaderField;
            }
            set {
                this.msgHeaderField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "2.0.50727.3082")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://eai.zte.com/Input")]
    public partial class Input {
        
        private string pLAN_NUMField;
        
        private System.Nullable<int> hEAD_IDField;
        
        private string bILL_NOField;
        
        private string eNTITY_NAMEField;
        
        private string cLASS_NUMBERField;
        
        private string cLASS_TYPEField;
        
        private string sUB_INVENTORYField;
        
        private string fACTORYField;
        
        private string cREATE_BYField;
        
        private System.Nullable<System.DateTime> cREATION_DATEField;
        
        private BillDetailItrm[] bILL_DETAILField;
        
        private string rESERVED1Field;
        
        private string rESERVED2Field;
        
        private string rESERVED3Field;
        
        private string rESERVED4Field;
        
        private string rESERVED5Field;
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string PLAN_NUM {
            get {
                return this.pLAN_NUMField;
            }
            set {
                this.pLAN_NUMField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<int> HEAD_ID {
            get {
                return this.hEAD_IDField;
            }
            set {
                this.hEAD_IDField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string BILL_NO {
            get {
                return this.bILL_NOField;
            }
            set {
                this.bILL_NOField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string ENTITY_NAME {
            get {
                return this.eNTITY_NAMEField;
            }
            set {
                this.eNTITY_NAMEField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string CLASS_NUMBER {
            get {
                return this.cLASS_NUMBERField;
            }
            set {
                this.cLASS_NUMBERField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string CLASS_TYPE {
            get {
                return this.cLASS_TYPEField;
            }
            set {
                this.cLASS_TYPEField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string SUB_INVENTORY {
            get {
                return this.sUB_INVENTORYField;
            }
            set {
                this.sUB_INVENTORYField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string FACTORY {
            get {
                return this.fACTORYField;
            }
            set {
                this.fACTORYField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string CREATE_BY {
            get {
                return this.cREATE_BYField;
            }
            set {
                this.cREATE_BYField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<System.DateTime> CREATION_DATE {
            get {
                return this.cREATION_DATEField;
            }
            set {
                this.cREATION_DATEField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlArrayAttribute(IsNullable=true)]
        [System.Xml.Serialization.XmlArrayItemAttribute(Namespace="http://eai.zte.com/BillDetail", IsNullable=false)]
        public BillDetailItrm[] BILL_DETAIL {
            get {
                return this.bILL_DETAILField;
            }
            set {
                this.bILL_DETAILField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string RESERVED1 {
            get {
                return this.rESERVED1Field;
            }
            set {
                this.rESERVED1Field = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string RESERVED2 {
            get {
                return this.rESERVED2Field;
            }
            set {
                this.rESERVED2Field = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string RESERVED3 {
            get {
                return this.rESERVED3Field;
            }
            set {
                this.rESERVED3Field = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string RESERVED4 {
            get {
                return this.rESERVED4Field;
            }
            set {
                this.rESERVED4Field = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string RESERVED5 {
            get {
                return this.rESERVED5Field;
            }
            set {
                this.rESERVED5Field = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "2.0.50727.3082")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://eai.zte.com/BillDetail")]
    public partial class BillDetailItrm {
        
        private string pRODUCT_NOField;
        
        private System.Nullable<int> hEAD_IDField;
        
        private System.Nullable<int> lINE_IDField;
        
        private string bILL_NOField;
        
        private string iTEM_CODEField;
        
        private string vERSIONField;
        
        private System.Nullable<int> iTEM_QTYField;
        
        private System.Nullable<int> oPERATION_SEQ_NUMField;
        
        private string rESERVED1Field;
        
        private string rESERVED2Field;
        
        private string rESERVED3Field;
        
        private string rESERVED4Field;
        
        private string rESERVED5Field;
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string PRODUCT_NO {
            get {
                return this.pRODUCT_NOField;
            }
            set {
                this.pRODUCT_NOField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<int> HEAD_ID {
            get {
                return this.hEAD_IDField;
            }
            set {
                this.hEAD_IDField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<int> LINE_ID {
            get {
                return this.lINE_IDField;
            }
            set {
                this.lINE_IDField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string BILL_NO {
            get {
                return this.bILL_NOField;
            }
            set {
                this.bILL_NOField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string ITEM_CODE {
            get {
                return this.iTEM_CODEField;
            }
            set {
                this.iTEM_CODEField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string VERSION {
            get {
                return this.vERSIONField;
            }
            set {
                this.vERSIONField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<int> ITEM_QTY {
            get {
                return this.iTEM_QTYField;
            }
            set {
                this.iTEM_QTYField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<int> OPERATION_SEQ_NUM {
            get {
                return this.oPERATION_SEQ_NUMField;
            }
            set {
                this.oPERATION_SEQ_NUMField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string RESERVED1 {
            get {
                return this.rESERVED1Field;
            }
            set {
                this.rESERVED1Field = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string RESERVED2 {
            get {
                return this.rESERVED2Field;
            }
            set {
                this.rESERVED2Field = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string RESERVED3 {
            get {
                return this.rESERVED3Field;
            }
            set {
                this.rESERVED3Field = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string RESERVED4 {
            get {
                return this.rESERVED4Field;
            }
            set {
                this.rESERVED4Field = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string RESERVED5 {
            get {
                return this.rESERVED5Field;
            }
            set {
                this.rESERVED5Field = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "2.0.50727.3082")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://eai.zte.com/WMS_M01_ImportMobileTaskReturnBillSrv")]
    public partial class Error {
        
        private string rECORD_NUMBERField;
        
        private string eNTITY_NAMEField;
        
        private string eRROR_MESSAGEField;
        
        /// <remarks/>
        public string RECORD_NUMBER {
            get {
                return this.rECORD_NUMBERField;
            }
            set {
                this.rECORD_NUMBERField = value;
            }
        }
        
        /// <remarks/>
        public string ENTITY_NAME {
            get {
                return this.eNTITY_NAMEField;
            }
            set {
                this.eNTITY_NAMEField = value;
            }
        }
        
        /// <remarks/>
        public string ERROR_MESSAGE {
            get {
                return this.eRROR_MESSAGEField;
            }
            set {
                this.eRROR_MESSAGEField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "2.0.50727.3082")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://eai.zte.com/WMS_M01_ImportMobileTaskReturnBillSrv")]
    public partial class Response {
        
        private string rEQUEST_IDField;
        
        private string rECORD_NUMBERField;
        
        /// <remarks/>
        public string REQUEST_ID {
            get {
                return this.rEQUEST_IDField;
            }
            set {
                this.rEQUEST_IDField = value;
            }
        }
        
        /// <remarks/>
        public string RECORD_NUMBER {
            get {
                return this.rECORD_NUMBERField;
            }
            set {
                this.rECORD_NUMBERField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "2.0.50727.3082")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://eai.zte.com/WMS_M01_ImportMobileTaskReturnBillSrv")]
    public partial class ImportMobileTaskReturnBillSrvResponse {
        
        private string pROCESS_STATUSField;
        
        private string pROCESS_MESSAGEField;
        
        private string iNSTANCE_IDField;
        
        private Response[] responseCollectionField;
        
        private Error[] errorCollectionField;
        
        /// <remarks/>
        public string PROCESS_STATUS {
            get {
                return this.pROCESS_STATUSField;
            }
            set {
                this.pROCESS_STATUSField = value;
            }
        }
        
        /// <remarks/>
        public string PROCESS_MESSAGE {
            get {
                return this.pROCESS_MESSAGEField;
            }
            set {
                this.pROCESS_MESSAGEField = value;
            }
        }
        
        /// <remarks/>
        public string INSTANCE_ID {
            get {
                return this.iNSTANCE_IDField;
            }
            set {
                this.iNSTANCE_IDField = value;
            }
        }
        
        /// <remarks/>
        public Response[] ResponseCollection {
            get {
                return this.responseCollectionField;
            }
            set {
                this.responseCollectionField = value;
            }
        }
        
        /// <remarks/>
        public Error[] ErrorCollection {
            get {
                return this.errorCollectionField;
            }
            set {
                this.errorCollectionField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "2.0.50727.3082")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://eai.zte.com/common/MsgHeader")]
    public partial class MsgHeader {
        
        private string sOURCE_SYSTEM_IDField;
        
        private string sOURCE_SYSTEM_NAMEField;
        
        private string uSER_IDField;
        
        private string uSER_NAMEField;
        
        private string sUBMIT_DATEField;
        
        /// <remarks/>
        public string SOURCE_SYSTEM_ID {
            get {
                return this.sOURCE_SYSTEM_IDField;
            }
            set {
                this.sOURCE_SYSTEM_IDField = value;
            }
        }
        
        /// <remarks/>
        public string SOURCE_SYSTEM_NAME {
            get {
                return this.sOURCE_SYSTEM_NAMEField;
            }
            set {
                this.sOURCE_SYSTEM_NAMEField = value;
            }
        }
        
        /// <remarks/>
        public string USER_ID {
            get {
                return this.uSER_IDField;
            }
            set {
                this.uSER_IDField = value;
            }
        }
        
        /// <remarks/>
        public string USER_NAME {
            get {
                return this.uSER_NAMEField;
            }
            set {
                this.uSER_NAMEField = value;
            }
        }
        
        /// <remarks/>
        public string SUBMIT_DATE {
            get {
                return this.sUBMIT_DATEField;
            }
            set {
                this.sUBMIT_DATEField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
    public delegate void processCompletedEventHandler(object sender, processCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class processCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal processCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public ImportMobileTaskReturnBillSrvResponse Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((ImportMobileTaskReturnBillSrvResponse)(this.results[0]));
            }
        }
    }
}

#pragma warning restore 1591

  

posted @ 2014-07-21 18:42  夏空  阅读(952)  评论(0)    收藏  举报