如何在目标c中使用WSDL url调用soap方法 [英] How to call soap method using WSDL url in objective c
问题描述
嗨朋友
如何使用SOAP方法中的参数解析此api。你能取悦任何一个想法吗?
Wsdl:http://82.178.20.92:8080.178.20.92:8080 / CRM2 / services / SearchBusiness.ws?wsdl
功能:getSearchBusiness
参数:array(' businessCode' =& gt;' {& quot; businessCode& quot;:[Business Code]}& ;#39;,
' businessName' =& gt;'商业名称',
& #39; location' =& gt;位置,
' categoryKeyword' =& gt;类别名称,
PageNumber& ;#39; =& gt; Page No,
' paginationSize' =& gt;页面大小,
&#39 ; languageCode' =& gt;''
)< / pre>
谢谢。
Hi Friends
How to parse this api with parameter in SOAP method. Can you please any one given idea.
Wsdl : http://82.178.20.92:8080.178.20.92:8080/CRM2/services/SearchBusiness.ws?wsdl
function : getSearchBusiness
Parameters : array( 'businessCode' => '{"businessCode":[ Business Code]}',
'businessName' => 'Business name',
'location' => Location,
'categoryKeyword' => Category Name,
PageNumber' => Page No,
'paginationSize' => Page size,
'languageCode' => ''
)</pre>
Thanks.
推荐答案
您可以使用完全配备的NSMutableURLRequest。但请注意:它必须在一个请求中。这是一些好看的示例代码 for SOAP。
提示:使用现代的NSURLSession-API。来自伟大的Ray Wenderlich的精彩教程。
You can use a fully equiped NSMutableURLRequest. But be aware: it must be in one request. Here is some good looking sample code for SOAP.
Tip: use the modern NSURLSession-API. A nice tutorial from the great Ray Wenderlich.
这篇关于如何在目标c中使用WSDL url调用soap方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!