Tutorial about web service - iphone

Can anyone give me good tutorial about web service?
i find below tutorial with example but doesn't work
1
2
3
for example if i want to show weather in my app should i get data from specific web site or i can get data from yahoo or other site about weather

SajjadZare,
I answered a similar question on SO and wrote a blog post about consuming Web APIs. Please let me know if this doesn't help you:
How to Consume JSON or XML Web APIs on the iPhone
The original SO question I answered
Cheers and best of luck,
Mark

Related

What happens if a bot is not able to answer?

In the main QnA website, if I make a question which has no answer, I get an answer as:
I don’t have an answer for that. Try typing MENU to go back to the main menu
That's ok, because sometimes the knowledge database is still in the learning stage. But how can I access these questions that have no answer so that I can improve my bot?
As the docs for QnA Maker say,
QnA Maker stores all chat logs and other telemetry, if you have
enabled App Insights during the creation of your QnA Maker service.
Run the sample queries to get your chat logs from App Insights.
See Analytics on your knowledge base for details on how to implement and run queries on the analytics gathered.

Updating ionicdb using web api?

I wish to know if there is any way to update ionicdb using web api , or from a rest client tool. I know parse platform had it and firebaseDb also has it. But I could not find any documentation for ionic cloud db. It says how to set up in your mobile app , but not through web api. Please help.
Well, sorry for the late answer... the docs are here:
http://docs.ionic.io/api/endpoints/db.html
but unfortunately ionicDB is going away soon. It looks like the Beta has run its course and they're closing it down.
I hope I'm not the one to be the bearer of bad news. :(

webservise asp.net mvc2 response

I've been racking my brain for a couple of days now on how to approach a new requirement.
I have two websites. The first one lets the user fill out an application. The second website is an internal website use to manage the users applications. I need to develop a "web service" that sends the application data from website 1 to website 2. I have never done a web service before and I'm a bit confused on where to start. I've been reading various examples online but they all seem to be just a starting point for building a webservice... no specific examples.
So for posting the data website 1, what would my controller method look like? What would and example of that look like? Is there some form of redirect in the method that points to website 2?
Thanks ahead of time for your assistance. :)

If I want my iOS app to use a RESTful WebService that returns XML data, which APIs do I want to start learning?

I'd like to build in some weather functionality into my app and I'm going to be using the NOAA weather web service to retrieve the weather information. The NOAA website has a great deal of information on how the data should be requested and how the resulting data is structured. I'm new to iOS development, so I just need a little direction because I'm not sure which APIs I should be using to request and process this data. My questions are...
What's the proper way to request access to the user's location?
If the user allows access to their location, which APIs would I use to access it?
To make an HTTP request to the RESTful webservice, which APIs should I use?
To process/parse the resulting XML data, which API's should I use?
And if anyone can suggest any good examples online that demonstrate any of this functionality, that would also be helpful.
Thanks so much so much in advance for your wisdom!
For location data, look into CoreLocation
http://developer.apple.com/iphone/library/documentation/CoreLocation/Reference/CoreLocation_Framework/index.html
For HTTP requests I like to use the ASIHTTPRequest class
http://allseeing-i.com/ASIHTTPRequest/
TouchXML makes it easy to work with XML data
http://code.google.com/p/touchcode/wiki/TouchXML
Just today, Luke Redpath posted a complete iPhone REST client he wrote. I can't vouch for it, I only saw today that it even exists. But Luke does good work, so I assume it's pretty decent.
See here:
http://lukeredpath.co.uk/blog/some-code-that-i-wrote.html

Posting Data from iPhone to a server exposing OData

I have a server which is exposing OData services.
I can actually make use of OData client for Objective C to get the data and show on the iPhone.
I am wondering what is the process of posting some data into the server from the iPhone.
Assume I have to just send a simple name to the server how would I do that
Any pointers to clogs/sites which provides examples of iPhone apps consuming OData services.
Regards
Hitesh V
To everyone getting to this question to find more info about OData, here's a pointer to some resources and a quick to-do list:
The official Odata Library for iPhone has moved to Github: https://github.com/OData/OData4ObjC/ (although the link posted by Dan remains valid).
Once you clone the repository, you can run the ./odatagen tool (located in the Frameworks/bin folder) to create a pair of .h/.m files to include in your iOS application.
Once you do so, have a look at the included samples (like the Netflix or ODataSampleApp) to have an idea about how it works.
Hope this helps
I've never heard of OData before, but a little googling finds me an Objective-C OData client for the iphone, here: http://odataobjc.codeplex.com/