我是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