我是iPhone开发新手,想要获得答案,请发送带有用户名,密码和公司ID的肥皂标题的请求。如何使用ObjC在ios中发送此Soap Header请求?
我已经搜索了很多教程,但没有任何帮助。
在此先感谢。
肥皂代码是:
<soap:Header>
<AuthenticationData xmlns="http://www.harikishan.com/"> //www.harikishan.com used as an example of website to which i need to send request
<CompanyId>string</CompanyId>
<UserName>string</UserName>
<Password>string</Password>
</AuthenticationData>
</soap:Header>
这不是一个好问题。你应该先尝试一些事情,当你面临问题时,而不是随问题而来。 http://highoncoding.com/Articles/809_Consuming__NET_Web_Services_in_an_iOS_Application.aspx,http://www.macresearch.org/interacting-soap-based-web-services-cocoa-part-2,http://www.makebetterthings.com/ iphone /呼叫SOAP的Web服务 - 从 - iphone /。 http://mattgemmell.com/2008/12/08/what-have-you-tried/ – CRDave 2013-04-09 11:01:36
@CRDave ,,,我在这方面做了大量的研究,但从现在起,我会付出更多的努力,然后再问其他任何东西, – 2013-04-10 05:36:30