[Contents] [Prev] [Next] [Index] [Report an Error]

Halting a Request

To request that the JUNOScript server stop processing the current request, a client application emits the <abort/> tag directly after the closing </rpc> tag for the operation to be halted:

<rpc>
    <!- - tag elements for the request - ->
</rpc>
<abort/>

The JUNOScript server responds with the <abort-acknowledgement/> tag:

<rpc-reply xmlns:junos="URL">
    <abort-acknowledgement/>
</rpc-reply>

Depending on the operation being performed, response tag elements already sent by the JUNOScript server for the halted request are possibly invalid. The application can include logic for deciding whether to discard or retain them as appropriate.

For more information, see <abort/> and <abort-acknowledgement/>.


[Contents] [Prev] [Next] [Index] [Report an Error]