110,537
社区成员
发帖
与我相关
我的任务
分享
ERP三层架构模式,下面是中间服务端用的,代码如下:
namespace ClientServices.APWebServer
{
using ClientServices.Properties;
using System;
using System.CodeDom.Compiler;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Threading;
using System.Web.Services;
using System.Web.Services.Description;
using System.Web.Services.Protocols;
[WebServiceBinding(Name="WebServicesServerSoap", Namespace="http://tempuri.org/"), DesignerCategory("code"), GeneratedCode("System.Web.Services", "2.0.50727.3053"), DebuggerStepThrough]
public class WebServicesServer : SoapHttpClientProtocol
{
private SendOrPostCallback AcdaOperationCompleted;
private SendOrPostCallback AcymOperationCompleted;
private SendOrPostCallback APTimeOperationCompleted;
。。。。
很多,写一点
下面是具体方法,也写一个
[SoapDocumentMethod("http://tempuri.org/APTime", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=SoapBindingUse.Literal, ParameterStyle=SoapParameterStyle.Wrapped)]
public string APTime(int Type)
{
return (string) base.Invoke("APTime", new object[] { Type })[0];
}
此方法是用于得到服务端时间的及日期,我想知道他是怎么取得的,以什么文件存在那里实现的?
SoapDocumentMethod("http://tempuri.org/APTime", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=SoapBindingUse.Literal, ParameterStyle=SoapParameterStyle.Wrapped)]
我猜应该是和上面的http://tempuri.org有关,但不知道是以什么文件存放代码的?求解释