//------------------------------------------------------------------------------ // // 此代码由工具生成。 // 运行时版本:4.0.30319.42000 // // 对此文件的更改可能会导致不正确的行为,并且如果 // 重新生成代码,这些更改将会丢失。 // //------------------------------------------------------------------------------ // // 此源代码是由 Microsoft.VSDesigner 4.0.30319.42000 版自动生成。 // #pragma warning disable 1591 namespace NFine.Application.SAPGetChkDocInfoVPN { using System; using System.Web.Services; using System.Diagnostics; using System.Web.Services.Protocols; using System.Xml.Serialization; using System.ComponentModel; /// // CODEGEN: 未处理命名空间“http://schemas.xmlsoap.org/ws/2004/09/policy”中的可选 WSDL 扩展元素“Policy”。 // CODEGEN: 未处理命名空间“http://schemas.xmlsoap.org/ws/2004/08/addressing”中的可选 WSDL 扩展元素“EndpointReference”。 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9032.0")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Web.Services.WebServiceBindingAttribute(Name="ZWMS_SK_WS_CHECK", Namespace="urn:sap-com:document:sap:rfc:functions")] public partial class ZWMS_SK_WS_CHECK : System.Web.Services.Protocols.SoapHttpClientProtocol { private System.Threading.SendOrPostCallback CallZWMS_SK_WS_CHECKOperationCompleted; private bool useDefaultCredentialsSetExplicitly; /// public ZWMS_SK_WS_CHECK() { this.Url = global::NFine.Application.Properties.Settings.Default.NFine_Application_SAPGetChkDocInfoVPN_ZWMS_SK_WS_CHECK; 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; } } /// public event CallZWMS_SK_WS_CHECKCompletedEventHandler CallZWMS_SK_WS_CHECKCompleted; /// [System.Web.Services.Protocols.SoapDocumentMethodAttribute("", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Bare)] [return: System.Xml.Serialization.XmlElementAttribute("ZWMS_SK_WS_CHECKResponse", Namespace="urn:sap-com:document:sap:rfc:functions")] public ZWMS_SK_WS_CHECKResponse CallZWMS_SK_WS_CHECK([System.Xml.Serialization.XmlElementAttribute(Namespace="urn:sap-com:document:sap:rfc:functions")] ZWMS_SK_WS_CHECK1 ZWMS_SK_WS_CHECK) { object[] results = this.Invoke("CallZWMS_SK_WS_CHECK", new object[] { ZWMS_SK_WS_CHECK}); return ((ZWMS_SK_WS_CHECKResponse)(results[0])); } /// public void CallZWMS_SK_WS_CHECKAsync(ZWMS_SK_WS_CHECK1 ZWMS_SK_WS_CHECK) { this.CallZWMS_SK_WS_CHECKAsync(ZWMS_SK_WS_CHECK, null); } /// public void CallZWMS_SK_WS_CHECKAsync(ZWMS_SK_WS_CHECK1 ZWMS_SK_WS_CHECK, object userState) { if ((this.CallZWMS_SK_WS_CHECKOperationCompleted == null)) { this.CallZWMS_SK_WS_CHECKOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCallZWMS_SK_WS_CHECKOperationCompleted); } this.InvokeAsync("CallZWMS_SK_WS_CHECK", new object[] { ZWMS_SK_WS_CHECK}, this.CallZWMS_SK_WS_CHECKOperationCompleted, userState); } private void OnCallZWMS_SK_WS_CHECKOperationCompleted(object arg) { if ((this.CallZWMS_SK_WS_CHECKCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.CallZWMS_SK_WS_CHECKCompleted(this, new CallZWMS_SK_WS_CHECKCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// 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; } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="urn:sap-com:document:sap:rfc:functions")] public partial class ZWMS_SK_WS_CHECK1 { private string cHG_DATEField; private string pRUEFLOSField; private string wERKSField; private ZWMS_SK_CHECK_HEAD[] zCHECK_HEADField; private ZWMS_SK_CHECK_ITEM[] zCHECK_ITEMField; /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public string CHG_DATE { get { return this.cHG_DATEField; } set { this.cHG_DATEField = value; } } /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public string PRUEFLOS { get { return this.pRUEFLOSField; } set { this.pRUEFLOSField = value; } } /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public string WERKS { get { return this.wERKSField; } set { this.wERKSField = value; } } /// [System.Xml.Serialization.XmlArrayAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] [System.Xml.Serialization.XmlArrayItemAttribute("item", Form=System.Xml.Schema.XmlSchemaForm.Unqualified, IsNullable=false)] public ZWMS_SK_CHECK_HEAD[] ZCHECK_HEAD { get { return this.zCHECK_HEADField; } set { this.zCHECK_HEADField = value; } } /// [System.Xml.Serialization.XmlArrayAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] [System.Xml.Serialization.XmlArrayItemAttribute("item", Form=System.Xml.Schema.XmlSchemaForm.Unqualified, IsNullable=false)] public ZWMS_SK_CHECK_ITEM[] ZCHECK_ITEM { get { return this.zCHECK_ITEMField; } set { this.zCHECK_ITEMField = value; } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:sap-com:document:sap:rfc:functions")] public partial class ZWMS_SK_CHECK_HEAD { private string pRUEFLOSField; private string aRTField; private string wERKSField; private string vDATUMField; private string eBELNField; private string eBELPField; private string aUFNRField; private string lIFNRField; private string nAME1Field; private string tEST1Field; private string tEST2Field; private string tEST3Field; private string tEST4Field; private string tEST5Field; /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public string PRUEFLOS { get { return this.pRUEFLOSField; } set { this.pRUEFLOSField = value; } } /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public string ART { get { return this.aRTField; } set { this.aRTField = value; } } /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public string WERKS { get { return this.wERKSField; } set { this.wERKSField = value; } } /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public string VDATUM { get { return this.vDATUMField; } set { this.vDATUMField = value; } } /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public string EBELN { get { return this.eBELNField; } set { this.eBELNField = value; } } /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public string EBELP { get { return this.eBELPField; } set { this.eBELPField = value; } } /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public string AUFNR { get { return this.aUFNRField; } set { this.aUFNRField = value; } } /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public string LIFNR { get { return this.lIFNRField; } set { this.lIFNRField = value; } } /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public string NAME1 { get { return this.nAME1Field; } set { this.nAME1Field = value; } } /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public string TEST1 { get { return this.tEST1Field; } set { this.tEST1Field = value; } } /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public string TEST2 { get { return this.tEST2Field; } set { this.tEST2Field = value; } } /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public string TEST3 { get { return this.tEST3Field; } set { this.tEST3Field = value; } } /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public string TEST4 { get { return this.tEST4Field; } set { this.tEST4Field = value; } } /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public string TEST5 { get { return this.tEST5Field; } set { this.tEST5Field = value; } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:sap-com:document:sap:rfc:functions")] public partial class ZWMS_SK_CHECK_ITEM { private string pRUEFLOSField; private string mATNRField; private string mAKTXField; private decimal lOSMENGEField; private decimal lMENGESCHField; private decimal hGMENGEField; private decimal l_LMEField; private string mEINSField; private string lGORTField; private string sOBKZField; private string kDAUFField; private string kDPOSField; private string mEMOField; private string bEDNRField; private string sERNPField; private string lTKZAField; private string oVERTOPField; private string tEST1Field; private string tEST2Field; private string tEST3Field; private string tEST4Field; private string tEST5Field; /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public string PRUEFLOS { get { return this.pRUEFLOSField; } set { this.pRUEFLOSField = value; } } /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public string MATNR { get { return this.mATNRField; } set { this.mATNRField = value; } } /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public string MAKTX { get { return this.mAKTXField; } set { this.mAKTXField = value; } } /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public decimal LOSMENGE { get { return this.lOSMENGEField; } set { this.lOSMENGEField = value; } } /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public decimal LMENGESCH { get { return this.lMENGESCHField; } set { this.lMENGESCHField = value; } } /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public decimal HGMENGE { get { return this.hGMENGEField; } set { this.hGMENGEField = value; } } /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public decimal L_LME { get { return this.l_LMEField; } set { this.l_LMEField = value; } } /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public string MEINS { get { return this.mEINSField; } set { this.mEINSField = value; } } /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public string LGORT { get { return this.lGORTField; } set { this.lGORTField = value; } } /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public string SOBKZ { get { return this.sOBKZField; } set { this.sOBKZField = value; } } /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public string KDAUF { get { return this.kDAUFField; } set { this.kDAUFField = value; } } /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public string KDPOS { get { return this.kDPOSField; } set { this.kDPOSField = value; } } /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public string MEMO { get { return this.mEMOField; } set { this.mEMOField = value; } } /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public string BEDNR { get { return this.bEDNRField; } set { this.bEDNRField = value; } } /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public string SERNP { get { return this.sERNPField; } set { this.sERNPField = value; } } /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public string LTKZA { get { return this.lTKZAField; } set { this.lTKZAField = value; } } /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public string OVERTOP { get { return this.oVERTOPField; } set { this.oVERTOPField = value; } } /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public string TEST1 { get { return this.tEST1Field; } set { this.tEST1Field = value; } } /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public string TEST2 { get { return this.tEST2Field; } set { this.tEST2Field = value; } } /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public string TEST3 { get { return this.tEST3Field; } set { this.tEST3Field = value; } } /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public string TEST4 { get { return this.tEST4Field; } set { this.tEST4Field = value; } } /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public string TEST5 { get { return this.tEST5Field; } set { this.tEST5Field = value; } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="urn:sap-com:document:sap:rfc:functions")] public partial class ZWMS_SK_WS_CHECKResponse { private ZWMS_SK_CHECK_HEAD[] zCHECK_HEADField; private ZWMS_SK_CHECK_ITEM[] zCHECK_ITEMField; private string z_NULLField; /// [System.Xml.Serialization.XmlArrayAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] [System.Xml.Serialization.XmlArrayItemAttribute("item", Form=System.Xml.Schema.XmlSchemaForm.Unqualified, IsNullable=false)] public ZWMS_SK_CHECK_HEAD[] ZCHECK_HEAD { get { return this.zCHECK_HEADField; } set { this.zCHECK_HEADField = value; } } /// [System.Xml.Serialization.XmlArrayAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] [System.Xml.Serialization.XmlArrayItemAttribute("item", Form=System.Xml.Schema.XmlSchemaForm.Unqualified, IsNullable=false)] public ZWMS_SK_CHECK_ITEM[] ZCHECK_ITEM { get { return this.zCHECK_ITEMField; } set { this.zCHECK_ITEMField = value; } } /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public string Z_NULL { get { return this.z_NULLField; } set { this.z_NULLField = value; } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9032.0")] public delegate void CallZWMS_SK_WS_CHECKCompletedEventHandler(object sender, CallZWMS_SK_WS_CHECKCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9032.0")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] public partial class CallZWMS_SK_WS_CHECKCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { private object[] results; internal CallZWMS_SK_WS_CHECKCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState) { this.results = results; } /// public ZWMS_SK_WS_CHECKResponse Result { get { this.RaiseExceptionIfNecessary(); return ((ZWMS_SK_WS_CHECKResponse)(this.results[0])); } } } } #pragma warning restore 1591