<rpc>

Usage

<junoscript>
<rpc [attributes]>
<!-- tag elements in a request from a client application -->
</rpc>
</junoscript>

Description

Enclose all tag elements in a request generated by a client application.

(Optional) One or more attributes of the form attribute-name="value". This feature can be used to associate requests and responses if the value assigned to an attribute by the client application is unique in each opening <rpc> tag. The Junos XML protocol server echoes the attribute unchanged in its opening <rpc-reply> tag, making it simple to map the response to the initiating request.

Note: The xmlns:junos attribute name is reserved. The Junos XML protocol server sets the attribute to an appropriate value on the opening <rpc-reply> tag, so client applications must not emit it on the opening <rpc> tag.

Usage Guidelines

See Sending a Request to the Junos XML Protocol Server.

Related Topics