276 lines
9.5 KiB
C#
276 lines
9.5 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_02", Namespace = "urn:sap-com:document:sap:rfc:functions")]
|
|
public partial class ZHRF_SYN_02 : System.Web.Services.Protocols.SoapHttpClientProtocol
|
|
{
|
|
|
|
private System.Threading.SendOrPostCallback CallZHRF_SYN_02OperationCompleted;
|
|
|
|
/// <remarks/>
|
|
public ZHRF_SYN_02()
|
|
{
|
|
this.Url = "http://172.16.7.58:8125/sap/bc/srt/rfc/sap/zhrf_syn_02/800/zhrf_syn_" +
|
|
"02/zhrf_syn_02";
|
|
}
|
|
|
|
/// <remarks/>
|
|
public event CallZHRF_SYN_02CompletedEventHandler CallZHRF_SYN_02Completed;
|
|
|
|
/// <remarks/>
|
|
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:sap-com:document:sap:rfc:functions:ZHRF_SYN_02:ZHRF_SYN_02Request", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Bare)]
|
|
[return: System.Xml.Serialization.XmlElementAttribute("ZHRF_SYN_02Response", Namespace = "urn:sap-com:document:sap:rfc:functions")]
|
|
public ZHRF_SYN_02Response CallZHRF_SYN_02([System.Xml.Serialization.XmlElementAttribute(Namespace = "urn:sap-com:document:sap:rfc:functions")] ZHRF_SYN_021 ZHRF_SYN_02)
|
|
{
|
|
object[] results = this.Invoke("CallZHRF_SYN_02", new object[] {
|
|
ZHRF_SYN_02});
|
|
return ((ZHRF_SYN_02Response)(results[0]));
|
|
}
|
|
|
|
/// <remarks/>
|
|
public System.IAsyncResult BeginCallZHRF_SYN_02(ZHRF_SYN_021 ZHRF_SYN_02, System.AsyncCallback callback, object asyncState)
|
|
{
|
|
return this.BeginInvoke("CallZHRF_SYN_02", new object[] {
|
|
ZHRF_SYN_02}, callback, asyncState);
|
|
}
|
|
|
|
/// <remarks/>
|
|
public ZHRF_SYN_02Response EndCallZHRF_SYN_02(System.IAsyncResult asyncResult)
|
|
{
|
|
object[] results = this.EndInvoke(asyncResult);
|
|
return ((ZHRF_SYN_02Response)(results[0]));
|
|
}
|
|
|
|
/// <remarks/>
|
|
public void CallZHRF_SYN_02Async(ZHRF_SYN_021 ZHRF_SYN_02)
|
|
{
|
|
this.CallZHRF_SYN_02Async(ZHRF_SYN_02, null);
|
|
}
|
|
|
|
/// <remarks/>
|
|
public void CallZHRF_SYN_02Async(ZHRF_SYN_021 ZHRF_SYN_02, object userState)
|
|
{
|
|
if ((this.CallZHRF_SYN_02OperationCompleted == null))
|
|
{
|
|
this.CallZHRF_SYN_02OperationCompleted = new System.Threading.SendOrPostCallback(this.OnCallZHRF_SYN_02OperationCompleted);
|
|
}
|
|
this.InvokeAsync("CallZHRF_SYN_02", new object[] {
|
|
ZHRF_SYN_02}, this.CallZHRF_SYN_02OperationCompleted, userState);
|
|
}
|
|
|
|
private void OnCallZHRF_SYN_02OperationCompleted(object arg)
|
|
{
|
|
if ((this.CallZHRF_SYN_02Completed != null))
|
|
{
|
|
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
|
|
this.CallZHRF_SYN_02Completed(this, new CallZHRF_SYN_02CompletedEventArgs(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_021
|
|
{
|
|
|
|
private string i_DATEField;
|
|
|
|
private ZHRS_POST[] t_POSTField;
|
|
|
|
/// <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_POST[] T_POST
|
|
{
|
|
get
|
|
{
|
|
return this.t_POSTField;
|
|
}
|
|
set
|
|
{
|
|
this.t_POSTField = 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_POST
|
|
{
|
|
|
|
private string zJOBIDField;
|
|
|
|
private string zJOBNAMEField;
|
|
|
|
private string zJOBACTIDField;
|
|
|
|
private string zDEPIDField;
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
|
|
public string ZJOBID
|
|
{
|
|
get
|
|
{
|
|
return this.zJOBIDField;
|
|
}
|
|
set
|
|
{
|
|
this.zJOBIDField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
|
|
public string ZJOBNAME
|
|
{
|
|
get
|
|
{
|
|
return this.zJOBNAMEField;
|
|
}
|
|
set
|
|
{
|
|
this.zJOBNAMEField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
|
|
public string ZJOBACTID
|
|
{
|
|
get
|
|
{
|
|
return this.zJOBACTIDField;
|
|
}
|
|
set
|
|
{
|
|
this.zJOBACTIDField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
|
|
public string ZDEPID
|
|
{
|
|
get
|
|
{
|
|
return this.zDEPIDField;
|
|
}
|
|
set
|
|
{
|
|
this.zDEPIDField = 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_02Response
|
|
{
|
|
|
|
private ZHRS_POST[] t_POSTField;
|
|
|
|
/// <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_POST[] T_POST
|
|
{
|
|
get
|
|
{
|
|
return this.t_POSTField;
|
|
}
|
|
set
|
|
{
|
|
this.t_POSTField = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "4.6.1055.0")]
|
|
public delegate void CallZHRF_SYN_02CompletedEventHandler(object sender, CallZHRF_SYN_02CompletedEventArgs e);
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "4.6.1055.0")]
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
|
public partial class CallZHRF_SYN_02CompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
|
|
{
|
|
|
|
private object[] results;
|
|
|
|
internal CallZHRF_SYN_02CompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
|
|
base(exception, cancelled, userState)
|
|
{
|
|
this.results = results;
|
|
}
|
|
|
|
/// <remarks/>
|
|
public ZHRF_SYN_02Response Result
|
|
{
|
|
get
|
|
{
|
|
this.RaiseExceptionIfNecessary();
|
|
return ((ZHRF_SYN_02Response)(this.results[0]));
|
|
}
|
|
}
|
|
}
|
|
}
|