//------------------------------------------------------------------------------ // // 此代码由工具生成。 // 运行时版本:4.0.30319.42000 // // 对此文件的更改可能会导致不正确的行为,并且如果 // 重新生成代码,这些更改将会丢失。 // //------------------------------------------------------------------------------ using System; using System.ComponentModel; using System.Diagnostics; using System.Web.Services; using System.Web.Services.Protocols; using System.Xml.Serialization; // // 此源代码由 wsdl 自动生成, Version=4.8.3928.0。 // /// // CODEGEN: 未处理命名空间“http://schemas.xmlsoap.org/ws/2004/09/policy”中的可选 WSDL 扩展元素“Policy”。 [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "4.8.3928.0")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Web.Services.WebServiceBindingAttribute(Name = "binding", Namespace = "urn:sap-com:document:sap:soap:functions:mc-style")] public partial class ZSCM_NC : System.Web.Services.Protocols.SoapHttpClientProtocol { private System.Threading.SendOrPostCallback ZscmNcOperationCompleted; /// public ZSCM_NC() { this.Url = "http://10.89.33.201:8001/sap/bc/srt/rfc/sap/zscm_nc/800/zscm_nc/binding"; } /// public event ZscmNcCompletedEventHandler ZscmNcCompleted; /// [System.Web.Services.Protocols.SoapDocumentMethodAttribute("", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Bare)] [return: System.Xml.Serialization.XmlElementAttribute("ZscmNcResponse", Namespace = "urn:sap-com:document:sap:soap:functions:mc-style")] public ZscmNcResponse ZscmNc([System.Xml.Serialization.XmlElementAttribute("ZscmNc", Namespace = "urn:sap-com:document:sap:soap:functions:mc-style")] ZscmNc ZscmNc1) { object[] results = this.Invoke("ZscmNc", new object[] { ZscmNc1}); return ((ZscmNcResponse)(results[0])); } /// public System.IAsyncResult BeginZscmNc(ZscmNc ZscmNc1, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("ZscmNc", new object[] { ZscmNc1}, callback, asyncState); } /// public ZscmNcResponse EndZscmNc(System.IAsyncResult asyncResult) { object[] results = this.EndInvoke(asyncResult); return ((ZscmNcResponse)(results[0])); } /// public void ZscmNcAsync(ZscmNc ZscmNc1) { this.ZscmNcAsync(ZscmNc1, null); } /// public void ZscmNcAsync(ZscmNc ZscmNc1, object userState) { if ((this.ZscmNcOperationCompleted == null)) { this.ZscmNcOperationCompleted = new System.Threading.SendOrPostCallback(this.OnZscmNcOperationCompleted); } this.InvokeAsync("ZscmNc", new object[] { ZscmNc1}, this.ZscmNcOperationCompleted, userState); } private void OnZscmNcOperationCompleted(object arg) { if ((this.ZscmNcCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.ZscmNcCompleted(this, new ZscmNcCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// public new void CancelAsync(object userState) { base.CancelAsync(userState); } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "4.8.3928.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "urn:sap-com:document:sap:soap:functions:mc-style")] public partial class ZscmNc { private string inputField; /// [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] public string Input { get { return this.inputField; } set { this.inputField = value; } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "4.8.3928.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "urn:sap-com:document:sap:soap:functions:mc-style")] public partial class ZscmNcResponse { private string outputField; /// [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] public string Output { get { return this.outputField; } set { this.outputField = value; } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "4.8.3928.0")] public delegate void ZscmNcCompletedEventHandler(object sender, ZscmNcCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "4.8.3928.0")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] public partial class ZscmNcCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { private object[] results; internal ZscmNcCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState) { this.results = results; } /// public ZscmNcResponse Result { get { this.RaiseExceptionIfNecessary(); return ((ZscmNcResponse)(this.results[0])); } } }