2011-02-01 67 views

回答

1

我使用SudzC爲SOAP Web服務創建一個Objective-C代理。

0

ios上的web服務有2種類型的XML-RPC和SOAP。您必須選擇要使用的Web服務。這兩個例子。

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