HireVietnamese - Lesson 5

Download HireVietnamese  - Lesson 5

Post on 13-Jul-2015

337 views

Category:

Technology

1 download

Embed Size (px)

TRANSCRIPT

<ul><li><p>HIREVIETNAMESE</p><p>iPhone TrainingLesson 5</p></li><li><p>HIREVIETNAMESEhttp://www.hirevietnamese.com HIREVIETNAMESE</p><p>Contents</p><p>SOAP Introduction2</p><p>Example 55</p><p>Exercise 562</p><p>NSURLConnection3</p><p>NSXMLParser4</p><p>Web Service Architectures1</p></li><li><p>HIREVIETNAMESEhttp://www.hirevietnamese.com HIREVIETNAMESE</p><p>Web services Architecture</p><p>3</p><p>Database SOAP ServicesXML</p><p>SOAP Protocol</p></li><li><p>HIREVIETNAMESEhttp://www.hirevietnamese.com HIREVIETNAMESE</p><p>SOAP Introduction</p><p>4</p><p> 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</p></li><li><p>HIREVIETNAMESEhttp://www.hirevietnamese.com HIREVIETNAMESE</p><p>SOAP Introduction</p><p>5</p><p> Why SOAP? It is important for application development to allow Internet </p><p>communication between programs.</p><p> HTTP is supported by all Internet browsers and servers.</p><p> SOAP provides a way to communicate between applications running on different operating systems, with different technologies and programming languages.</p></li><li><p>HIREVIETNAMESEhttp://www.hirevietnamese.com HIREVIETNAMESE</p><p>SOAP Introduction</p><p>6</p><p> SOAP Building Blocks An Envelope element that identifies the XML document as a </p><p>SOAP message.</p><p> A Header element that contains header information.</p><p> A Body element that contains call and response information.</p><p> A Fault element containing errors and status information.</p></li><li><p>HIREVIETNAMESEhttp://www.hirevietnamese.com HIREVIETNAMESE</p><p>SOAP Introduction</p><p>7</p><p>SOAP Request</p></li><li><p>HIREVIETNAMESEhttp://www.hirevietnamese.com HIREVIETNAMESE</p><p>SOAP Introduction</p><p>8</p><p>SOAP Response</p></li><li><p>HIREVIETNAMESEhttp://www.hirevietnamese.com HIREVIETNAMESE</p><p>NSURLConnection</p><p>9</p><p>Request</p></li><li><p>HIREVIETNAMESEhttp://www.hirevietnamese.com HIREVIETNAMESE</p><p>NSURLConnection</p><p>10</p><p>Delegate</p></li><li><p>HIREVIETNAMESEhttp://www.hirevietnamese.com HIREVIETNAMESE</p><p>NSXMLParser</p><p>11</p><p>Delegate</p></li><li><p>HIREVIETNAMESEhttp://www.hirevietnamese.com HIREVIETNAMESE</p><p>NSXMLParser</p><p>12</p><p>XML</p></li><li><p>HIREVIETNAMESEhttp://www.hirevietnamese.com HIREVIETNAMESE</p><p>NSXMLParser</p><p>13</p><p>XML</p></li><li><p>HIREVIETNAMESEhttp://www.hirevietnamese.com HIREVIETNAMESE</p><p>Example 5</p><p>14</p></li><li><p>HIREVIETNAMESEhttp://www.hirevietnamese.com HIREVIETNAMESE</p><p>Exercise 5</p><p>15</p></li><li><p>HIREVIETNAMESE</p></li></ul>