Web Services返回给客户端的xml消息格式不对!!求救
在Jbuilder上发布一个Web Services,然后客户端调用其接口,用MS的抓包工具SOAP Toolkit工具打印出xml信息,结果发现从Web Services上发送给客户端xml消息的头和尾都有随机的字符串,如下:
1fc
<?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>
<ns1:filterObjectsResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="SecurityService">
<filterObjectsReturn xsi:type="xsd:string">12345 hello world</filterObjectsReturn>
</ns1:filterObjectsResponse>
</soapenv:Body>
</soapenv:Envelope>
0
谁知道是什么原因呢?谢谢了