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
精彩评论