Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

close
keyboard_arrow_left
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

Halt a Request in Junos XML Protocol Sessions

date_range 14-Jul-21

In a Junos XML protocol session, to request that the Junos XML protocol 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.

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

The Junos XML protocol server responds with the <abort-acknowledgement/> tag.

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

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

external-footer-nav