【发布时间】:2014-07-08 08:46:12
【问题描述】:
如果我得到 BodyIn response = null; 在 Android 中使用 ksoap 的 SOAP 请求有什么问题?响应转储 = 包含所需数据的正确 XML,以及 XMLPullParser 异常:
expected: START_TAG {http://schemas.xmlsoap.org/soap/envelope/}Envelope (position:START_TAG <{https://schemas.xmlsoap.org/soap/envelope/}s:Envelope>
请求转储:
<v:Envelope xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:d="http://www.w3.org/2001/XMLSchema" xmlns:c="http://schemas.xmlsoap.org/soap/encoding/" xmlns:v="http://schemas.xmlsoap.org/soap/envelope/">
<v:Header />
<v:Body>
<XMLDataGet xmlns="http://tempuri.org/">
<entity>persona</entity>
<last_update_date>20140101</last_update_date>
<country>UA</country>
<user>someuser</user>
</XMLDataGet>
</v:Body>
</v:Envelope>
【问题讨论】: