Junos 10.3 Junos XML Management Protocol Guide
Request and Response Tag Elements
Child Tag Elements of a Request Tag Element
10
Child Tag Elements of a Response Tag Element on page 11
Spaces, Newline Characters, and Other White Space on page 11
XML Comments on page 12
XML Processing Instructions on page 12
Predefined Entity References on page 12
A request tag element is one generated by a client application to request information
about a device's current status or configuration, or to change the configuration. A request
tag element corresponds to a CLI operational or configuration command. It can occur
only within an
tag element. For information about the
<rpc>
"Sending a Request to the Junos XML Protocol Server" on page 46.
A response tag element represents the Junos XML protocol server's reply to a request
tag element and occurs only within an
the
tag element, see "Parsing the Junos XML Protocol Server Response" on
<rpc-reply>
page 48.
The following example represents an exchange in which a client application emits the
<get-interface-information>
Junos XML protocol server returns the
Client Application
NOTE: This example, like all others in this guide, shows each tag element on a separate
line, in the tag streams emitted by both the client application and Junos XML protocol
server. In practice, a client application does not need to include newline characters
between tag elements, because the server automatically discards such white space.
For further discussion, see "Spaces, Newline Characters, and Other White Space" on
page 11.
For information about the attributes in the opening
XML Protocol Server Response" on page 48. For information about the
in the opening
<interface-information>
on page 62.
Some request tag elements contain child tag elements. For configuration requests, each
child tag element represents a configuration element (hierarchy level or configuration
<rpc-reply>
tag element. For information about
request tag element with the
<interface-information>
Junos XML Protocol Server
rpc-reply
tag, see "Requesting Operational Information"
tag element, see
<rpc>
<extensive/>
flag and the
response tag element.
tag, see "Parsing the Junos
attribute
xmlns
Copyright © 2010, Juniper Networks, Inc.