980 lines
34 KiB
C#
980 lines
34 KiB
C#
|
// ------------------------------------------------------------------------------
|
|||
|
// <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 Microsoft.VisualBasic.CompilerServices;
|
|||
|
|
|||
|
//
|
|||
|
// 原始程式碼已由 Microsoft.VSDesigner 自動產生,版本 4.0.30319.42000。
|
|||
|
//
|
|||
|
namespace AutoRunLib_C.wsERP_EAI
|
|||
|
{
|
|||
|
|
|||
|
/// <remarks/>
|
|||
|
[System.CodeDom.Compiler.GeneratedCode("System.Web.Services", "4.8.3761.0")]
|
|||
|
[DebuggerStepThrough()]
|
|||
|
[DesignerCategory("code")]
|
|||
|
[WebServiceBinding(Name = "IntegrationEntrySoapBinding", Namespace = "http://entry.serviceengine.cross.digiwin.com")]
|
|||
|
public partial class IntegrationEntry : SoapHttpClientProtocol
|
|||
|
{
|
|||
|
|
|||
|
private System.Threading.SendOrPostCallback regEAIOperationCompleted;
|
|||
|
|
|||
|
private System.Threading.SendOrPostCallback getParamListOperationCompleted;
|
|||
|
|
|||
|
private System.Threading.SendOrPostCallback regProdAPOperationCompleted;
|
|||
|
|
|||
|
private System.Threading.SendOrPostCallback regSrvOperationCompleted;
|
|||
|
|
|||
|
private System.Threading.SendOrPostCallback getProdListOperationCompleted;
|
|||
|
|
|||
|
private System.Threading.SendOrPostCallback getProdOperationCompleted;
|
|||
|
|
|||
|
private System.Threading.SendOrPostCallback getSrvOperationCompleted;
|
|||
|
|
|||
|
private System.Threading.SendOrPostCallback invokeEtlOperationCompleted;
|
|||
|
|
|||
|
private System.Threading.SendOrPostCallback invokeSrvOperationCompleted;
|
|||
|
|
|||
|
private System.Threading.SendOrPostCallback getEtlJobListOperationCompleted;
|
|||
|
|
|||
|
private System.Threading.SendOrPostCallback invokeMdmOperationCompleted;
|
|||
|
|
|||
|
private bool useDefaultCredentialsSetExplicitly;
|
|||
|
|
|||
|
/// <remarks/>
|
|||
|
public IntegrationEntry() : base()
|
|||
|
{
|
|||
|
Url = My.MySettings.Default.AutoRunLib_wsERP_EAI_IntegrationEntry;
|
|||
|
if (IsLocalFileSystemWebService(Url) == true)
|
|||
|
{
|
|||
|
UseDefaultCredentials = true;
|
|||
|
useDefaultCredentialsSetExplicitly = false;
|
|||
|
}
|
|||
|
else
|
|||
|
{
|
|||
|
useDefaultCredentialsSetExplicitly = true;
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
public new string Url
|
|||
|
{
|
|||
|
get
|
|||
|
{
|
|||
|
return base.Url;
|
|||
|
}
|
|||
|
set
|
|||
|
{
|
|||
|
if (IsLocalFileSystemWebService(base.Url) == true && useDefaultCredentialsSetExplicitly == false && IsLocalFileSystemWebService(value) == false)
|
|||
|
|
|||
|
{
|
|||
|
base.UseDefaultCredentials = false;
|
|||
|
}
|
|||
|
base.Url = value;
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
public new bool UseDefaultCredentials
|
|||
|
{
|
|||
|
get
|
|||
|
{
|
|||
|
return base.UseDefaultCredentials;
|
|||
|
}
|
|||
|
set
|
|||
|
{
|
|||
|
base.UseDefaultCredentials = value;
|
|||
|
useDefaultCredentialsSetExplicitly = true;
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
/// <remarks/>
|
|||
|
public event regEAICompletedEventHandler regEAICompleted;
|
|||
|
|
|||
|
/// <remarks/>
|
|||
|
public event getParamListCompletedEventHandler getParamListCompleted;
|
|||
|
|
|||
|
/// <remarks/>
|
|||
|
public event regProdAPCompletedEventHandler regProdAPCompleted;
|
|||
|
|
|||
|
/// <remarks/>
|
|||
|
public event regSrvCompletedEventHandler regSrvCompleted;
|
|||
|
|
|||
|
/// <remarks/>
|
|||
|
public event getProdListCompletedEventHandler getProdListCompleted;
|
|||
|
|
|||
|
/// <remarks/>
|
|||
|
public event getProdCompletedEventHandler getProdCompleted;
|
|||
|
|
|||
|
/// <remarks/>
|
|||
|
public event getSrvCompletedEventHandler getSrvCompleted;
|
|||
|
|
|||
|
/// <remarks/>
|
|||
|
public event invokeEtlCompletedEventHandler invokeEtlCompleted;
|
|||
|
|
|||
|
/// <remarks/>
|
|||
|
public event invokeSrvCompletedEventHandler invokeSrvCompleted;
|
|||
|
|
|||
|
/// <remarks/>
|
|||
|
public event getEtlJobListCompletedEventHandler getEtlJobListCompleted;
|
|||
|
|
|||
|
/// <remarks/>
|
|||
|
public event invokeMdmCompletedEventHandler invokeMdmCompleted;
|
|||
|
|
|||
|
/// <remarks/>
|
|||
|
[SoapDocumentMethod("", RequestNamespace = "http://entry.serviceengine.cross.digiwin.com", ResponseNamespace = "http://entry.serviceengine.cross.digiwin.com", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
|
|||
|
public string regEAI(string in0)
|
|||
|
{
|
|||
|
object[] results = Invoke("regEAI", new object[] { in0 });
|
|||
|
return Conversions.ToString(results[0]);
|
|||
|
}
|
|||
|
|
|||
|
/// <remarks/>
|
|||
|
public IAsyncResult BeginregEAI(string in0, AsyncCallback callback, object asyncState)
|
|||
|
{
|
|||
|
return BeginInvoke("regEAI", new object[] { in0 }, callback, asyncState);
|
|||
|
}
|
|||
|
|
|||
|
/// <remarks/>
|
|||
|
public string EndregEAI(IAsyncResult asyncResult)
|
|||
|
{
|
|||
|
object[] results = EndInvoke(asyncResult);
|
|||
|
return Conversions.ToString(results[0]);
|
|||
|
}
|
|||
|
|
|||
|
/// <remarks/>
|
|||
|
public void regEAIAsync(string in0)
|
|||
|
{
|
|||
|
regEAIAsync(in0, null);
|
|||
|
}
|
|||
|
|
|||
|
/// <remarks/>
|
|||
|
public void regEAIAsync(string in0, object userState)
|
|||
|
{
|
|||
|
if (regEAIOperationCompleted == null)
|
|||
|
{
|
|||
|
regEAIOperationCompleted = OnregEAIOperationCompleted;
|
|||
|
}
|
|||
|
InvokeAsync("regEAI", new object[] { in0 }, regEAIOperationCompleted, userState);
|
|||
|
}
|
|||
|
|
|||
|
private void OnregEAIOperationCompleted(object arg)
|
|||
|
{
|
|||
|
if (regEAICompleted != null)
|
|||
|
{
|
|||
|
InvokeCompletedEventArgs invokeArgs = (InvokeCompletedEventArgs)arg;
|
|||
|
regEAICompleted?.Invoke(this, new regEAICompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
/// <remarks/>
|
|||
|
[SoapDocumentMethod("", RequestNamespace = "http://entry.serviceengine.cross.digiwin.com", ResponseNamespace = "http://entry.serviceengine.cross.digiwin.com", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
|
|||
|
public string getParamList()
|
|||
|
{
|
|||
|
object[] results = Invoke("getParamList", new object[0]);
|
|||
|
return Conversions.ToString(results[0]);
|
|||
|
}
|
|||
|
|
|||
|
/// <remarks/>
|
|||
|
public IAsyncResult BegingetParamList(AsyncCallback callback, object asyncState)
|
|||
|
{
|
|||
|
return BeginInvoke("getParamList", new object[0], callback, asyncState);
|
|||
|
}
|
|||
|
|
|||
|
/// <remarks/>
|
|||
|
public string EndgetParamList(IAsyncResult asyncResult)
|
|||
|
{
|
|||
|
object[] results = EndInvoke(asyncResult);
|
|||
|
return Conversions.ToString(results[0]);
|
|||
|
}
|
|||
|
|
|||
|
/// <remarks/>
|
|||
|
public void getParamListAsync()
|
|||
|
{
|
|||
|
getParamListAsync(null);
|
|||
|
}
|
|||
|
|
|||
|
/// <remarks/>
|
|||
|
public void getParamListAsync(object userState)
|
|||
|
{
|
|||
|
if (getParamListOperationCompleted == null)
|
|||
|
{
|
|||
|
getParamListOperationCompleted = OngetParamListOperationCompleted;
|
|||
|
}
|
|||
|
InvokeAsync("getParamList", new object[0], getParamListOperationCompleted, userState);
|
|||
|
}
|
|||
|
|
|||
|
private void OngetParamListOperationCompleted(object arg)
|
|||
|
{
|
|||
|
if (getParamListCompleted != null)
|
|||
|
{
|
|||
|
InvokeCompletedEventArgs invokeArgs = (InvokeCompletedEventArgs)arg;
|
|||
|
getParamListCompleted?.Invoke(this, new getParamListCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
/// <remarks/>
|
|||
|
[SoapDocumentMethod("", RequestNamespace = "http://entry.serviceengine.cross.digiwin.com", ResponseNamespace = "http://entry.serviceengine.cross.digiwin.com", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
|
|||
|
public string regProdAP(string in0)
|
|||
|
{
|
|||
|
object[] results = Invoke("regProdAP", new object[] { in0 });
|
|||
|
return Conversions.ToString(results[0]);
|
|||
|
}
|
|||
|
|
|||
|
/// <remarks/>
|
|||
|
public IAsyncResult BeginregProdAP(string in0, AsyncCallback callback, object asyncState)
|
|||
|
{
|
|||
|
return BeginInvoke("regProdAP", new object[] { in0 }, callback, asyncState);
|
|||
|
}
|
|||
|
|
|||
|
/// <remarks/>
|
|||
|
public string EndregProdAP(IAsyncResult asyncResult)
|
|||
|
{
|
|||
|
object[] results = EndInvoke(asyncResult);
|
|||
|
return Conversions.ToString(results[0]);
|
|||
|
}
|
|||
|
|
|||
|
/// <remarks/>
|
|||
|
public void regProdAPAsync(string in0)
|
|||
|
{
|
|||
|
regProdAPAsync(in0, null);
|
|||
|
}
|
|||
|
|
|||
|
/// <remarks/>
|
|||
|
public void regProdAPAsync(string in0, object userState)
|
|||
|
{
|
|||
|
if (regProdAPOperationCompleted == null)
|
|||
|
{
|
|||
|
regProdAPOperationCompleted = OnregProdAPOperationCompleted;
|
|||
|
}
|
|||
|
InvokeAsync("regProdAP", new object[] { in0 }, regProdAPOperationCompleted, userState);
|
|||
|
}
|
|||
|
|
|||
|
private void OnregProdAPOperationCompleted(object arg)
|
|||
|
{
|
|||
|
if (regProdAPCompleted != null)
|
|||
|
{
|
|||
|
InvokeCompletedEventArgs invokeArgs = (InvokeCompletedEventArgs)arg;
|
|||
|
regProdAPCompleted?.Invoke(this, new regProdAPCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
/// <remarks/>
|
|||
|
[SoapDocumentMethod("", RequestNamespace = "http://entry.serviceengine.cross.digiwin.com", ResponseNamespace = "http://entry.serviceengine.cross.digiwin.com", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
|
|||
|
public string regSrv(string in0)
|
|||
|
{
|
|||
|
object[] results = Invoke("regSrv", new object[] { in0 });
|
|||
|
return Conversions.ToString(results[0]);
|
|||
|
}
|
|||
|
|
|||
|
/// <remarks/>
|
|||
|
public IAsyncResult BeginregSrv(string in0, AsyncCallback callback, object asyncState)
|
|||
|
{
|
|||
|
return BeginInvoke("regSrv", new object[] { in0 }, callback, asyncState);
|
|||
|
}
|
|||
|
|
|||
|
/// <remarks/>
|
|||
|
public string EndregSrv(IAsyncResult asyncResult)
|
|||
|
{
|
|||
|
object[] results = EndInvoke(asyncResult);
|
|||
|
return Conversions.ToString(results[0]);
|
|||
|
}
|
|||
|
|
|||
|
/// <remarks/>
|
|||
|
public void regSrvAsync(string in0)
|
|||
|
{
|
|||
|
regSrvAsync(in0, null);
|
|||
|
}
|
|||
|
|
|||
|
/// <remarks/>
|
|||
|
public void regSrvAsync(string in0, object userState)
|
|||
|
{
|
|||
|
if (regSrvOperationCompleted == null)
|
|||
|
{
|
|||
|
regSrvOperationCompleted = OnregSrvOperationCompleted;
|
|||
|
}
|
|||
|
InvokeAsync("regSrv", new object[] { in0 }, regSrvOperationCompleted, userState);
|
|||
|
}
|
|||
|
|
|||
|
private void OnregSrvOperationCompleted(object arg)
|
|||
|
{
|
|||
|
if (regSrvCompleted != null)
|
|||
|
{
|
|||
|
InvokeCompletedEventArgs invokeArgs = (InvokeCompletedEventArgs)arg;
|
|||
|
regSrvCompleted?.Invoke(this, new regSrvCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
/// <remarks/>
|
|||
|
[SoapDocumentMethod("", RequestNamespace = "http://entry.serviceengine.cross.digiwin.com", ResponseNamespace = "http://entry.serviceengine.cross.digiwin.com", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
|
|||
|
public string getProdList()
|
|||
|
{
|
|||
|
object[] results = Invoke("getProdList", new object[0]);
|
|||
|
return Conversions.ToString(results[0]);
|
|||
|
}
|
|||
|
|
|||
|
/// <remarks/>
|
|||
|
public IAsyncResult BegingetProdList(AsyncCallback callback, object asyncState)
|
|||
|
{
|
|||
|
return BeginInvoke("getProdList", new object[0], callback, asyncState);
|
|||
|
}
|
|||
|
|
|||
|
/// <remarks/>
|
|||
|
public string EndgetProdList(IAsyncResult asyncResult)
|
|||
|
{
|
|||
|
object[] results = EndInvoke(asyncResult);
|
|||
|
return Conversions.ToString(results[0]);
|
|||
|
}
|
|||
|
|
|||
|
/// <remarks/>
|
|||
|
public void getProdListAsync()
|
|||
|
{
|
|||
|
getProdListAsync(null);
|
|||
|
}
|
|||
|
|
|||
|
/// <remarks/>
|
|||
|
public void getProdListAsync(object userState)
|
|||
|
{
|
|||
|
if (getProdListOperationCompleted == null)
|
|||
|
{
|
|||
|
getProdListOperationCompleted = OngetProdListOperationCompleted;
|
|||
|
}
|
|||
|
InvokeAsync("getProdList", new object[0], getProdListOperationCompleted, userState);
|
|||
|
}
|
|||
|
|
|||
|
private void OngetProdListOperationCompleted(object arg)
|
|||
|
{
|
|||
|
if (getProdListCompleted != null)
|
|||
|
{
|
|||
|
InvokeCompletedEventArgs invokeArgs = (InvokeCompletedEventArgs)arg;
|
|||
|
getProdListCompleted?.Invoke(this, new getProdListCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
/// <remarks/>
|
|||
|
[SoapDocumentMethod("", RequestNamespace = "http://entry.serviceengine.cross.digiwin.com", ResponseNamespace = "http://entry.serviceengine.cross.digiwin.com", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
|
|||
|
public string getProd(string in0)
|
|||
|
{
|
|||
|
object[] results = Invoke("getProd", new object[] { in0 });
|
|||
|
return Conversions.ToString(results[0]);
|
|||
|
}
|
|||
|
|
|||
|
/// <remarks/>
|
|||
|
public IAsyncResult BegingetProd(string in0, AsyncCallback callback, object asyncState)
|
|||
|
{
|
|||
|
return BeginInvoke("getProd", new object[] { in0 }, callback, asyncState);
|
|||
|
}
|
|||
|
|
|||
|
/// <remarks/>
|
|||
|
public string EndgetProd(IAsyncResult asyncResult)
|
|||
|
{
|
|||
|
object[] results = EndInvoke(asyncResult);
|
|||
|
return Conversions.ToString(results[0]);
|
|||
|
}
|
|||
|
|
|||
|
/// <remarks/>
|
|||
|
public void getProdAsync(string in0)
|
|||
|
{
|
|||
|
getProdAsync(in0, null);
|
|||
|
}
|
|||
|
|
|||
|
/// <remarks/>
|
|||
|
public void getProdAsync(string in0, object userState)
|
|||
|
{
|
|||
|
if (getProdOperationCompleted == null)
|
|||
|
{
|
|||
|
getProdOperationCompleted = OngetProdOperationCompleted;
|
|||
|
}
|
|||
|
InvokeAsync("getProd", new object[] { in0 }, getProdOperationCompleted, userState);
|
|||
|
}
|
|||
|
|
|||
|
private void OngetProdOperationCompleted(object arg)
|
|||
|
{
|
|||
|
if (getProdCompleted != null)
|
|||
|
{
|
|||
|
InvokeCompletedEventArgs invokeArgs = (InvokeCompletedEventArgs)arg;
|
|||
|
getProdCompleted?.Invoke(this, new getProdCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
/// <remarks/>
|
|||
|
[SoapDocumentMethod("", RequestNamespace = "http://entry.serviceengine.cross.digiwin.com", ResponseNamespace = "http://entry.serviceengine.cross.digiwin.com", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
|
|||
|
public string getSrv(string in0)
|
|||
|
{
|
|||
|
object[] results = Invoke("getSrv", new object[] { in0 });
|
|||
|
return Conversions.ToString(results[0]);
|
|||
|
}
|
|||
|
|
|||
|
/// <remarks/>
|
|||
|
public IAsyncResult BegingetSrv(string in0, AsyncCallback callback, object asyncState)
|
|||
|
{
|
|||
|
return BeginInvoke("getSrv", new object[] { in0 }, callback, asyncState);
|
|||
|
}
|
|||
|
|
|||
|
/// <remarks/>
|
|||
|
public string EndgetSrv(IAsyncResult asyncResult)
|
|||
|
{
|
|||
|
object[] results = EndInvoke(asyncResult);
|
|||
|
return Conversions.ToString(results[0]);
|
|||
|
}
|
|||
|
|
|||
|
/// <remarks/>
|
|||
|
public void getSrvAsync(string in0)
|
|||
|
{
|
|||
|
getSrvAsync(in0, null);
|
|||
|
}
|
|||
|
|
|||
|
/// <remarks/>
|
|||
|
public void getSrvAsync(string in0, object userState)
|
|||
|
{
|
|||
|
if (getSrvOperationCompleted == null)
|
|||
|
{
|
|||
|
getSrvOperationCompleted = OngetSrvOperationCompleted;
|
|||
|
}
|
|||
|
InvokeAsync("getSrv", new object[] { in0 }, getSrvOperationCompleted, userState);
|
|||
|
}
|
|||
|
|
|||
|
private void OngetSrvOperationCompleted(object arg)
|
|||
|
{
|
|||
|
if (getSrvCompleted != null)
|
|||
|
{
|
|||
|
InvokeCompletedEventArgs invokeArgs = (InvokeCompletedEventArgs)arg;
|
|||
|
getSrvCompleted?.Invoke(this, new getSrvCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
/// <remarks/>
|
|||
|
[SoapDocumentMethod("", RequestNamespace = "http://entry.serviceengine.cross.digiwin.com", ResponseNamespace = "http://entry.serviceengine.cross.digiwin.com", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
|
|||
|
public string invokeEtl(string in0)
|
|||
|
{
|
|||
|
object[] results = Invoke("invokeEtl", new object[] { in0 });
|
|||
|
return Conversions.ToString(results[0]);
|
|||
|
}
|
|||
|
|
|||
|
/// <remarks/>
|
|||
|
public IAsyncResult BegininvokeEtl(string in0, AsyncCallback callback, object asyncState)
|
|||
|
{
|
|||
|
return BeginInvoke("invokeEtl", new object[] { in0 }, callback, asyncState);
|
|||
|
}
|
|||
|
|
|||
|
/// <remarks/>
|
|||
|
public string EndinvokeEtl(IAsyncResult asyncResult)
|
|||
|
{
|
|||
|
object[] results = EndInvoke(asyncResult);
|
|||
|
return Conversions.ToString(results[0]);
|
|||
|
}
|
|||
|
|
|||
|
/// <remarks/>
|
|||
|
public void invokeEtlAsync(string in0)
|
|||
|
{
|
|||
|
invokeEtlAsync(in0, null);
|
|||
|
}
|
|||
|
|
|||
|
/// <remarks/>
|
|||
|
public void invokeEtlAsync(string in0, object userState)
|
|||
|
{
|
|||
|
if (invokeEtlOperationCompleted == null)
|
|||
|
{
|
|||
|
invokeEtlOperationCompleted = OninvokeEtlOperationCompleted;
|
|||
|
}
|
|||
|
InvokeAsync("invokeEtl", new object[] { in0 }, invokeEtlOperationCompleted, userState);
|
|||
|
}
|
|||
|
|
|||
|
private void OninvokeEtlOperationCompleted(object arg)
|
|||
|
{
|
|||
|
if (invokeEtlCompleted != null)
|
|||
|
{
|
|||
|
InvokeCompletedEventArgs invokeArgs = (InvokeCompletedEventArgs)arg;
|
|||
|
invokeEtlCompleted?.Invoke(this, new invokeEtlCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
/// <remarks/>
|
|||
|
[SoapDocumentMethod("", RequestNamespace = "http://entry.serviceengine.cross.digiwin.com", ResponseNamespace = "http://entry.serviceengine.cross.digiwin.com", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
|
|||
|
public string invokeSrv(string in0)
|
|||
|
{
|
|||
|
object[] results = Invoke("invokeSrv", new object[] { in0 });
|
|||
|
return Conversions.ToString(results[0]);
|
|||
|
}
|
|||
|
|
|||
|
/// <remarks/>
|
|||
|
public IAsyncResult BegininvokeSrv(string in0, AsyncCallback callback, object asyncState)
|
|||
|
{
|
|||
|
return BeginInvoke("invokeSrv", new object[] { in0 }, callback, asyncState);
|
|||
|
}
|
|||
|
|
|||
|
/// <remarks/>
|
|||
|
public string EndinvokeSrv(IAsyncResult asyncResult)
|
|||
|
{
|
|||
|
object[] results = EndInvoke(asyncResult);
|
|||
|
return Conversions.ToString(results[0]);
|
|||
|
}
|
|||
|
|
|||
|
/// <remarks/>
|
|||
|
public void invokeSrvAsync(string in0)
|
|||
|
{
|
|||
|
invokeSrvAsync(in0, null);
|
|||
|
}
|
|||
|
|
|||
|
/// <remarks/>
|
|||
|
public void invokeSrvAsync(string in0, object userState)
|
|||
|
{
|
|||
|
if (invokeSrvOperationCompleted == null)
|
|||
|
{
|
|||
|
invokeSrvOperationCompleted = OninvokeSrvOperationCompleted;
|
|||
|
}
|
|||
|
InvokeAsync("invokeSrv", new object[] { in0 }, invokeSrvOperationCompleted, userState);
|
|||
|
}
|
|||
|
|
|||
|
private void OninvokeSrvOperationCompleted(object arg)
|
|||
|
{
|
|||
|
if (invokeSrvCompleted != null)
|
|||
|
{
|
|||
|
InvokeCompletedEventArgs invokeArgs = (InvokeCompletedEventArgs)arg;
|
|||
|
invokeSrvCompleted?.Invoke(this, new invokeSrvCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
/// <remarks/>
|
|||
|
[SoapDocumentMethod("", RequestNamespace = "http://entry.serviceengine.cross.digiwin.com", ResponseNamespace = "http://entry.serviceengine.cross.digiwin.com", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
|
|||
|
public string getEtlJobList(string in0)
|
|||
|
{
|
|||
|
object[] results = Invoke("getEtlJobList", new object[] { in0 });
|
|||
|
return Conversions.ToString(results[0]);
|
|||
|
}
|
|||
|
|
|||
|
/// <remarks/>
|
|||
|
public IAsyncResult BegingetEtlJobList(string in0, AsyncCallback callback, object asyncState)
|
|||
|
{
|
|||
|
return BeginInvoke("getEtlJobList", new object[] { in0 }, callback, asyncState);
|
|||
|
}
|
|||
|
|
|||
|
/// <remarks/>
|
|||
|
public string EndgetEtlJobList(IAsyncResult asyncResult)
|
|||
|
{
|
|||
|
object[] results = EndInvoke(asyncResult);
|
|||
|
return Conversions.ToString(results[0]);
|
|||
|
}
|
|||
|
|
|||
|
/// <remarks/>
|
|||
|
public void getEtlJobListAsync(string in0)
|
|||
|
{
|
|||
|
getEtlJobListAsync(in0, null);
|
|||
|
}
|
|||
|
|
|||
|
/// <remarks/>
|
|||
|
public void getEtlJobListAsync(string in0, object userState)
|
|||
|
{
|
|||
|
if (getEtlJobListOperationCompleted == null)
|
|||
|
{
|
|||
|
getEtlJobListOperationCompleted = OngetEtlJobListOperationCompleted;
|
|||
|
}
|
|||
|
InvokeAsync("getEtlJobList", new object[] { in0 }, getEtlJobListOperationCompleted, userState);
|
|||
|
}
|
|||
|
|
|||
|
private void OngetEtlJobListOperationCompleted(object arg)
|
|||
|
{
|
|||
|
if (getEtlJobListCompleted != null)
|
|||
|
{
|
|||
|
InvokeCompletedEventArgs invokeArgs = (InvokeCompletedEventArgs)arg;
|
|||
|
getEtlJobListCompleted?.Invoke(this, new getEtlJobListCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
/// <remarks/>
|
|||
|
[SoapDocumentMethod("", RequestNamespace = "http://entry.serviceengine.cross.digiwin.com", ResponseNamespace = "http://entry.serviceengine.cross.digiwin.com", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
|
|||
|
public string invokeMdm(string in0)
|
|||
|
{
|
|||
|
object[] results = Invoke("invokeMdm", new object[] { in0 });
|
|||
|
return Conversions.ToString(results[0]);
|
|||
|
}
|
|||
|
|
|||
|
/// <remarks/>
|
|||
|
public IAsyncResult BegininvokeMdm(string in0, AsyncCallback callback, object asyncState)
|
|||
|
{
|
|||
|
return BeginInvoke("invokeMdm", new object[] { in0 }, callback, asyncState);
|
|||
|
}
|
|||
|
|
|||
|
/// <remarks/>
|
|||
|
public string EndinvokeMdm(IAsyncResult asyncResult)
|
|||
|
{
|
|||
|
object[] results = EndInvoke(asyncResult);
|
|||
|
return Conversions.ToString(results[0]);
|
|||
|
}
|
|||
|
|
|||
|
/// <remarks/>
|
|||
|
public void invokeMdmAsync(string in0)
|
|||
|
{
|
|||
|
invokeMdmAsync(in0, null);
|
|||
|
}
|
|||
|
|
|||
|
/// <remarks/>
|
|||
|
public void invokeMdmAsync(string in0, object userState)
|
|||
|
{
|
|||
|
if (invokeMdmOperationCompleted == null)
|
|||
|
{
|
|||
|
invokeMdmOperationCompleted = OninvokeMdmOperationCompleted;
|
|||
|
}
|
|||
|
InvokeAsync("invokeMdm", new object[] { in0 }, invokeMdmOperationCompleted, userState);
|
|||
|
}
|
|||
|
|
|||
|
private void OninvokeMdmOperationCompleted(object arg)
|
|||
|
{
|
|||
|
if (invokeMdmCompleted != null)
|
|||
|
{
|
|||
|
InvokeCompletedEventArgs invokeArgs = (InvokeCompletedEventArgs)arg;
|
|||
|
invokeMdmCompleted?.Invoke(this, new invokeMdmCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
/// <remarks/>
|
|||
|
public new void CancelAsync(object userState)
|
|||
|
{
|
|||
|
base.CancelAsync(userState);
|
|||
|
}
|
|||
|
|
|||
|
private bool IsLocalFileSystemWebService(string url)
|
|||
|
{
|
|||
|
if (url == null || ReferenceEquals(url, string.Empty))
|
|||
|
{
|
|||
|
return false;
|
|||
|
}
|
|||
|
var wsUri = new Uri(url);
|
|||
|
if (wsUri.Port >= 1024 && string.Compare(wsUri.Host, "localHost", StringComparison.OrdinalIgnoreCase) == 0)
|
|||
|
{
|
|||
|
return true;
|
|||
|
}
|
|||
|
return false;
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
/// <remarks/>
|
|||
|
[System.CodeDom.Compiler.GeneratedCode("System.Web.Services", "4.8.3761.0")]
|
|||
|
public delegate void regEAICompletedEventHandler(object sender, regEAICompletedEventArgs e);
|
|||
|
|
|||
|
/// <remarks/>
|
|||
|
[System.CodeDom.Compiler.GeneratedCode("System.Web.Services", "4.8.3761.0")]
|
|||
|
[DebuggerStepThrough()]
|
|||
|
[DesignerCategory("code")]
|
|||
|
public partial class regEAICompletedEventArgs : AsyncCompletedEventArgs
|
|||
|
{
|
|||
|
|
|||
|
private object[] results;
|
|||
|
|
|||
|
internal regEAICompletedEventArgs(object[] results, Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState)
|
|||
|
{
|
|||
|
this.results = results;
|
|||
|
}
|
|||
|
|
|||
|
/// <remarks/>
|
|||
|
public string Result
|
|||
|
{
|
|||
|
get
|
|||
|
{
|
|||
|
RaiseExceptionIfNecessary();
|
|||
|
return Conversions.ToString(results[0]);
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
/// <remarks/>
|
|||
|
[System.CodeDom.Compiler.GeneratedCode("System.Web.Services", "4.8.3761.0")]
|
|||
|
public delegate void getParamListCompletedEventHandler(object sender, getParamListCompletedEventArgs e);
|
|||
|
|
|||
|
/// <remarks/>
|
|||
|
[System.CodeDom.Compiler.GeneratedCode("System.Web.Services", "4.8.3761.0")]
|
|||
|
[DebuggerStepThrough()]
|
|||
|
[DesignerCategory("code")]
|
|||
|
public partial class getParamListCompletedEventArgs : AsyncCompletedEventArgs
|
|||
|
{
|
|||
|
|
|||
|
private object[] results;
|
|||
|
|
|||
|
internal getParamListCompletedEventArgs(object[] results, Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState)
|
|||
|
{
|
|||
|
this.results = results;
|
|||
|
}
|
|||
|
|
|||
|
/// <remarks/>
|
|||
|
public string Result
|
|||
|
{
|
|||
|
get
|
|||
|
{
|
|||
|
RaiseExceptionIfNecessary();
|
|||
|
return Conversions.ToString(results[0]);
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
/// <remarks/>
|
|||
|
[System.CodeDom.Compiler.GeneratedCode("System.Web.Services", "4.8.3761.0")]
|
|||
|
public delegate void regProdAPCompletedEventHandler(object sender, regProdAPCompletedEventArgs e);
|
|||
|
|
|||
|
/// <remarks/>
|
|||
|
[System.CodeDom.Compiler.GeneratedCode("System.Web.Services", "4.8.3761.0")]
|
|||
|
[DebuggerStepThrough()]
|
|||
|
[DesignerCategory("code")]
|
|||
|
public partial class regProdAPCompletedEventArgs : AsyncCompletedEventArgs
|
|||
|
{
|
|||
|
|
|||
|
private object[] results;
|
|||
|
|
|||
|
internal regProdAPCompletedEventArgs(object[] results, Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState)
|
|||
|
{
|
|||
|
this.results = results;
|
|||
|
}
|
|||
|
|
|||
|
/// <remarks/>
|
|||
|
public string Result
|
|||
|
{
|
|||
|
get
|
|||
|
{
|
|||
|
RaiseExceptionIfNecessary();
|
|||
|
return Conversions.ToString(results[0]);
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
/// <remarks/>
|
|||
|
[System.CodeDom.Compiler.GeneratedCode("System.Web.Services", "4.8.3761.0")]
|
|||
|
public delegate void regSrvCompletedEventHandler(object sender, regSrvCompletedEventArgs e);
|
|||
|
|
|||
|
/// <remarks/>
|
|||
|
[System.CodeDom.Compiler.GeneratedCode("System.Web.Services", "4.8.3761.0")]
|
|||
|
[DebuggerStepThrough()]
|
|||
|
[DesignerCategory("code")]
|
|||
|
public partial class regSrvCompletedEventArgs : AsyncCompletedEventArgs
|
|||
|
{
|
|||
|
|
|||
|
private object[] results;
|
|||
|
|
|||
|
internal regSrvCompletedEventArgs(object[] results, Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState)
|
|||
|
{
|
|||
|
this.results = results;
|
|||
|
}
|
|||
|
|
|||
|
/// <remarks/>
|
|||
|
public string Result
|
|||
|
{
|
|||
|
get
|
|||
|
{
|
|||
|
RaiseExceptionIfNecessary();
|
|||
|
return Conversions.ToString(results[0]);
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
/// <remarks/>
|
|||
|
[System.CodeDom.Compiler.GeneratedCode("System.Web.Services", "4.8.3761.0")]
|
|||
|
public delegate void getProdListCompletedEventHandler(object sender, getProdListCompletedEventArgs e);
|
|||
|
|
|||
|
/// <remarks/>
|
|||
|
[System.CodeDom.Compiler.GeneratedCode("System.Web.Services", "4.8.3761.0")]
|
|||
|
[DebuggerStepThrough()]
|
|||
|
[DesignerCategory("code")]
|
|||
|
public partial class getProdListCompletedEventArgs : AsyncCompletedEventArgs
|
|||
|
{
|
|||
|
|
|||
|
private object[] results;
|
|||
|
|
|||
|
internal getProdListCompletedEventArgs(object[] results, Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState)
|
|||
|
{
|
|||
|
this.results = results;
|
|||
|
}
|
|||
|
|
|||
|
/// <remarks/>
|
|||
|
public string Result
|
|||
|
{
|
|||
|
get
|
|||
|
{
|
|||
|
RaiseExceptionIfNecessary();
|
|||
|
return Conversions.ToString(results[0]);
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
/// <remarks/>
|
|||
|
[System.CodeDom.Compiler.GeneratedCode("System.Web.Services", "4.8.3761.0")]
|
|||
|
public delegate void getProdCompletedEventHandler(object sender, getProdCompletedEventArgs e);
|
|||
|
|
|||
|
/// <remarks/>
|
|||
|
[System.CodeDom.Compiler.GeneratedCode("System.Web.Services", "4.8.3761.0")]
|
|||
|
[DebuggerStepThrough()]
|
|||
|
[DesignerCategory("code")]
|
|||
|
public partial class getProdCompletedEventArgs : AsyncCompletedEventArgs
|
|||
|
{
|
|||
|
|
|||
|
private object[] results;
|
|||
|
|
|||
|
internal getProdCompletedEventArgs(object[] results, Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState)
|
|||
|
{
|
|||
|
this.results = results;
|
|||
|
}
|
|||
|
|
|||
|
/// <remarks/>
|
|||
|
public string Result
|
|||
|
{
|
|||
|
get
|
|||
|
{
|
|||
|
RaiseExceptionIfNecessary();
|
|||
|
return Conversions.ToString(results[0]);
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
/// <remarks/>
|
|||
|
[System.CodeDom.Compiler.GeneratedCode("System.Web.Services", "4.8.3761.0")]
|
|||
|
public delegate void getSrvCompletedEventHandler(object sender, getSrvCompletedEventArgs e);
|
|||
|
|
|||
|
/// <remarks/>
|
|||
|
[System.CodeDom.Compiler.GeneratedCode("System.Web.Services", "4.8.3761.0")]
|
|||
|
[DebuggerStepThrough()]
|
|||
|
[DesignerCategory("code")]
|
|||
|
public partial class getSrvCompletedEventArgs : AsyncCompletedEventArgs
|
|||
|
{
|
|||
|
|
|||
|
private object[] results;
|
|||
|
|
|||
|
internal getSrvCompletedEventArgs(object[] results, Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState)
|
|||
|
{
|
|||
|
this.results = results;
|
|||
|
}
|
|||
|
|
|||
|
/// <remarks/>
|
|||
|
public string Result
|
|||
|
{
|
|||
|
get
|
|||
|
{
|
|||
|
RaiseExceptionIfNecessary();
|
|||
|
return Conversions.ToString(results[0]);
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
/// <remarks/>
|
|||
|
[System.CodeDom.Compiler.GeneratedCode("System.Web.Services", "4.8.3761.0")]
|
|||
|
public delegate void invokeEtlCompletedEventHandler(object sender, invokeEtlCompletedEventArgs e);
|
|||
|
|
|||
|
/// <remarks/>
|
|||
|
[System.CodeDom.Compiler.GeneratedCode("System.Web.Services", "4.8.3761.0")]
|
|||
|
[DebuggerStepThrough()]
|
|||
|
[DesignerCategory("code")]
|
|||
|
public partial class invokeEtlCompletedEventArgs : AsyncCompletedEventArgs
|
|||
|
{
|
|||
|
|
|||
|
private object[] results;
|
|||
|
|
|||
|
internal invokeEtlCompletedEventArgs(object[] results, Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState)
|
|||
|
{
|
|||
|
this.results = results;
|
|||
|
}
|
|||
|
|
|||
|
/// <remarks/>
|
|||
|
public string Result
|
|||
|
{
|
|||
|
get
|
|||
|
{
|
|||
|
RaiseExceptionIfNecessary();
|
|||
|
return Conversions.ToString(results[0]);
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
/// <remarks/>
|
|||
|
[System.CodeDom.Compiler.GeneratedCode("System.Web.Services", "4.8.3761.0")]
|
|||
|
public delegate void invokeSrvCompletedEventHandler(object sender, invokeSrvCompletedEventArgs e);
|
|||
|
|
|||
|
/// <remarks/>
|
|||
|
[System.CodeDom.Compiler.GeneratedCode("System.Web.Services", "4.8.3761.0")]
|
|||
|
[DebuggerStepThrough()]
|
|||
|
[DesignerCategory("code")]
|
|||
|
public partial class invokeSrvCompletedEventArgs : AsyncCompletedEventArgs
|
|||
|
{
|
|||
|
|
|||
|
private object[] results;
|
|||
|
|
|||
|
internal invokeSrvCompletedEventArgs(object[] results, Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState)
|
|||
|
{
|
|||
|
this.results = results;
|
|||
|
}
|
|||
|
|
|||
|
/// <remarks/>
|
|||
|
public string Result
|
|||
|
{
|
|||
|
get
|
|||
|
{
|
|||
|
RaiseExceptionIfNecessary();
|
|||
|
return Conversions.ToString(results[0]);
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
/// <remarks/>
|
|||
|
[System.CodeDom.Compiler.GeneratedCode("System.Web.Services", "4.8.3761.0")]
|
|||
|
public delegate void getEtlJobListCompletedEventHandler(object sender, getEtlJobListCompletedEventArgs e);
|
|||
|
|
|||
|
/// <remarks/>
|
|||
|
[System.CodeDom.Compiler.GeneratedCode("System.Web.Services", "4.8.3761.0")]
|
|||
|
[DebuggerStepThrough()]
|
|||
|
[DesignerCategory("code")]
|
|||
|
public partial class getEtlJobListCompletedEventArgs : AsyncCompletedEventArgs
|
|||
|
{
|
|||
|
|
|||
|
private object[] results;
|
|||
|
|
|||
|
internal getEtlJobListCompletedEventArgs(object[] results, Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState)
|
|||
|
{
|
|||
|
this.results = results;
|
|||
|
}
|
|||
|
|
|||
|
/// <remarks/>
|
|||
|
public string Result
|
|||
|
{
|
|||
|
get
|
|||
|
{
|
|||
|
RaiseExceptionIfNecessary();
|
|||
|
return Conversions.ToString(results[0]);
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
/// <remarks/>
|
|||
|
[System.CodeDom.Compiler.GeneratedCode("System.Web.Services", "4.8.3761.0")]
|
|||
|
public delegate void invokeMdmCompletedEventHandler(object sender, invokeMdmCompletedEventArgs e);
|
|||
|
|
|||
|
/// <remarks/>
|
|||
|
[System.CodeDom.Compiler.GeneratedCode("System.Web.Services", "4.8.3761.0")]
|
|||
|
[DebuggerStepThrough()]
|
|||
|
[DesignerCategory("code")]
|
|||
|
public partial class invokeMdmCompletedEventArgs : AsyncCompletedEventArgs
|
|||
|
{
|
|||
|
|
|||
|
private object[] results;
|
|||
|
|
|||
|
internal invokeMdmCompletedEventArgs(object[] results, Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState)
|
|||
|
{
|
|||
|
this.results = results;
|
|||
|
}
|
|||
|
|
|||
|
/// <remarks/>
|
|||
|
public string Result
|
|||
|
{
|
|||
|
get
|
|||
|
{
|
|||
|
RaiseExceptionIfNecessary();
|
|||
|
return Conversions.ToString(results[0]);
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
}
|