//------------------------------------------------------------------------------ // // 此代码由工具生成。 // 运行时版本:4.0.30319.42000 // // 对此文件的更改可能会导致不正确的行为,并且如果 // 重新生成代码,这些更改将会丢失。 // //------------------------------------------------------------------------------ // // 此源代码是由 Microsoft.VSDesigner 4.0.30319.42000 版自动生成。 // #pragma warning disable 1591 namespace ICSSoft.DataProject.SAPCallBackDispatchVPN { 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_DO_GZ", Namespace="urn:sap-com:document:sap:rfc:functions")] public partial class ZWMS_SK_DO_GZ : System.Web.Services.Protocols.SoapHttpClientProtocol { private System.Threading.SendOrPostCallback CallZWMS_SK_DO_GZOperationCompleted; private bool useDefaultCredentialsSetExplicitly; /// public ZWMS_SK_DO_GZ() { this.Url = global::ICSSoft.DataProject.Properties.Settings.Default.ICSSoft_DataProject_SAPCallBackDispatchVPN_ZWMS_SK_DO_GZ; 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_DO_GZCompletedEventHandler CallZWMS_SK_DO_GZCompleted; /// [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_DO_GZResponse", Namespace="urn:sap-com:document:sap:rfc:functions")] public ZWMS_SK_DO_GZResponse CallZWMS_SK_DO_GZ([System.Xml.Serialization.XmlElementAttribute(Namespace="urn:sap-com:document:sap:rfc:functions")] ZWMS_SK_DO_GZ1 ZWMS_SK_DO_GZ) { object[] results = this.Invoke("CallZWMS_SK_DO_GZ", new object[] { ZWMS_SK_DO_GZ}); return ((ZWMS_SK_DO_GZResponse)(results[0])); } /// public void CallZWMS_SK_DO_GZAsync(ZWMS_SK_DO_GZ1 ZWMS_SK_DO_GZ) { this.CallZWMS_SK_DO_GZAsync(ZWMS_SK_DO_GZ, null); } /// public void CallZWMS_SK_DO_GZAsync(ZWMS_SK_DO_GZ1 ZWMS_SK_DO_GZ, object userState) { if ((this.CallZWMS_SK_DO_GZOperationCompleted == null)) { this.CallZWMS_SK_DO_GZOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCallZWMS_SK_DO_GZOperationCompleted); } this.InvokeAsync("CallZWMS_SK_DO_GZ", new object[] { ZWMS_SK_DO_GZ}, this.CallZWMS_SK_DO_GZOperationCompleted, userState); } private void OnCallZWMS_SK_DO_GZOperationCompleted(object arg) { if ((this.CallZWMS_SK_DO_GZCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.CallZWMS_SK_DO_GZCompleted(this, new CallZWMS_SK_DO_GZCompletedEventArgs(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_DO_GZ1 { private ZWMS_DO_GERNR[] t_GERNRField; private ZWMS_DO_HEAD[] t_HEADField; private ZWMS_DO_ITEM[] t_ITEMField; private ZWMS_DO_RETURN[] t_RETURNField; /// [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_DO_GERNR[] T_GERNR { get { return this.t_GERNRField; } set { this.t_GERNRField = 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_DO_HEAD[] T_HEAD { get { return this.t_HEADField; } set { this.t_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_DO_ITEM[] T_ITEM { get { return this.t_ITEMField; } set { this.t_ITEMField = 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_DO_RETURN[] T_RETURN { get { return this.t_RETURNField; } set { this.t_RETURNField = 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_DO_GERNR { private string vBELNField; private string pOSNRField; private int gERNR_KEYField; private string gERNRField; /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public string VBELN { get { return this.vBELNField; } set { this.vBELNField = value; } } /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public string POSNR { get { return this.pOSNRField; } set { this.pOSNRField = value; } } /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public int GERNR_KEY { get { return this.gERNR_KEYField; } set { this.gERNR_KEYField = value; } } /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public string GERNR { get { return this.gERNRField; } set { this.gERNRField = 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_DO_RETURN { private string vBELNField; private string zFLGField; private string zMESSField; private string mBLNRField; /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public string VBELN { get { return this.vBELNField; } set { this.vBELNField = value; } } /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public string ZFLG { get { return this.zFLGField; } set { this.zFLGField = value; } } /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public string ZMESS { get { return this.zMESSField; } set { this.zMESSField = value; } } /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public string MBLNR { get { return this.mBLNRField; } set { this.mBLNRField = 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_DO_ITEM { private string vBELNField; private string pOSNRField; private string mATNRField; private string mAKTXField; private string dESCRField; private string vRKMEField; private decimal lFIMGField; private string wERKSField; private string lGORTField; private string sERAILField; private string kDAUFField; private string kDPOSField; 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 VBELN { get { return this.vBELNField; } set { this.vBELNField = value; } } /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public string POSNR { get { return this.pOSNRField; } set { this.pOSNRField = 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 string DESCR { get { return this.dESCRField; } set { this.dESCRField = value; } } /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public string VRKME { get { return this.vRKMEField; } set { this.vRKMEField = value; } } /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public decimal LFIMG { get { return this.lFIMGField; } set { this.lFIMGField = 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 LGORT { get { return this.lGORTField; } set { this.lGORTField = value; } } /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public string SERAIL { get { return this.sERAILField; } set { this.sERAILField = 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 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_DO_HEAD { private string vBELNField; private string lFDATField; private string kUNNRField; private string nAME1Field; private string vSTELField; private string lFARTField; private string vTEXTField; 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 VBELN { get { return this.vBELNField; } set { this.vBELNField = value; } } /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public string LFDAT { get { return this.lFDATField; } set { this.lFDATField = value; } } /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public string KUNNR { get { return this.kUNNRField; } set { this.kUNNRField = 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 VSTEL { get { return this.vSTELField; } set { this.vSTELField = value; } } /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public string LFART { get { return this.lFARTField; } set { this.lFARTField = value; } } /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public string VTEXT { get { return this.vTEXTField; } set { this.vTEXTField = 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_DO_GZResponse { private ZWMS_DO_GERNR[] t_GERNRField; private ZWMS_DO_HEAD[] t_HEADField; private ZWMS_DO_ITEM[] t_ITEMField; private ZWMS_DO_RETURN[] t_RETURNField; /// [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_DO_GERNR[] T_GERNR { get { return this.t_GERNRField; } set { this.t_GERNRField = 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_DO_HEAD[] T_HEAD { get { return this.t_HEADField; } set { this.t_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_DO_ITEM[] T_ITEM { get { return this.t_ITEMField; } set { this.t_ITEMField = 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_DO_RETURN[] T_RETURN { get { return this.t_RETURNField; } set { this.t_RETURNField = value; } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9032.0")] public delegate void CallZWMS_SK_DO_GZCompletedEventHandler(object sender, CallZWMS_SK_DO_GZCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9032.0")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] public partial class CallZWMS_SK_DO_GZCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { private object[] results; internal CallZWMS_SK_DO_GZCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState) { this.results = results; } /// public ZWMS_SK_DO_GZResponse Result { get { this.RaiseExceptionIfNecessary(); return ((ZWMS_SK_DO_GZResponse)(this.results[0])); } } } } #pragma warning restore 1591