Halt a Request in Junos XML Protocol Sessions
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.
<rpc> <!-- tag elements for the request --> </rpc> <abort/>
The Junos XML protocol 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 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.