The following diagram illustrates the flow of an XML message and the components
involved:
The following is the process the XML Channel uses to handle XML messages:
- The XmlEstablishSessionServlet receives an XML message (an HttpRequest)
that uses the "GET" or "POST" protocol. The session ID is sent as part of
the XML message.
- The servlet uses the DSEXMLMessageProcessor to convert the message data
and store the data in a toolkit data structure, a ChannelContext instance.
- The servlet calls the XMLRequestHandler to perform the operation indicated
in the service request.
- The servlet calls the XMLPresentationHandler to build the response message
suitable for the device type of the client.