Using Soap Web Services in iPhone with wsdl2objc?

倾然丶 夕夏残阳落幕 提交于 2019-12-03 05:06:37

My most recent experiences with wsdl2objc is that it's on the right road, but not really there yet. It's definitely the kind of program you'd want. It just may or may not be able to handle the WSDLs you actually have.

Short answer: try it and see if it works for your WSDLs. If it does, hooray. If it doesn't, you have two options. For reasonably simple WSDLs, write the SOAP by hand. This often is actually the easiest approach. If the WSDL is complex, then use gSOAP to get to C++ and then wrap the C++ in Objective-C++ (or use the -c option to gSOAP and wrap the resulting C, whichever you're more comfortable with).

I think this gives a good example of how to configure your environment (for noobs like me) http://blog.futurebytez.com/2010/05/calling-web-services-using-wsdl2objc.html

The official wiki for wsdl2objc (linked in the article) has a code snippet which gives you the basics.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!