|
|
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.42000
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------
//
// 此源代码是由 Microsoft.VSDesigner 4.0.30319.42000 版自动生成。
//
#pragma warning disable 1591
namespace NFine.Application.SAPCallBackJYHGDVPNCS { using System.Diagnostics; using System; using System.Xml.Serialization; using System.ComponentModel; using System.Web.Services.Protocols; using System.Web.Services; /// <remarks/>
// 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.4084.0")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Web.Services.WebServiceBindingAttribute(Name="ZWMS_SK_WS_RUKU", Namespace="urn:sap-com:document:sap:rfc:functions")] public partial class ZWMS_SK_WS_RUKU : System.Web.Services.Protocols.SoapHttpClientProtocol { private System.Threading.SendOrPostCallback CallZWMS_SK_WS_RUKUOperationCompleted; private bool useDefaultCredentialsSetExplicitly; /// <remarks/>
public ZWMS_SK_WS_RUKU() { this.Url = global::NFine.Application.Properties.Settings.Default.NFine_Application_SAPCallBackJYHGDVPNCS_ZWMS_SK_WS_RUKU; 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 CallZWMS_SK_WS_RUKUCompletedEventHandler CallZWMS_SK_WS_RUKUCompleted; /// <remarks/>
[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_RUKUResponse", Namespace="urn:sap-com:document:sap:rfc:functions")] public ZWMS_SK_WS_RUKUResponse CallZWMS_SK_WS_RUKU([System.Xml.Serialization.XmlElementAttribute(Namespace="urn:sap-com:document:sap:rfc:functions")] ZWMS_SK_WS_RUKU1 ZWMS_SK_WS_RUKU) { object[] results = this.Invoke("CallZWMS_SK_WS_RUKU", new object[] { ZWMS_SK_WS_RUKU}); return ((ZWMS_SK_WS_RUKUResponse)(results[0])); } /// <remarks/>
public void CallZWMS_SK_WS_RUKUAsync(ZWMS_SK_WS_RUKU1 ZWMS_SK_WS_RUKU) { this.CallZWMS_SK_WS_RUKUAsync(ZWMS_SK_WS_RUKU, null); } /// <remarks/>
public void CallZWMS_SK_WS_RUKUAsync(ZWMS_SK_WS_RUKU1 ZWMS_SK_WS_RUKU, object userState) { if ((this.CallZWMS_SK_WS_RUKUOperationCompleted == null)) { this.CallZWMS_SK_WS_RUKUOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCallZWMS_SK_WS_RUKUOperationCompleted); } this.InvokeAsync("CallZWMS_SK_WS_RUKU", new object[] { ZWMS_SK_WS_RUKU}, this.CallZWMS_SK_WS_RUKUOperationCompleted, userState); } private void OnCallZWMS_SK_WS_RUKUOperationCompleted(object arg) { if ((this.CallZWMS_SK_WS_RUKUCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.CallZWMS_SK_WS_RUKUCompleted(this, new CallZWMS_SK_WS_RUKUCompletedEventArgs(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", "4.8.4084.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_RUKU1 { private decimal l_LMEField; private string nEWIDField; private string pRUEFLOSField; private string sERNPField; private ZWEBS_GERNR[] z_GERNRField; /// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public decimal L_LME { get { return this.l_LMEField; } set { this.l_LMEField = value; } } /// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public string NEWID { get { return this.nEWIDField; } set { this.nEWIDField = value; } } /// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public string PRUEFLOS { get { return this.pRUEFLOSField; } set { this.pRUEFLOSField = value; } } /// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public string SERNP { get { return this.sERNPField; } set { this.sERNPField = value; } } /// <remarks/>
[System.Xml.Serialization.XmlArrayAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] [System.Xml.Serialization.XmlArrayItemAttribute("item", Form=System.Xml.Schema.XmlSchemaForm.Unqualified, IsNullable=false)] public ZWEBS_GERNR[] Z_GERNR { get { return this.z_GERNRField; } set { this.z_GERNRField = value; } } } /// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.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 ZWEBS_GERNR { private string mANDTField; private string dANJUField; private string pOSNRField; private int gERNR_KEYField; private string mATNRField; private string gERNRField; /// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public string MANDT { get { return this.mANDTField; } set { this.mANDTField = value; } } /// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public string DANJU { get { return this.dANJUField; } set { this.dANJUField = value; } } /// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public string POSNR { get { return this.pOSNRField; } set { this.pOSNRField = value; } } /// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public int GERNR_KEY { get { return this.gERNR_KEYField; } set { this.gERNR_KEYField = value; } } /// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public string MATNR { get { return this.mATNRField; } set { this.mATNRField = value; } } /// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public string GERNR { get { return this.gERNRField; } set { this.gERNRField = value; } } } /// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.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_RUKUResponse { private string l_MESSAGEField; private ZWEBS_GERNR[] z_GERNRField; private string z_NULLField; /// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public string L_MESSAGE { get { return this.l_MESSAGEField; } set { this.l_MESSAGEField = value; } } /// <remarks/>
[System.Xml.Serialization.XmlArrayAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] [System.Xml.Serialization.XmlArrayItemAttribute("item", Form=System.Xml.Schema.XmlSchemaForm.Unqualified, IsNullable=false)] public ZWEBS_GERNR[] Z_GERNR { get { return this.z_GERNRField; } set { this.z_GERNRField = value; } } /// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public string Z_NULL { get { return this.z_NULLField; } set { this.z_NULLField = value; } } } /// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] public delegate void CallZWMS_SK_WS_RUKUCompletedEventHandler(object sender, CallZWMS_SK_WS_RUKUCompletedEventArgs e); /// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] public partial class CallZWMS_SK_WS_RUKUCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { private object[] results; internal CallZWMS_SK_WS_RUKUCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState) { this.results = results; } /// <remarks/>
public ZWMS_SK_WS_RUKUResponse Result { get { this.RaiseExceptionIfNecessary(); return ((ZWMS_SK_WS_RUKUResponse)(this.results[0])); } } } }
#pragma warning restore 1591
|