//------------------------------------------------------------------------------
//
// 此代码由工具生成。
// 运行时版本: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 ZSCM2_SCFL : System.Web.Services.Protocols.SoapHttpClientProtocol
{
private System.Threading.SendOrPostCallback ZscmScflOperationCompleted;
///
public ZSCM2_SCFL()
{
this.Url = "http://10.89.33.201:8001/sap/bc/srt/rfc/sap/zscm2_scfl/800/zscm2_scfl/bind" +
"ing";
}
///
public event ZscmScflCompletedEventHandler ZscmScflCompleted;
///
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Bare)]
[return: System.Xml.Serialization.XmlElementAttribute("ZscmScflResponse", Namespace = "urn:sap-com:document:sap:soap:functions:mc-style")]
public ZscmScflResponse ZscmScfl([System.Xml.Serialization.XmlElementAttribute("ZscmScfl", Namespace = "urn:sap-com:document:sap:soap:functions:mc-style")] ZscmScfl ZscmScfl1)
{
object[] results = this.Invoke("ZscmScfl", new object[] {
ZscmScfl1});
return ((ZscmScflResponse)(results[0]));
}
///
public System.IAsyncResult BeginZscmScfl(ZscmScfl ZscmScfl1, System.AsyncCallback callback, object asyncState)
{
return this.BeginInvoke("ZscmScfl", new object[] {
ZscmScfl1}, callback, asyncState);
}
///
public ZscmScflResponse EndZscmScfl(System.IAsyncResult asyncResult)
{
object[] results = this.EndInvoke(asyncResult);
return ((ZscmScflResponse)(results[0]));
}
///
public void ZscmScflAsync(ZscmScfl ZscmScfl1)
{
this.ZscmScflAsync(ZscmScfl1, null);
}
///
public void ZscmScflAsync(ZscmScfl ZscmScfl1, object userState)
{
if ((this.ZscmScflOperationCompleted == null))
{
this.ZscmScflOperationCompleted = new System.Threading.SendOrPostCallback(this.OnZscmScflOperationCompleted);
}
this.InvokeAsync("ZscmScfl", new object[] {
ZscmScfl1}, this.ZscmScflOperationCompleted, userState);
}
private void OnZscmScflOperationCompleted(object arg)
{
if ((this.ZscmScflCompleted != null))
{
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.ZscmScflCompleted(this, new ZscmScflCompletedEventArgs(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 ZscmScfl
{
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 ZscmScflResponse
{
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 ZscmScflCompletedEventHandler(object sender, ZscmScflCompletedEventArgs e);
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "4.8.3928.0")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class ZscmScflCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
{
private object[] results;
internal ZscmScflCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState)
{
this.results = results;
}
///
public ZscmScflResponse Result
{
get
{
this.RaiseExceptionIfNecessary();
return ((ZscmScflResponse)(this.results[0]));
}
}
}