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