Outline for Handling XML Documents
Outline for Handling XML Documents 
An XML based application, and in particular a Web service application, may
consume or produce XML documents, and such an application may implement
three distinct processing phases: 
1. The application consumes an XML document.
2. The application applies its business logic on information retrieved from the
3. The application produces an XML document for response.
Generally speaking, an XML based application exposes an interface that is
defined in terms of the schemas for the XML documents that it consumes and pro 
duces as well as by the communication or interaction policies of the application.
In the case of a Web service, a Web Services Description Language (WSDL) doc 
ument describes this interface, and this document refers to the XML schemas to
which the exchanged documents conform.
Let's examine the steps for handling XML documents. (See Figure 4.1.) The
first phase, consuming XML incoming documents or XML input processing, con 
sists of the following steps:
Parse and optionally validate the document
 Parse and validate the incom 
ing document against the schema to which the document should conform.
Transform the document
 If necessary, transform the document from its
conforming schema to the internally supported schema.
Disassemble the document or pass it as is to the next phase
a document consists of these steps:
Search the incoming document for relevant information. The information 
can be recognized by using the embedded tags or its expected location within 
the document.
Extract the relevant information once it is located.
Optionally, map the retrieved information to domain specific objects.

New Page 1

Home : About Us : Network : Services : Support : FAQ : Control Panel : Order Online : Sitemap : Contact : Terms Of Service

java web hosting



 Our partners: | PHP: Hypertext Preprocessor | Best Web Hosting | Java Web Hosting | Inexpensive Web Hosting |

Jsp Web Hosting | Cheapest Web Hosting | Jsp Hosting | Cheap Hosting


Virtualwebstudio. Business web hosting division of Web Design Plus. All rights reserved