User's Guide


XML Samples and Tools

The XML tools and samples are loaded when you load the VA: XML support feature. The following tools and samples are provided:

XML Viewer
The XML viewer, AbtXmlViewer, parses XML files and displays them in a tree structure.

XML Http Client Tester View
The XML Client tester, AbtXmlSampleHttpClientTesterView, provides a graphical user interface to simplify the testing of XML server applications that are accessed via HTTP. This part allows you to unit test your server application without constructing a throwaway front-end client.

XML Socket Client Tester view
The XML Client HTTP tester, AbtXmlSampleSocketClientTesterView, provides a graphical user interface to simplify the testing of XML server applications that are accessed via sockets. This part allows you to unit test your server application without constructing a throwaway front-end client.

XML Customer Client view
The XML Customer Client View, AbtXmlSampleCustomerHttpClientView, is a simple example of how customers can use XML as a mechanism for information exchange between client/server applications. The XML Customer Client View can be used to pass information via an HTTP socket request.

XML Customer Request Handler
The XML Customer Request Handler, AbtXmlSampleCustomerRequestHandler, demonstrates the general logic required to construct a simple XML server that is accessed via the Web Server Interface (WSI). The XML Customer Request Handler uses the DOM parser to read in the XML input. It then uses the serialization code to map the DOM into a customer object, AbtXmlSampleCustomer.

XML Sample SAX Customer Request WSI Handler
The XML Sample SAX Customer Request Handler, AbtXmlSampleSaxCustomerWsiRequestHandler, is a subclass of the AbtXmlSampleCustomerRequestHandler class that uses the same logic as the XML Customer Request Handler. The XML Sample SAX Customer Request Handler uses a SAX parser with a customer SAX handler to map the XML directly into a customer object.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]