WCF服务 - 使用localhost IIS发送长数据

时间:2017-09-04 17:33:48

标签: c# asp.net wcf azure iis

我有一个WCF,Web应用程序(C#.NET)和移动应用程序都使用它,如下所示。

[OperationContract]

[WebInvoke(ResponseFormat = WebMessageFormat.Json, UriTemplate = 
@"createEmp?EMPId={EMPId}&empNONo={empNo}&subXML= {subXML}&Comments=
{Comments}", RequestFormat = WebMessageFormat.Json)]

Employee createEmp(int EMPId, string empNo, string subXML, string    
Comments);

我发送的XML数据包含很长的数据。

当我将服务发布到azure时工作正常但是当我将服务发布到IIS时没有调用服务。

PS:我知道服务没有被调用,因为我已经在服务实现中进行了登录,因此每当服务被消耗时我都会得到一个日志。

0 个答案:

没有答案