如何在iphone中使用soap获取从Web服务返回的值

时间:2011-07-11 11:55:48

标签: iphone objective-c web-services soap

如何使用iphone中的soap

获取从Web服务返回的值

这是我的SOAP响应

HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <fnPartyQuestionsPathResponse xmlns="http://QIA/">
      <fnPartyQuestionsPathResult>string</fnPartyQuestionsPathResult>
    </fnPartyQuestionsPathResponse>
  </soap:Body>
</soap:Envelope>

提前完成

2 个答案:

答案 0 :(得分:0)

Here is a Good Tutorial用于从iPhone调用SOAP服务。

答案 1 :(得分:0)

WSDL2OBJC - 为您完成所有工作,请查看此处:&gt; CLICK ME

我已经支持了一段时间,在这个问题上回答了一个很好的例子如何使用它 - here