【发布时间】:2014-08-11 09:56:23
【问题描述】:
我是 SOAP XML Web 服务的新手。我发起肥皂请求并得到如下响应
<?xml version="1.0" encoding="ISO-8859-1"?>
<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body><ns1:createemailResponse xmlns:ns1="urn:hellowsdl"><return xsi:type="xsd:string”>{“data”:[{“email”:”ex@yahoo.com”,”pid”:”32502”}]}</return></ns1:createemailResponse></SOAP-ENV:Body>
在此我想从 createemailResponse 检索响应字符串为 {“data”:[{“email”:”ex@yahoo.com”,”pid”:”32502”}]}。请帮帮我...
【问题讨论】:
-
你有 SOAP 服务的 wsdl 文件吗?
-
是的,我有肥皂服务的 wsdl 文件。
-
你能解决你的问题吗?
标签: ios xml web-services soap