I'm trying to get secure web service connectivity on the iPhone over https via SOAP. Currently have http working with NSMutableURLRequest but it doesn't appear to support https. Any ideas what to use to get the secure web service access and processing I'm after?
Any help appreciated // :)
Use gSOAP. It's a C/C++ library providing fast and secure access to web services; you can even develop your own. Even though it's not natively supporting Objective C, it's still IMHO the best open source web services library. Additional information and download can be found here
Related
Q1: Can a native cross-platform mobile app (Android/iOS/Windows) developed in Xamarin call a web service via a secure REST API (https) ?
Q2: If yes, are such calls (when compiled by Xamarin) made 'natively' or made through a webview? In other words, would there be any difference in the app's capability - can the app work as a background service etc as well as a native app?
Note #1: I've searched & found Xamarin documentation for web services: http://docs.xamarin.com/guides/cross-platform/application_fundamentals/web_services/
but there is no specific mention of https. May be the answer is there in the docs, but I'm unable to find/understand.
Note #2: One example of a secure REST-ful service would be Firebase.
You can use Firebase which saves your app data in the cloud
you can find more here and then use Firesharp to access your data in c# code.
Q1: Yes, you can.
Q2: No, no need to use webview. You can use HttpClient class for example or RestSharp library (you can found it in Xamarin components - RestSharp)
I want to create iphone native app. which will use web service.Could any one tell me how many languages is supported by apple for web service. And which the best in performance ??
Your web service implementation is completely independent from your iPhone native app. Apple does not care what language you implement your web service in.
However, your web service client (i.e.: your iPhone app) must be written in Objective-C.
Simple Object Access Protocol is a webservice multi-platform language, and its the default for web services.
In a SOA these problems are addressed. Because the need to communicate with services that are not in the same programming language is something that happens normally. And there appears the SOAP protocol to normalize it.
This is independent from your iPhone.
Hey guys, I'm a student that is trying to develop a Windows Phone 7 app that uses a free web service that can be accessed via SOAP protocol. They have the web service address and the .wsdl address.
I'm pretty confused since all that I've seen mentions .asmx instead of .wsdl, can somebody point me to the right direction to start implementing the web service usage in my app?
Thanks in advance
WSDL is the standard for SOAP-based web service description. It's an xml-based description of webservices that allows client proxy code generation across platforms. ASMX is just an extension for a webservice page. They're separate entities.
How can i use web services and also connect to the server in iphone?
I can only offer some references here you might have probably Googled them yourself:
Toolkit for Web Service-Backed iPhone Apps
iPhone Programming Tutorial – Intro to SOAP Web Services
Creating an iPhone-based Web Service
Googled Results
I have heard good things about using JSON especially TouchJSON.
Also, here is a tutorial from MobileOrchard that uses JSON (but not TouchJSON).
I am new to wordpress and I want to create an interface for being able to access my database hosted on wordpress in my mobile applications - particularly iPhone and Android.
As these do not directly access SQL databases and would need routines on the server-side for being able to do so, what would be the best way for me to go about writing these routines/web-service calls?
Are there any wordpress plugins available for this? If not, what language should I use - php or something else?
I need some lead.
Perhaps you do not need to access the database directly?
Wordpress supports the XML-RPC standard interface so applications can communicate with WP across the internet, without needing access to WP's database. http://codex.wordpress.org/XML-RPC_Support
If you choose to implement your apps' using XML-RPC, all your communication will be reduced to simple HTTP calls.
To get started I suggest checking out the source code of Wordpress' own iPhone application, which utilizes XML-RPC http://iphone.wordpress.org/
Also, note that Wordpress has published an extension to the XML-RPC API that includes WP specific functions: http://codex.wordpress.org/XML-RPC_wp
I would suggest creating a webapp (iPhone style) for the phone application and calling everything with AJAX to a PHP (Due to Wordpress running PHP) backend to validate and execute the queries. iPhone webapps dev link I haven't found any solid tutorial/resource for developing BlackBerry webapps (Please post back if you find one)
Instead of creating a new app, or trying to port the database, check out WP Touch, which is a Wordpress plugin/theme which will turn your wordpress install into an iPhone friendly site on iPhones.