//------------------------------------------------------------------------------ // // This code was generated by a tool. // Runtime Version:2.0.50727.5456 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // //------------------------------------------------------------------------------ // // This source code was auto-generated by wsdl, Version=2.0.50727.42. // namespace WebsitePanel.Providers.HeliconZoo { using System.Xml.Serialization; using System.Web.Services; using System.ComponentModel; using System.Web.Services.Protocols; using System; using System.Diagnostics; /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Web.Services.WebServiceBindingAttribute(Name="HeliconZooSoap", Namespace="http://smbsaas/websitepanel/server/")] public partial class HeliconZoo : Microsoft.Web.Services3.WebServicesClientProtocol { public ServiceProviderSettingsSoapHeader ServiceProviderSettingsSoapHeaderValue; private System.Threading.SendOrPostCallback GetEnginesOperationCompleted; private System.Threading.SendOrPostCallback SetEnginesOperationCompleted; private System.Threading.SendOrPostCallback IsEnginesEnabledOperationCompleted; private System.Threading.SendOrPostCallback SwithEnginesEnabledOperationCompleted; private System.Threading.SendOrPostCallback GetEnabledEnginesForSiteOperationCompleted; private System.Threading.SendOrPostCallback SetEnabledEnginesForSiteOperationCompleted; /// public HeliconZoo() { this.Url = "http://localhost:9003/HeliconZoo.asmx"; } /// public event GetEnginesCompletedEventHandler GetEnginesCompleted; /// public event SetEnginesCompletedEventHandler SetEnginesCompleted; /// public event IsEnginesEnabledCompletedEventHandler IsEnginesEnabledCompleted; /// public event SwithEnginesEnabledCompletedEventHandler SwithEnginesEnabledCompleted; /// public event GetEnabledEnginesForSiteCompletedEventHandler GetEnabledEnginesForSiteCompleted; /// public event SetEnabledEnginesForSiteCompletedEventHandler SetEnabledEnginesForSiteCompleted; /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetEngines", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] public HeliconZooEngine[] GetEngines() { object[] results = this.Invoke("GetEngines", new object[0]); return ((HeliconZooEngine[])(results[0])); } /// public System.IAsyncResult BeginGetEngines(System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("GetEngines", new object[0], callback, asyncState); } /// public HeliconZooEngine[] EndGetEngines(System.IAsyncResult asyncResult) { object[] results = this.EndInvoke(asyncResult); return ((HeliconZooEngine[])(results[0])); } /// public void GetEnginesAsync() { this.GetEnginesAsync(null); } /// public void GetEnginesAsync(object userState) { if ((this.GetEnginesOperationCompleted == null)) { this.GetEnginesOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetEnginesOperationCompleted); } this.InvokeAsync("GetEngines", new object[0], this.GetEnginesOperationCompleted, userState); } private void OnGetEnginesOperationCompleted(object arg) { if ((this.GetEnginesCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.GetEnginesCompleted(this, new GetEnginesCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/SetEngines", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] public void SetEngines(HeliconZooEngine[] userEngines) { this.Invoke("SetEngines", new object[] { userEngines}); } /// public System.IAsyncResult BeginSetEngines(HeliconZooEngine[] userEngines, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("SetEngines", new object[] { userEngines}, callback, asyncState); } /// public void EndSetEngines(System.IAsyncResult asyncResult) { this.EndInvoke(asyncResult); } /// public void SetEnginesAsync(HeliconZooEngine[] userEngines) { this.SetEnginesAsync(userEngines, null); } /// public void SetEnginesAsync(HeliconZooEngine[] userEngines, object userState) { if ((this.SetEnginesOperationCompleted == null)) { this.SetEnginesOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSetEnginesOperationCompleted); } this.InvokeAsync("SetEngines", new object[] { userEngines}, this.SetEnginesOperationCompleted, userState); } private void OnSetEnginesOperationCompleted(object arg) { if ((this.SetEnginesCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.SetEnginesCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/IsEnginesEnabled", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] public bool IsEnginesEnabled() { object[] results = this.Invoke("IsEnginesEnabled", new object[0]); return ((bool)(results[0])); } /// public System.IAsyncResult BeginIsEnginesEnabled(System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("IsEnginesEnabled", new object[0], callback, asyncState); } /// public bool EndIsEnginesEnabled(System.IAsyncResult asyncResult) { object[] results = this.EndInvoke(asyncResult); return ((bool)(results[0])); } /// public void IsEnginesEnabledAsync() { this.IsEnginesEnabledAsync(null); } /// public void IsEnginesEnabledAsync(object userState) { if ((this.IsEnginesEnabledOperationCompleted == null)) { this.IsEnginesEnabledOperationCompleted = new System.Threading.SendOrPostCallback(this.OnIsEnginesEnabledOperationCompleted); } this.InvokeAsync("IsEnginesEnabled", new object[0], this.IsEnginesEnabledOperationCompleted, userState); } private void OnIsEnginesEnabledOperationCompleted(object arg) { if ((this.IsEnginesEnabledCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.IsEnginesEnabledCompleted(this, new IsEnginesEnabledCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/SwithEnginesEnabled", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] public void SwithEnginesEnabled(bool enabled) { this.Invoke("SwithEnginesEnabled", new object[] { enabled}); } /// public System.IAsyncResult BeginSwithEnginesEnabled(bool enabled, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("SwithEnginesEnabled", new object[] { enabled}, callback, asyncState); } /// public void EndSwithEnginesEnabled(System.IAsyncResult asyncResult) { this.EndInvoke(asyncResult); } /// public void SwithEnginesEnabledAsync(bool enabled) { this.SwithEnginesEnabledAsync(enabled, null); } /// public void SwithEnginesEnabledAsync(bool enabled, object userState) { if ((this.SwithEnginesEnabledOperationCompleted == null)) { this.SwithEnginesEnabledOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSwithEnginesEnabledOperationCompleted); } this.InvokeAsync("SwithEnginesEnabled", new object[] { enabled}, this.SwithEnginesEnabledOperationCompleted, userState); } private void OnSwithEnginesEnabledOperationCompleted(object arg) { if ((this.SwithEnginesEnabledCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.SwithEnginesEnabledCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetEnabledEnginesForSite", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] public string[] GetEnabledEnginesForSite(string siteId) { object[] results = this.Invoke("GetEnabledEnginesForSite", new object[] { siteId}); return ((string[])(results[0])); } /// public System.IAsyncResult BeginGetEnabledEnginesForSite(string siteId, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("GetEnabledEnginesForSite", new object[] { siteId}, callback, asyncState); } /// public string[] EndGetEnabledEnginesForSite(System.IAsyncResult asyncResult) { object[] results = this.EndInvoke(asyncResult); return ((string[])(results[0])); } /// public void GetEnabledEnginesForSiteAsync(string siteId) { this.GetEnabledEnginesForSiteAsync(siteId, null); } /// public void GetEnabledEnginesForSiteAsync(string siteId, object userState) { if ((this.GetEnabledEnginesForSiteOperationCompleted == null)) { this.GetEnabledEnginesForSiteOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetEnabledEnginesForSiteOperationCompleted); } this.InvokeAsync("GetEnabledEnginesForSite", new object[] { siteId}, this.GetEnabledEnginesForSiteOperationCompleted, userState); } private void OnGetEnabledEnginesForSiteOperationCompleted(object arg) { if ((this.GetEnabledEnginesForSiteCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.GetEnabledEnginesForSiteCompleted(this, new GetEnabledEnginesForSiteCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/SetEnabledEnginesForSite", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] public void SetEnabledEnginesForSite(string siteId, string[] engineNames) { this.Invoke("SetEnabledEnginesForSite", new object[] { siteId, engineNames}); } /// public System.IAsyncResult BeginSetEnabledEnginesForSite(string siteId, string[] engineNames, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("SetEnabledEnginesForSite", new object[] { siteId, engineNames}, callback, asyncState); } /// public void EndSetEnabledEnginesForSite(System.IAsyncResult asyncResult) { this.EndInvoke(asyncResult); } /// public void SetEnabledEnginesForSiteAsync(string siteId, string[] engineNames) { this.SetEnabledEnginesForSiteAsync(siteId, engineNames, null); } /// public void SetEnabledEnginesForSiteAsync(string siteId, string[] engineNames, object userState) { if ((this.SetEnabledEnginesForSiteOperationCompleted == null)) { this.SetEnabledEnginesForSiteOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSetEnabledEnginesForSiteOperationCompleted); } this.InvokeAsync("SetEnabledEnginesForSite", new object[] { siteId, engineNames}, this.SetEnabledEnginesForSiteOperationCompleted, userState); } private void OnSetEnabledEnginesForSiteOperationCompleted(object arg) { if ((this.SetEnabledEnginesForSiteCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.SetEnabledEnginesForSiteCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// public new void CancelAsync(object userState) { base.CancelAsync(userState); } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] public delegate void GetEnginesCompletedEventHandler(object sender, GetEnginesCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] public partial class GetEnginesCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { private object[] results; internal GetEnginesCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState) { this.results = results; } /// public HeliconZooEngine[] Result { get { this.RaiseExceptionIfNecessary(); return ((HeliconZooEngine[])(this.results[0])); } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] public delegate void SetEnginesCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] public delegate void IsEnginesEnabledCompletedEventHandler(object sender, IsEnginesEnabledCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] public partial class IsEnginesEnabledCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { private object[] results; internal IsEnginesEnabledCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState) { this.results = results; } /// public bool Result { get { this.RaiseExceptionIfNecessary(); return ((bool)(this.results[0])); } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] public delegate void SwithEnginesEnabledCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] public delegate void GetEnabledEnginesForSiteCompletedEventHandler(object sender, GetEnabledEnginesForSiteCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] public partial class GetEnabledEnginesForSiteCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { private object[] results; internal GetEnabledEnginesForSiteCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState) { this.results = results; } /// public string[] Result { get { this.RaiseExceptionIfNecessary(); return ((string[])(this.results[0])); } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] public delegate void SetEnabledEnginesForSiteCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); }