求大神帮忙解释一下工作原理?

我是小数位 我是小数位 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
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有关,但不知道是以什么文件存放代码的?求解释

...全文

相关推荐

评论 7
收藏 已收藏
分享
返回顶部
我是小数位
C# 111,129 成员 642,539 内容