O'Reilly logo

Professional iOS Database Application Programming, 2nd Edition by Patrick Alessi

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required