一个VB+PHP+Nusoap的乱码问题 - 中国WEB开发者网络 (http://www.webasp.net) -- 技术教程 (http://www.webasp.net/article/) --- 一个VB+PHP+Nusoap的乱码问题 (http://www.webasp.net/article/14/13238.htm) |
| -- 作者:未知 -- 发布日期: 2004-09-20 |
| 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> |
| webasp.net |