Chapter 11

Integrating with Web Services

WHAT’S IN THIS CHAPTER?

  • Learning about a web service and its usefulness
  • Understanding how to send data to an XML web service using the POST and GET methods
  • Parsing the response messages from a web service and using the resulting data from within an iOS application
  • Building location-based applications using the GPS functionality in the Core Location framework and the mapping capability of the MapKit framework

WROX.COM CODE DOWNLOADS FOR THIS CHAPTER

The wrox.com code downloads for this chapter are found at www.wrox.com/remtitle.cgi?isbn=1118391845 on the Download Code tab. The code is in the Chapter 11 download and individually named according to the names throughout the chapter.

In the previous chapter, you learned how to ask for data from a web server by sending HTTP requests. You also learned about XML and how to parse the XML that you receive from web servers in response to your HTTP requests. In this section, you take that knowledge a step further by integrating your application with Internet-based web services.

In this chapter, you learn about web services and how to use them in your iOS applications. You also explore a couple of other interesting features of the iOS SDK, including MapKit and Core Location.

This chapter builds on the knowledge that you gained from Chapter 10 to integrate iOS SDK applications with web services. I cover the use of the GET and POST HTTP methods to send data to a web service. You then create a couple ...

Get Professional iOS Database Application Programming, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.