Viewing source for Recipe1903.AI.cs

//------------------------------------------------------------------------------

// <autogenerated>

//     This code was generated by a tool.

//     Runtime Version: 1.0.3705.288

//

//     Changes to this file may cause incorrect behavior and will be lost if 

//     the code is regenerated.

// </autogenerated>

//------------------------------------------------------------------------------


// 

// This source code was auto-generated by Microsoft.VSDesigner, Version 1.0.3705.288.

// 

namespace Recipe1903cs.AI {
    using System.Diagnostics;
    using System.Xml.Serialization;
    using System;
    using System.Web.Services.Protocols;
    using System.ComponentModel;
    using System.Web.Services;
    
    
    /// <remarks/>

    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Web.Services.WebServiceBindingAttribute(Name="SolaceSoap", Namespace="http://rob.santra.com/webservices/public/solace/")]

    public class Solace : System.Web.Services.Protocols.SoapHttpClientProtocol {
        
        /// <remarks/>

        public Solace() {
            this.Url = "http://rob.santra.com/webservices/public/solace/index.asmx";

        }
        
        /// <remarks/>

        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://rob.santra.com/webservices/public/solace/speak", RequestNamespace="http://rob.santra.com/webservices/public/solace/", ResponseNamespace="http://rob.santra.com/webservices/public/solace/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]

        public string speak(string message) {
            object[] results = this.Invoke("speak", new object[] {
                        message});
            return ((string)(results[0]));
        }
        
        /// <remarks/>

        public System.IAsyncResult Beginspeak(string message, System.AsyncCallback callback, object asyncState) {
            return this.BeginInvoke("speak", new object[] {
                        message}, callback, asyncState);
        }
        
        /// <remarks/>

        public string Endspeak(System.IAsyncResult asyncResult) {
            object[] results = this.EndInvoke(asyncResult);
            return ((string)(results[0]));
        }
    }
}