//------------------------------------------------------------------------------ // // 此代码由工具生成。 // 运行时版本:2.0.50727.9151 // // 对此文件的更改可能会导致不正确的行为,并且如果 // 重新生成代码,这些更改将会丢失。 // //------------------------------------------------------------------------------ // // 此源代码是由 Microsoft.CompactFramework.Design.Data 2.0.50727.9151 版自动生成。 // namespace PDAForm.Comm.PDAService { using System.Diagnostics; using System.Web.Services; using System.ComponentModel; using System.Web.Services.Protocols; using System; using System.Xml.Serialization; using System.Data; /// [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Web.Services.WebServiceBindingAttribute(Name="ServiceSoap", Namespace="http://tempuri.org/")] public partial class Service : System.Web.Services.Protocols.SoapHttpClientProtocol { /// public Service() { this.Url = "http://192.168.0.11:1010/Service.asmx"; } /// [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/HelloWorld", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] public string HelloWorld() { object[] results = this.Invoke("HelloWorld", new object[0]); return ((string)(results[0])); } /// public System.IAsyncResult BeginHelloWorld(System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("HelloWorld", new object[0], callback, asyncState); } /// public string EndHelloWorld(System.IAsyncResult asyncResult) { object[] results = this.EndInvoke(asyncResult); return ((string)(results[0])); } /// [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/ServiceMessage", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] public System.Data.DataSet ServiceMessage(System.Data.DataSet dsCommand, System.Data.DataSet dsData, ref string ErrMessage) { object[] results = this.Invoke("ServiceMessage", new object[] { dsCommand, dsData, ErrMessage}); ErrMessage = ((string)(results[1])); return ((System.Data.DataSet)(results[0])); } /// public System.IAsyncResult BeginServiceMessage(System.Data.DataSet dsCommand, System.Data.DataSet dsData, string ErrMessage, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("ServiceMessage", new object[] { dsCommand, dsData, ErrMessage}, callback, asyncState); } /// public System.Data.DataSet EndServiceMessage(System.IAsyncResult asyncResult, out string ErrMessage) { object[] results = this.EndInvoke(asyncResult); ErrMessage = ((string)(results[1])); return ((System.Data.DataSet)(results[0])); } } }