259 lines
9.0 KiB
C#
259 lines
9.0 KiB
C#
//------------------------------------------------------------------------------
|
|
// <auto-generated>
|
|
// This code was generated by a tool.
|
|
// Runtime Version:4.0.30319.42000
|
|
//
|
|
// Changes to this file may cause incorrect behavior and will be lost if
|
|
// the code is regenerated.
|
|
// </auto-generated>
|
|
//------------------------------------------------------------------------------
|
|
|
|
using System;
|
|
using System.ComponentModel;
|
|
using System.Diagnostics;
|
|
using System.Web.Services;
|
|
using System.Web.Services.Protocols;
|
|
using System.Xml.Serialization;
|
|
|
|
//
|
|
// This source code was auto-generated by wsdl, Version=4.6.1055.0.
|
|
//
|
|
|
|
namespace Dlhis.ScheduledTask.WsProxy
|
|
{
|
|
/// <remarks/>
|
|
// CODEGEN: The optional WSDL extension element 'Policy' from namespace 'http://schemas.xmlsoap.org/ws/2004/09/policy' was not handled.
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "4.6.1055.0")]
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
|
[System.Web.Services.WebServiceBindingAttribute(Name = "ZHRF_SYN_01", Namespace = "urn:sap-com:document:sap:rfc:functions")]
|
|
public partial class ZHRF_SYN_01 : System.Web.Services.Protocols.SoapHttpClientProtocol
|
|
{
|
|
|
|
private System.Threading.SendOrPostCallback CallZHRF_SYN_01OperationCompleted;
|
|
|
|
/// <remarks/>
|
|
public ZHRF_SYN_01()
|
|
{
|
|
this.Url = "http://sapehpap01.jinkosolar.cn:8125/sap/bc/srt/rfc/sap/zhrf_syn_01/800/zhrf_syn_" +
|
|
"01/zhrf_syn_01";
|
|
}
|
|
|
|
/// <remarks/>
|
|
public event CallZHRF_SYN_01CompletedEventHandler CallZHRF_SYN_01Completed;
|
|
|
|
/// <remarks/>
|
|
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:sap-com:document:sap:rfc:functions:ZHRF_SYN_01:ZHRF_SYN_01Request", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Bare)]
|
|
[return: System.Xml.Serialization.XmlElementAttribute("ZHRF_SYN_01Response", Namespace = "urn:sap-com:document:sap:rfc:functions")]
|
|
public ZHRF_SYN_01Response CallZHRF_SYN_01([System.Xml.Serialization.XmlElementAttribute(Namespace = "urn:sap-com:document:sap:rfc:functions")] ZHRF_SYN_011 ZHRF_SYN_01)
|
|
{
|
|
object[] results = this.Invoke("CallZHRF_SYN_01", new object[] {
|
|
ZHRF_SYN_01});
|
|
return ((ZHRF_SYN_01Response)(results[0]));
|
|
}
|
|
|
|
/// <remarks/>
|
|
public System.IAsyncResult BeginCallZHRF_SYN_01(ZHRF_SYN_011 ZHRF_SYN_01, System.AsyncCallback callback, object asyncState)
|
|
{
|
|
return this.BeginInvoke("CallZHRF_SYN_01", new object[] {
|
|
ZHRF_SYN_01}, callback, asyncState);
|
|
}
|
|
|
|
/// <remarks/>
|
|
public ZHRF_SYN_01Response EndCallZHRF_SYN_01(System.IAsyncResult asyncResult)
|
|
{
|
|
object[] results = this.EndInvoke(asyncResult);
|
|
return ((ZHRF_SYN_01Response)(results[0]));
|
|
}
|
|
|
|
/// <remarks/>
|
|
public void CallZHRF_SYN_01Async(ZHRF_SYN_011 ZHRF_SYN_01)
|
|
{
|
|
this.CallZHRF_SYN_01Async(ZHRF_SYN_01, null);
|
|
}
|
|
|
|
/// <remarks/>
|
|
public void CallZHRF_SYN_01Async(ZHRF_SYN_011 ZHRF_SYN_01, object userState)
|
|
{
|
|
if ((this.CallZHRF_SYN_01OperationCompleted == null))
|
|
{
|
|
this.CallZHRF_SYN_01OperationCompleted = new System.Threading.SendOrPostCallback(this.OnCallZHRF_SYN_01OperationCompleted);
|
|
}
|
|
this.InvokeAsync("CallZHRF_SYN_01", new object[] {
|
|
ZHRF_SYN_01}, this.CallZHRF_SYN_01OperationCompleted, userState);
|
|
}
|
|
|
|
private void OnCallZHRF_SYN_01OperationCompleted(object arg)
|
|
{
|
|
if ((this.CallZHRF_SYN_01Completed != null))
|
|
{
|
|
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
|
|
this.CallZHRF_SYN_01Completed(this, new CallZHRF_SYN_01CompletedEventArgs(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.6.1055.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 ZHRF_SYN_011
|
|
{
|
|
|
|
private string i_DATEField;
|
|
|
|
private ZHRS_ORG[] t_ORGField;
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
|
|
public string I_DATE
|
|
{
|
|
get
|
|
{
|
|
return this.i_DATEField;
|
|
}
|
|
set
|
|
{
|
|
this.i_DATEField = 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 ZHRS_ORG[] T_ORG
|
|
{
|
|
get
|
|
{
|
|
return this.t_ORGField;
|
|
}
|
|
set
|
|
{
|
|
this.t_ORGField = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "4.6.1055.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 ZHRS_ORG
|
|
{
|
|
|
|
private string oBJIDField;
|
|
|
|
private string sTEXTField;
|
|
|
|
private string sOBIDField;
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
|
|
public string OBJID
|
|
{
|
|
get
|
|
{
|
|
return this.oBJIDField;
|
|
}
|
|
set
|
|
{
|
|
this.oBJIDField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
|
|
public string STEXT
|
|
{
|
|
get
|
|
{
|
|
return this.sTEXTField;
|
|
}
|
|
set
|
|
{
|
|
this.sTEXTField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
|
|
public string SOBID
|
|
{
|
|
get
|
|
{
|
|
return this.sOBIDField;
|
|
}
|
|
set
|
|
{
|
|
this.sOBIDField = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "4.6.1055.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 ZHRF_SYN_01Response
|
|
{
|
|
|
|
private ZHRS_ORG[] t_ORGField;
|
|
|
|
/// <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 ZHRS_ORG[] T_ORG
|
|
{
|
|
get
|
|
{
|
|
return this.t_ORGField;
|
|
}
|
|
set
|
|
{
|
|
this.t_ORGField = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "4.6.1055.0")]
|
|
public delegate void CallZHRF_SYN_01CompletedEventHandler(object sender, CallZHRF_SYN_01CompletedEventArgs e);
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "4.6.1055.0")]
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
|
public partial class CallZHRF_SYN_01CompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
|
|
{
|
|
|
|
private object[] results;
|
|
|
|
internal CallZHRF_SYN_01CompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
|
|
base(exception, cancelled, userState)
|
|
{
|
|
this.results = results;
|
|
}
|
|
|
|
/// <remarks/>
|
|
public ZHRF_SYN_01Response Result
|
|
{
|
|
get
|
|
{
|
|
this.RaiseExceptionIfNecessary();
|
|
return ((ZHRF_SYN_01Response)(this.results[0]));
|
|
}
|
|
}
|
|
}
|
|
} |