Windows服务字符编码错误 [英] Windows service charecter encoding error

查看:162
本文介绍了Windows服务字符编码错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我是widows服务的新手,我的Windows应用程序使用NuSOAP php服务.访问此服务时,出现错误
"The content type text/xml; charset=ISO-8859-1 of the response message does not match the content type of the binding (text/xml; charset=utf-8). If using a custom encoder, be sure that the IsContentTypeSupported method is implemented properly. The first 629 bytes of the response were".
因此,请帮助我如何解决此问题.

Hi,

I am newly to the widows services and my windows application uses NuSOAP php services.When i accessing this services , i am getting an error which is
"The content type text/xml; charset=ISO-8859-1 of the response message does not match the content type of the binding (text/xml; charset=utf-8). If using a custom encoder, be sure that the IsContentTypeSupported method is implemented properly. The first 629 bytes of the response were".
So please help me how can i solve this problem.

推荐答案

您是否使用添加服务参考"来访问服务?如果没有,请进行检查.
Did you use "Add Service Reference" to access the service? If not give access and check it.


这篇关于Windows服务字符编码错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆