开发者

Webservice in iphone [duplicate]

开发者 https://www.devze.com 2023-02-07 16:44 出处:网络
This question already has answers here: 开发者_JAVA百科 Closed 10 years ago. Possible Duplicate: How to use webservice in iphone objective c?
This question already has answers here: 开发者_JAVA百科 Closed 10 years ago.

Possible Duplicate:

How to use webservice in iphone objective c?

How to Call Webservice in iphone?


I use SudzC to create an Objective-C proxy for a SOAP webservice.


I think this is what you need: How to call soap service


Here..

Try this link.. SoapCalls and XmlParsing example for Iphone

Also you can use WSDL2ObjC.. example for the following lies here.. WSDL2ObjC

Better go for the 1st one...its far more flexible than wsdl2objC..

Happy Coding.. :)


The web-service on ios are of 2 types XML-RPC and SOAP. You have to choose which web service you want to work with. Both as examples.

1.SOAP

tell application "URL of the soap web-service"
   call Soap{ option+l
   method name: method_name, SOAPAction: action_name, option+l 
   method namespace uri: namespace_name, parameters: parameters_list}
end tell

2.XMP-RPC

tell application "URL of xml web-service"
   call xmlrcp {method name: method_name, parameters: parameters_list}
end tell 
0

精彩评论

暂无评论...
验证码 换一张
取 消