你的serverce都写什么代码了,看一下new中的代码。
解决方案 »
- 如何控制Excel表格的对齐方式
- 球场订场系统如何处理时间冲突?有没有好的方法
- Ado.net(OracleClient)返回的DataSet第一条记录完整,其余不完整或有乱码。
- DataGrid分页?????????在线等
- 怎么让C#做的程序变的能在局域网上用?
- 类型或命名空间名称“SqlConnection 在类或命名空间,System中不存在(是否缺少程序集引用?)
- WFP,请问页面导航
- 请问xsd定义的数据集是否不能采用联合主键?我定义主从关系的表,从表采用两个主键,但是只能设置一个为主键,另一个是缺省,不像数据库
- 如何给RichText控件中的部分字符设定字体,设定粗体?
- 如何在C#应用程序下控制系统音量?来答啊,正确马上给分。
- [求书]C#想要进阶,用什么书比较好?
- 彷徨:请问C#初学者该选哪本书比较好呢?
// <autogenerated>
// This code was generated by a tool.
// Runtime Version: 1.0.3705.0
//
// 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.0.
//
namespace xxxxxxxxxxxxxx{
using System.Diagnostics;
using System.Xml.Serialization;
using System;
using System.Web.Services.Protocols;
using System.ComponentModel;
using System.Web.Services;
/// <res/>
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Web.Services.WebServiceBindingAttribute(Name="CommonServiceSoap", Namespace="xxxxxxxxxxxxxx")]
public class CommonService : System.Web.Services.Protocols.SoapHttpClientProtocol {
/// <res/>
public CommonService() {
this.Url = "xxxxxxxxxxxxxx";
}
/// <res/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("xxxxxxxxxxxxxx/GetServerDay", RequestNamespace="xxxxxxxxxxxxxx", ResponseNamespace="xxxxxxxxxxxxxx", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public System.DateTime GetServerDay() {
object[] results = this.Invoke("GetServerDay", new object[0]);
return ((System.DateTime)(results[0]));
}
/// <res/>
public System.IAsyncResult BeginGetServerDay(System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GetServerDay", new object[0], callback, asyncState);
}
/// <res/>
public System.DateTime EndGetServerDay(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((System.DateTime)(results[0]));
}
/// <res/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("xxxxxxxxxxxxxx", RequestNamespace="xxxxxxxxxxxxxx", ResponseNamespace="xxxxxxxxxxxxxx", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public bool SendLog(string nasrSbm, [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary")] System.Byte[] logStream) {
object[] results = this.Invoke("SendLog", new object[] {
nasrSbm,
logStream});
return ((bool)(results[0]));
}
/// <res/>
public System.IAsyncResult BeginSendLog(string nasrSbm, System.Byte[] logStream, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("SendLog", new object[] {
nasrSbm,
logStream}, callback, asyncState);
}
/// <res/>
public bool EndSendLog(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((bool)(results[0]));
}
/// <res/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("xxxxxxxxxxxxxx", RequestNamespace="xxxxxxxxxxxxxx", ResponseNamespace="xxxxxxxxxxxxxx", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public void SendCA(string nasrsbm, [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary")] System.Byte[] certStream) {
this.Invoke("SendCA", new object[] {
nasrsbm,
certStream});
}
/// <res/>
public System.IAsyncResult BeginSendCA(string nasrsbm, System.Byte[] certStream, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("SendCA", new object[] {
nasrsbm,
certStream}, callback, asyncState);
}
/// <res/>
public void EndSendCA(System.IAsyncResult asyncResult) {
this.EndInvoke(asyncResult);
}
/// <res/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("xxxxxxxxxxxxxx", RequestNamespace="xxxxxxxxxxxxxx", ResponseNamespace="xxxxxxxxxxxxxx", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public string GetServerVersion() {
object[] results = this.Invoke("GetServerVersion", new object[0]);
return ((string)(results[0]));
}
/// <res/>
public System.IAsyncResult BeginGetServerVersion(System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GetServerVersion", new object[0], callback, asyncState);
}
/// <res/>
public string EndGetServerVersion(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((string)(results[0]));
}
/// <res/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("xxxxxxxxxxxxxx", RequestNamespace="xxxxxxxxxxxxxx", ResponseNamespace="xxxxxxxxxxxxxx", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public bool IsServerUpdateValid() {
object[] results = this.Invoke("IsServerUpdateValid", new object[0]);
return ((bool)(results[0]));
}
public System.IAsyncResult BeginIsServerUpdateValid(System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("IsServerUpdateValid", new object[0], callback, asyncState);
}
/// <res/>
public bool EndIsServerUpdateValid(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((bool)(results[0]));
}
/// <res/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("xxxxxxxxxxxxxx", RequestNamespace="xxxxxxxxxxxxxx", ResponseNamespace="xxxxxxxxxxxxxx", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public bool DownManifestFile(xxxxxxxxxxxxxxInfomation clientInformation, [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary")] out System.Byte[] manifestFileBytes, out string errorMessage) {
object[] results = this.Invoke("DownManifestFile", new object[] {
clientInformation});
manifestFileBytes = ((System.Byte[])(results[1]));
errorMessage = ((string)(results[2]));
return ((bool)(results[0]));
}
/// <res/>
public System.IAsyncResult BeginDownManifestFile(xxxxxxxxxxxxxxInfomation clientInformation, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("DownManifestFile", new object[] {
clientInformation}, callback, asyncState);
}
/// <res/>
public bool EndDownManifestFile(System.IAsyncResult asyncResult, out System.Byte[] manifestFileBytes, out string errorMessage) {
object[] results = this.EndInvoke(asyncResult);
manifestFileBytes = ((System.Byte[])(results[1]));
errorMessage = ((string)(results[2]));
return ((bool)(results[0]));
}
/// <res/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("xxxxxxxxxxxxxx", RequestNamespace="xxxxxxxxxxxxxx", ResponseNamespace="xxxxxxxxxxxxxx", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public bool DownApplicationFile(string fileName, [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary")] out System.Byte[] applicationFileBytes) {
object[] results = this.Invoke("DownApplicationFile", new object[] {
fileName});
applicationFileBytes = ((System.Byte[])(results[1]));
return ((bool)(results[0]));
}
/// <res/>
public System.IAsyncResult BeginDownApplicationFile(string fileName, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("DownApplicationFile", new object[] {
fileName}, callback, asyncState);
}
/// <res/>
public bool EndDownApplicationFile(System.IAsyncResult asyncResult, out System.Byte[] applicationFileBytes) {
object[] results = this.EndInvoke(asyncResult);
applicationFileBytes = ((System.Byte[])(results[1]));
return ((bool)(results[0]));
}
/// <res/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("xxxxxxxxxxxxxx", RequestNamespace="xxxxxxxxxxxxxx", ResponseNamespace="xxxxxxxxxxxxxx", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public void SetServerUpdateValid(bool updateValid) {
this.Invoke("SetServerUpdateValid", new object[] {
updateValid});
}
/// <res/>
public System.IAsyncResult BeginSetServerUpdateValid(bool updateValid, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("SetServerUpdateValid", new object[] {
updateValid}, callback, asyncState);
}
/// <res/>
public void EndSetServerUpdateValid(System.IAsyncResult asyncResult) {
this.EndInvoke(asyncResult);
}
/// <res/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("xxxxxxxxxxxxxx", RequestNamespace="xxxxxxxxxxxxxx", ResponseNamespace="xxxxxxxxxxxxxx", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public void SendFile(string fileName, [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary")] System.Byte[] logStream) {
this.Invoke("SendFile", new object[] {
fileName,
logStream});
}
/// <res/>
public System.IAsyncResult BeginSendFile(string fileName, System.Byte[] logStream, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("SendFile", new object[] {
fileName,
logStream}, callback, asyncState);
}
/// <res/>
public void EndSendFile(System.IAsyncResult asyncResult) {
this.EndInvoke(asyncResult);
}
}
/// <res/>
[System.Xml.Serialization.XmlTypeAttribute(Namespace="xxxxxxxxxxxxxx")]
public class xxxxxxxxxxxxxxInfomation {
/// <res/>
public string Nasrsbm;
/// <res/>
public string OSID;
/// <res/>
public string OSVersion;
/// <res/>
public string mainAssermblyName;
/// <res/>
public string CAType;
}
}