Class 12 Notes for XML

Learning Objectives:

You will be able to describe how AJAX works.

You will be able create an XML file that uses AJAX.

You will be able to describe how SOAP works.

Homework:

You need to read the RSS, WSDL and SOAP tutorials from the W3schools.

Read: Chapter 10

AJAX is really a Marketing Term for Books to describe technology that has exsisted for Years.

Review the Examples of AJAX in use:

My XML File and using AJAX

Fill in the State using AJAX

 

Final Project

Topics Covered:

What is AJAX:

AJAX is really a Marketing Term for Books to describe technology that has exsisted for Years.

AJAX is the marriage between JavaScript, CSS (or XSL) and XML.

AJAX uses the HTMLRequest Object to send the information between computers.

AJAX allows you to get around firewalls!

Wikipedia has a very comprehensive explaination of what AJAX does for the Web

 

What is SOAP:

SOAP (Simple Object Access Protocol ) are specialized XML Documents for transfering information using the HTTPReqest Object.

SOAP allows you to get around firewalls!

A SOAP message is fundamentally a one-way transmission between SOAP nodes, from a SOAP sender to a SOAP receiver, but SOAP messages are expected to be combined by applications to implement more complex interaction patterns ranging from request/response to multiple, back-and-forth "conversational" exchanges)
Soap Supported by Several Servers

SOAP Syntax in addition to XML Syntax:

A SOAP message MUST be encoded using XML

A SOAP message MUST use the SOAP Envelope namespace

A SOAP message MUST use the SOAP Encoding namespace

A SOAP message must NOT contain a DTD reference

A SOAP message must NOT contain XML Processing Instructions

SOAP is for communication between applications using HTTP!

VIP: SOAP allows you to get around firewalls!

Who is using SOAP:

PayPal uses Soap

IBM also uses Soap

Microsoft uses SOAP in .Net for its Web Services

 

What is RSS

RSS (Really Simple Syndication) are specialized XML documents used by most major news organizations for keeping content fresh. RSS is also a format for identifying content on the Web and used as foundation for a Semantic Web.

 

Examples of RSS in use:

Cnet

Time

Link to PVCC Pride RSS feed

Terms:

SOAP, AJAX, WAP, RSS, HTTPRequest Object, Semantic Web

 

Final Step:

Review in your mind everything we covered in class and remember to cover it again before you go to bed so your mind to process this information while you sleep.