在android中使用soap wsdl Web服务在android中成功发送请求后未获得响应
几天来,我一直在解决webservice解析问题,这是我第一次使用Soap-wsdl-webservice,我使用Xstream进行解析,我成功地发送了请求,但没有得到正确的响应。Web服务是这样的 请求:在android中使用soap wsdl Web服务在android中成功发送请求后未获得响应,android,xml,soap,wsdl,xstream,Android,Xml,Soap,Wsdl,Xstream,几天来,我一直在解决webservice解析问题,这是我第一次使用Soap-wsdl-webservice,我使用Xstream进行解析,我成功地发送了请求,但没有得到正确的响应。Web服务是这样的 请求: <soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://sche
<soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:com="http://tempuri.org/service url">
<soapenv:Header/>
<soapenv:Body>
<com:chkUniqeId soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<uid xsi:type="uniq:UniqueIdgenerationRequest" xmlns:uniq="http://service url/">
<!--You may enter the following 3 items in any order-->
<uid xsi:type="xsd:string">20150910034805007</uid>
<module xsi:type="xsd:string">uniqueid</module>
<type xsi:type="xsd:string">N</type>
</uid>
</com:chkUniqeId>
</soapenv:Body>
20150910034805007
独一无二的
N
答复:
<SOAP-ENV:Envelope xmlns:SOAP- ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<SOAP-ENV:Body>
<ns1:chkUniqeIdResponse SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="http://tempuri.org/web service url">
<return xsi:type="ns2:UniqueIdgenerationResponse" xmlns:ns2="http://Service url/">
<flag xsi:type="xsd:string">N</flag>
<status xsi:type="xsd:string">Unique ID (20150910034805007) Existing Already</status>
</return>
</ns1:chkUniqeIdResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
N
已存在唯一ID(20150910034805007)
有谁知道我如何在Android中处理这种类型的服务吗