Emitting The Initialization Pi And Tag - Juniper JUNOS OS 10.3 - XML MANAGEMENT PROTOCOL GUIDE 6-30-2010 Manual

Junos xml management protocol guide
Hide thumbs Also See for JUNOS OS 10.3 - XML MANAGEMENT PROTOCOL GUIDE 6-30-2010:
Table of Contents

Advertisement

Copyright © 2010, Juniper Networks, Inc.
information emitted by the other, using it to determine whether they can communicate
successfully. The following sections describe how to start a Junos XML protocol session:
Emitting the Initialization PI and Tag on page 39
Parsing the Initialization PI and Tag from the Junos XML Protocol Server on page 41
Verifying Software Compatibility on page 43
Supported Software Versions on page 43

Emitting the Initialization PI and Tag

When the Junos XML protocol session begins, the client application emits an
PI and an opening
<junoscript>
Emitting the <?xml?> PI on page 39
Emitting the Opening <junoscript> Tag on page 40
Emitting the <?xml?> PI
The client application begins by emitting an
NOTE: In the following example (and in all examples in this document of tag elements
emitted by a client application), bold font is used to highlight the part of the tag sequence
that is discussed in the text.
<?xml version="version" encoding="encoding"?>
The attributes are as follows. For a list of the attribute values that are acceptable in the
current version of the Junos XML management protocol, see "Supported Software
Versions" on page 43.
version
—The version of XML with which tag elements emitted by the client application
comply
—The standardized character set that the client application uses and can
encoding
understand
In the following example of a client application's
indicates that the application is emitting tag elements that comply with the XML 1.0
specification. The
encoding="us-ascii"
using the 7-bit ASCII character set standardized by the American National Standards
Institute (ANSI). For more information about ANSI standards, see
.
<?xml version="1.0" encoding="us-ascii"?>
NOTE: If the application fails to emit the
tag, the Junos XML protocol server emits an error message and immediately
<junoscript>
closes the session and connection. For more information, see "Emitting the Opening
<junoscript> Tag" on page 40.
Chapter 3: Controlling the Junos XML Management Protocol Session
tag, as described in the following sections:
<?xml?>
PI.
<?xml?>
attribute indicates that the client application is
PI before emitting the opening
<?xml?>
<?xml?>
PI, the
version="1.0"
attribute
http://www.ansi.org/
39

Advertisement

Table of Contents
loading

This manual is also suitable for:

Junos os

Table of Contents