Xml通过客户端的MaxStringContentLength错误导入数据wcf

编程入门 行业动态 更新时间:2024-10-22 20:30:34
本文介绍了Xml通过客户端的MaxStringContentLength错误导入数据wcf的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我更改了confi文件,现在遇到此错误,请帮帮我

Hi, I changed confi files ,now i am getting this error please help me

The requested service, 'narasimhulu.sourceedge/IntegrationService/IntegrationService.svc' could not be activated. See the server's diagnostic trace logs for more information.

问候, 奈良市 编辑TR:如果您要使用< pre>标签,请记住要关闭忽略文本中的HTML".

Regards, Narasima Edit TR : If you''re going to use <pre> tags, please remember to turn off ''Ignore HTML in text''.

推荐答案

我相信您的web.config不太正确. 我认为您不见了:bindingConfiguration ="basicHttpBinding" 在服务的端点节点中-这使其忽略您的配置设置... I believe your web.config is not quite correct. I think you are missing : bindingConfiguration="basicHttpBinding" in the endpoint node for the service - this makes it ignore your configuration settings... <endpoint binding="basicHttpBinding" name="basicHttpBinding" bindingName="IService" bindingNamespace="Emisoft.Emis.ServiceContracts/2007/05" contract="Emisoft.EmisServices.BusinessLogic.IIntegrationWebService" />

应该是:

should be:

<endpoint binding="basicHttpBinding" bindingConfiguration="basicHttpBinding" name="basicHttpBinding" bindingName="IService" bindingNamespace="Emisoft.Emis.ServiceContracts/2007/05" contract="Emisoft.EmisServices.BusinessLogic.IIntegrationWebService" />

通常建议使用WCF配置编辑器编辑这些配置文件

It is usually advisable to edit these config files using the WCF Configuration editor

更多推荐

Xml通过客户端的MaxStringContentLength错误导入数据wcf

本文发布于:2023-11-16 04:34:01,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1601029.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:客户端   错误   数据   Xml   wcf

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!