//------------------------------------------------------------------------------ // // This code was generated by a tool. // Runtime Version:2.0.50727.42 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // //------------------------------------------------------------------------------ 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=2.0.50727.312. // /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.312")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Web.Services.WebServiceBindingAttribute(Name="wmusers_examples_soapRPCBinding", Namespace="http://bitterrootboards.com/services/example/orders/1.0")] public partial class wmusers_examples_soapRPCService : System.Web.Services.Protocols.SoapHttpClientProtocol { private System.Threading.SendOrPostCallback updateOrderDateOperationCompleted; /// public wmusers_examples_soapRPCService() { this.Url = "http://localhost:5555/soap/rpc"; } /// public event updateOrderDateCompletedEventHandler updateOrderDateCompleted; /// [System.Web.Services.Protocols.SoapRpcMethodAttribute("", RequestNamespace="http://bitterrootboards.com/services/examples/orders/1.0", ResponseNamespace="http://bitterrootboards.com/services/examples/orders/1.0")] [return: System.Xml.Serialization.SoapElementAttribute("status")] public string updateOrderDate(string orderNumber, System.DateTime orderDate) { object[] results = this.Invoke("updateOrderDate", new object[] { orderNumber, orderDate}); return ((string)(results[0])); } /// public System.IAsyncResult BeginupdateOrderDate(string orderNumber, System.DateTime orderDate, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("updateOrderDate", new object[] { orderNumber, orderDate}, callback, asyncState); } /// public string EndupdateOrderDate(System.IAsyncResult asyncResult) { object[] results = this.EndInvoke(asyncResult); return ((string)(results[0])); } /// public void updateOrderDateAsync(string orderNumber, System.DateTime orderDate) { this.updateOrderDateAsync(orderNumber, orderDate, null); } /// public void updateOrderDateAsync(string orderNumber, System.DateTime orderDate, object userState) { if ((this.updateOrderDateOperationCompleted == null)) { this.updateOrderDateOperationCompleted = new System.Threading.SendOrPostCallback(this.OnupdateOrderDateOperationCompleted); } this.InvokeAsync("updateOrderDate", new object[] { orderNumber, orderDate}, this.updateOrderDateOperationCompleted, userState); } private void OnupdateOrderDateOperationCompleted(object arg) { if ((this.updateOrderDateCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.updateOrderDateCompleted(this, new updateOrderDateCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// public new void CancelAsync(object userState) { base.CancelAsync(userState); } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.312")] public delegate void updateOrderDateCompletedEventHandler(object sender, updateOrderDateCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.312")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] public partial class updateOrderDateCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { private object[] results; internal updateOrderDateCompletedEventArgs(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])); } } }