开发者

how to integrate generated web services stubs file into Xcode

开发者 https://www.devze.com 2023-03-10 07:05 出处:网络
I am doing a project where iphone or ipad is a client side.. problem here is using WSDL file we have generated stubs using a software...

I am doing a project where iphone or ipad is a client side..

problem here is using WSDL file we have generated stubs using a software...

the generated stubs are in the format .h and .m fil开发者_JAVA技巧e

but how to run this file in xcode or integrate with the xcode....

I am not getting any links or tutorial to do so please suggest me how to do.

Thank u


Depends on a software that you have used to generate proxy classes from wsdl. We have successfully used http://code.google.com/p/wsdl2objc/, and just added generated files to project (project->add existing files). Bear in mind that those are just proxy classes, project structure and code to consume the webservice you have to write on your own.


Its depend upon the type of web service are generated. If its XML outputted web service , then you need to use nsxmlparser to parse the XML web-service.And if its outputted as JSON then you had to use JSON parser etc. Therefore its depends upon type of your web-service is, then you can use suitable parser to parse the web service. There are several links available on internet.

0

精彩评论

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