一个VB+PHP+Nusoap的乱码问题
2024-05-04 23:06:07
供稿:网友
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>
国内最大的酷站演示中心!