HP (Hewlett-Packard) HP OpenView Vantagepoint – Operation Manual for UNIX Printer User Manual


 
222 Chapter5
Integrating with VantagePoint Navigator
The XML Data Interface
The XML Data Interface
The XML Data Interface uses filesystem sockets as communication
mechanism. The request adapter of the service engine binds to the socket
and listens for requests. Each request is handled by a request handler in
parallel. If a new request comes in, it opens a filesystem socket over
which it communicates with the new client. The client writes the request
into the socket after a successful connection.
Depending on the type of request, the client also provides information as
XML text. Incoming requests comply to the operations.dtd, outgoing
XML to the results.dtd. Depending on the request, the request adapter
contacts the session, service, or logging adapter.
The following namespaces are used by the VantagePoint Navigator
DTDs:
XML namespace of the service.dtd:
http://www.hp.com/OV/opcsvc
XML namespace for the operations.dtd:
http://www.hp.com/OV/opcsvcoperations
XML namespace for the results.dtd:
http://www.hp.com/OV/opcsvcresults
Name spaces are specified within the toplevel XML tag and are used to
uniquely identify the XML tags. For example, a file operations.xml
should start like this:
<?xml version=’1.0’ ?>
<Operations xmlns="http://www.hp.com/OV/opcsvcoperations"
version="1.0">
The DTDs are available in:
/etc/opt/OV/share/conf/OpC/mgmt_sv/dtds/services.dtd
/etc/opt/OV/share/conf/OpC/mgmt_sv/dtds/operations.dtd
/etc/opt/OV/share/conf/OpC/mgmt_sv/dtds/results.dtd