|
|
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.42000
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------
//
// 此源代码是由 Microsoft.VSDesigner 4.0.30319.42000 版自动生成。
//
#pragma warning disable 1591
namespace DefenseWeb.UDTWebService { using System; using System.Web.Services; using System.Diagnostics; using System.Web.Services.Protocols; using System.Xml.Serialization; using System.ComponentModel; /// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.6.1055.0")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Web.Services.WebServiceBindingAttribute(Name="wsh_PO_ParserBinding", Namespace="http://www.informatica.com/")] public partial class wsh_PO_Parser : System.Web.Services.Protocols.SoapHttpClientProtocol { private System.Threading.SendOrPostCallback wsh_PO_ParserOperationOperationCompleted; private bool useDefaultCredentialsSetExplicitly; /// <remarks/>
public wsh_PO_Parser() { this.Url = global::DefenseWeb.Properties.Settings.Default.DefenseWeb_UDTWebService_wsh_PO_Parser; if ((this.IsLocalFileSystemWebService(this.Url) == true)) { this.UseDefaultCredentials = true; this.useDefaultCredentialsSetExplicitly = false; } else { this.useDefaultCredentialsSetExplicitly = true; } } public new string Url { get { return base.Url; } set { if ((((this.IsLocalFileSystemWebService(base.Url) == true) && (this.useDefaultCredentialsSetExplicitly == false)) && (this.IsLocalFileSystemWebService(value) == false))) { base.UseDefaultCredentials = false; } base.Url = value; } } public new bool UseDefaultCredentials { get { return base.UseDefaultCredentials; } set { base.UseDefaultCredentials = value; this.useDefaultCredentialsSetExplicitly = true; } } /// <remarks/>
public event wsh_PO_ParserOperationCompletedEventHandler wsh_PO_ParserOperationCompleted; /// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("", RequestElementName="WSH_PO_IORequest", RequestNamespace="http://www.informatica.com/wsdl/", ResponseElementName="WSH_PO_IOResponse", ResponseNamespace="http://www.informatica.com/wsdl/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] [return: System.Xml.Serialization.XmlElementAttribute("WSH_PO_IOResponseElement")] public WSH_PO_IOResponseTypeWSH_PO_IOResponseElement wsh_PO_ParserOperation(WSH_PO_IORequestTypeWSH_PO_IORequestElement WSH_PO_IORequestElement) { object[] results = this.Invoke("wsh_PO_ParserOperation", new object[] { WSH_PO_IORequestElement}); return ((WSH_PO_IOResponseTypeWSH_PO_IOResponseElement)(results[0])); } /// <remarks/>
public void wsh_PO_ParserOperationAsync(WSH_PO_IORequestTypeWSH_PO_IORequestElement WSH_PO_IORequestElement) { this.wsh_PO_ParserOperationAsync(WSH_PO_IORequestElement, null); } /// <remarks/>
public void wsh_PO_ParserOperationAsync(WSH_PO_IORequestTypeWSH_PO_IORequestElement WSH_PO_IORequestElement, object userState) { if ((this.wsh_PO_ParserOperationOperationCompleted == null)) { this.wsh_PO_ParserOperationOperationCompleted = new System.Threading.SendOrPostCallback(this.Onwsh_PO_ParserOperationOperationCompleted); } this.InvokeAsync("wsh_PO_ParserOperation", new object[] { WSH_PO_IORequestElement}, this.wsh_PO_ParserOperationOperationCompleted, userState); } private void Onwsh_PO_ParserOperationOperationCompleted(object arg) { if ((this.wsh_PO_ParserOperationCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.wsh_PO_ParserOperationCompleted(this, new wsh_PO_ParserOperationCompletedEventArgs(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) || (url == string.Empty))) { return false; } System.Uri wsUri = new System.Uri(url); if (((wsUri.Port >= 1024) && (string.Compare(wsUri.Host, "localHost", System.StringComparison.OrdinalIgnoreCase) == 0))) { return true; } return false; } } /// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.6.1055.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://www.informatica.com/wsdl/")] public partial class WSH_PO_IORequestTypeWSH_PO_IORequestElement { private string parser_NameField; private string file_NameField; /// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] public string Parser_Name { get { return this.parser_NameField; } set { this.parser_NameField = value; } } /// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] public string File_Name { get { return this.file_NameField; } set { this.file_NameField = value; } } } /// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.6.1055.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://www.informatica.com/wsdl/")] public partial class WSH_PO_IOResponseTypeWSH_PO_IOResponseElement { private string file_NameField; /// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] public string File_Name { get { return this.file_NameField; } set { this.file_NameField = value; } } } /// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.6.1055.0")] public delegate void wsh_PO_ParserOperationCompletedEventHandler(object sender, wsh_PO_ParserOperationCompletedEventArgs e); /// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.6.1055.0")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] public partial class wsh_PO_ParserOperationCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { private object[] results; internal wsh_PO_ParserOperationCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState) { this.results = results; } /// <remarks/>
public WSH_PO_IOResponseTypeWSH_PO_IOResponseElement Result { get { this.RaiseExceptionIfNecessary(); return ((WSH_PO_IOResponseTypeWSH_PO_IOResponseElement)(this.results[0])); } } } }
#pragma warning restore 1591
|