首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > JAVA > J2EE开发 >

webservice客户端接收为乱码,该怎么处理

2012-01-13 
webservice客户端接收为乱码XML code?xml version1.0 encodingutf-8?soapenv:Envelope xmlns:soa

webservice客户端接收为乱码

XML code
<?xml version="1.0" encoding="utf-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body><UserInfoSyncToISMPResp xmlns="http://www.mbossvsop.com.cn/vsop"><response xmlns="">&#x6210;&#x529F;</response></UserInfoSyncToISMPResp></soapenv:Body></soapenv:Envelope>

PS:是在linux环境中,java文件是使用gbk编码,客户端要求返回utf-8编码的信息。

[解决办法]
编码解码

热点排行