【发布时间】:2014-05-29 06:30:44
【问题描述】:
如何解析下面的soap响应。特别是对于响应“结果”。请帮我解决这个问题。提前致谢。
响应转储
<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<RegisterWithEmailIdResponse xmlns="http://tempuri.org/"><RegisterWithEmailIdResult>
<RegisterWithEmailId xmlns="">
<RegisterWithEmailId>
<Result>1</Result>
</RegisterWithEmailId>
</RegisterWithEmailId>
</RegisterWithEmailIdResult>
</RegisterWithEmailIdResponse>
</soap:Body>
</soap:Envelope>
实际反应
anyType{RegisterWithEmailId=anyType{Result=1; }; }
【问题讨论】:
标签: android parsing soap android-ksoap2