hudong
2025-06-04 5dc410803c593d1166b73f2b4a4a2e2b515ef09c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
//------------------------------------------------------------------------------
// <auto-generated>
//     此代码由工具生成。
//     运行时版本:4.0.30319.42000
//
//     对此文件的更改可能会导致不正确的行为,并且如果
//     重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------
 
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。
// 
 
 
/// <remarks/>
// 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;
 
    /// <remarks/>
    public ZSCM_NC()
    {
        this.Url = "http://10.89.33.201:8001/sap/bc/srt/rfc/sap/zscm_nc/800/zscm_nc/binding";
    }
 
    /// <remarks/>
    public event ZscmNcCompletedEventHandler ZscmNcCompleted;
 
    /// <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("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]));
    }
 
    /// <remarks/>
    public System.IAsyncResult BeginZscmNc(ZscmNc ZscmNc1, System.AsyncCallback callback, object asyncState)
    {
        return this.BeginInvoke("ZscmNc", new object[] {
                    ZscmNc1}, callback, asyncState);
    }
 
    /// <remarks/>
    public ZscmNcResponse EndZscmNc(System.IAsyncResult asyncResult)
    {
        object[] results = this.EndInvoke(asyncResult);
        return ((ZscmNcResponse)(results[0]));
    }
 
    /// <remarks/>
    public void ZscmNcAsync(ZscmNc ZscmNc1)
    {
        this.ZscmNcAsync(ZscmNc1, null);
    }
 
    /// <remarks/>
    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));
        }
    }
 
    /// <remarks/>
    public new void CancelAsync(object userState)
    {
        base.CancelAsync(userState);
    }
}
 
/// <remarks/>
[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;
 
    /// <remarks/>
    [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
    public string Input
    {
        get
        {
            return this.inputField;
        }
        set
        {
            this.inputField = value;
        }
    }
}
 
/// <remarks/>
[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;
 
    /// <remarks/>
    [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
    public string Output
    {
        get
        {
            return this.outputField;
        }
        set
        {
            this.outputField = value;
        }
    }
}
 
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "4.8.3928.0")]
public delegate void ZscmNcCompletedEventHandler(object sender, ZscmNcCompletedEventArgs e);
 
/// <remarks/>
[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;
    }
 
    /// <remarks/>
    public ZscmNcResponse Result
    {
        get
        {
            this.RaiseExceptionIfNecessary();
            return ((ZscmNcResponse)(this.results[0]));
        }
    }
}