html5中文学习网

您的位置: 首页 > 网络编程 > ASP.NET » 正文

一个VB+PHP+Nusoap的乱码问题_.NET教程_编程技术

[ ] 已经帮助:人解决问题
问题
nusoap内的编码改为GB2312后response的xml:
HTTP/1.1 500 Internal Server Error
Date: Thu, 09 Sep 2004 04:15:03 GMT
Server: Apache/1.3.29 (Unix) PHP/4.3.4
X-Powered-By: PHP/4.3.4
Set-Cookie: PHPSESSID=b35fd0ac5381c048a5dc1a602fd66605; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
X-Accelerated-By: PHPA/1.3.3r2
Status: 500 Internal Server Error
X-SOAP-Server: NuSOAP/0.6.6 (1.70)
Content-Length: 709
Connection: close
Content-Type: text/xml; charset=GB2312

<?xml version="1.0" encoding="GB2312"?><SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:si="http://soapinterop.org/xsd">
<SOAP-ENV:Body><SOAP-ENV:Fault><faultcode>Server</faultcode><faultactor></faultactor><faultstring>error in msg parsing:
XML error parsing SOAP payload on line 1: not well-formed (invalid token)</faultstring><detail><soapVal xsi:type="xsd:string"></soapVal></detail></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>

2WUHTML5中文学习网 - HTML5先行者学习网
2WUHTML5中文学习网 - HTML5先行者学习网
(责任编辑:)
推荐书籍
推荐资讯
关于HTML5先行者 - 联系我们 - 广告服务 - 友情链接 - 网站地图 - 版权声明 - 人才招聘 - 帮助