+ All Categories
Home > Education > Lesson 5

Lesson 5

Date post: 01-Jun-2015
Category:
Upload: andrewhirevn
View: 322 times
Download: 2 times
Share this document with a friend
Popular Tags:
16
HIREVIETNAMESE iPhone Training Lesson 5
Transcript
Page 1: Lesson 5

HIREVIETNAMESE

iPhone TrainingLesson 5

Page 2: Lesson 5

HIREVIETNAMESEhttp://www.hirevietnamese.com HIREVIETNAMESE

Contents

SOAP Introduction2

Example 55

Exercise 562

NSURLConnection3

NSXMLParser4

Web Service Architectures1

Page 3: Lesson 5

HIREVIETNAMESEhttp://www.hirevietnamese.com HIREVIETNAMESE

Web services Architecture

3

Database SOAP ServicesXML

SOAP Protocol

Page 4: Lesson 5

HIREVIETNAMESEhttp://www.hirevietnamese.com HIREVIETNAMESE

SOAP Introduction

4

What is SOAP? SOAP stands for Simple Object Access Protocol SOAP is a communication protocol SOAP is for communication between applications SOAP is a format for sending messages SOAP communicates via Internet SOAP is platform independent SOAP is language independent SOAP is based on XML SOAP is simple and extensible SOAP allows you to get around firewalls SOAP is a W3C recommendation

Page 5: Lesson 5

HIREVIETNAMESEhttp://www.hirevietnamese.com HIREVIETNAMESE

SOAP Introduction

5

Why SOAP? It is important for application development to allow Internet

communication between programs.

HTTP is supported by all Internet browsers and servers.

SOAP provides a way to communicate between applications running on different operating systems, with different technologies and programming languages.

Page 6: Lesson 5

HIREVIETNAMESEhttp://www.hirevietnamese.com HIREVIETNAMESE

SOAP Introduction

6

SOAP Building Blocks An Envelope element that identifies the XML document as a

SOAP message.

A Header element that contains header information.

A Body element that contains call and response information.

A Fault element containing errors and status information.

Page 7: Lesson 5

HIREVIETNAMESEhttp://www.hirevietnamese.com HIREVIETNAMESE

SOAP Introduction

7

SOAP Request

Page 8: Lesson 5

HIREVIETNAMESEhttp://www.hirevietnamese.com HIREVIETNAMESE

SOAP Introduction

8

SOAP Response

Page 9: Lesson 5

HIREVIETNAMESEhttp://www.hirevietnamese.com HIREVIETNAMESE

NSURLConnection

9

Request

Page 10: Lesson 5

HIREVIETNAMESEhttp://www.hirevietnamese.com HIREVIETNAMESE

NSURLConnection

10

Delegate

Page 11: Lesson 5

HIREVIETNAMESEhttp://www.hirevietnamese.com HIREVIETNAMESE

NSXMLParser

11

Delegate

Page 12: Lesson 5

HIREVIETNAMESEhttp://www.hirevietnamese.com HIREVIETNAMESE

NSXMLParser

12

XML

Page 13: Lesson 5

HIREVIETNAMESEhttp://www.hirevietnamese.com HIREVIETNAMESE

NSXMLParser

13

XML

Page 14: Lesson 5

HIREVIETNAMESEhttp://www.hirevietnamese.com HIREVIETNAMESE

Example 5

14

Page 15: Lesson 5

HIREVIETNAMESEhttp://www.hirevietnamese.com HIREVIETNAMESE

Exercise 5

15

Page 16: Lesson 5

HIREVIETNAMESE


Recommended