Web ServicesLesson 103Free preview
XML Services
This lesson is part of XML · All levels
Summary
XML is often used as an intersystem data service format because it is text-based, cross-platform, and easy to validate. An application can exchange XML documents over HTTP with the GET or POST methods, then use XML-RPC, SOAP, or XML-based REST for remote procedure calling. On the client side, the data is read using XMLHttpRequest and then rendered to the page.
Key points
- XML becomes a platform-neutral data exchange format
- Documents are sent via HTTP with Content-Type application/xml
- XML-RPC calls for remote functions with XML-based parameters
- SOAP is a message protocol over HTTP or SMTP with an XML envelope
- The client side uses XMLHttpRequest or DOMParser to read the results
Full lesson
Code examples and quizzes
Full lessons, code examples, and quizzes are available to subscribers. 5 questions.