在iphone中访问通过soap调用的web服务返回的值
我使用SOAP访问web服务。我的问题是如何检索从web服务返回的值 这是我的SOAP响应在iphone中访问通过soap调用的web服务返回的值,iphone,objective-c,xcode,web-services,soap,Iphone,Objective C,Xcode,Web Services,Soap,我使用SOAP访问web服务。我的问题是如何检索从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/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>
HTTP/1.1200正常
内容类型:text/xml;字符集=utf-8
内容长度:长度
一串
提前感谢。您可以尝试使用该库为SOAP服务生成访问器代码,并使用它。我发现它的使用非常简单和健壮 在使用SOAP时总是值得一看。它将从您的WSDL文件自动生成一系列类和对象(假设您可以访问它),这使得访问数据变得非常容易。我在一些实时项目中使用过它,发现它按照tin上的说明执行。解析获得的xml格式,从xml中收集想要的数据并相应地使用:感谢您的回复,我已经有了一个web服务,它接受2个字符串参数并返回一个字符串值。如何使用WSDL获取该字符串值。你能详细说明一下吗