Examples
Rollback a Transaction (success)
This example successfully rolls back a transaction.
Request:
<rollback resonly=”n” id=”101”></rollback>
Response:
<rollbackResp id=”101”>
<rollback resonly=”n” id=”101”></rollback>
<res error=”0” affected=”0”/>
</rollbackResp>
Rollback a Transaction that is not Open (fail)
This example attempts to rollback a transaction but fails because a transaction was not open.
Request:
<commit resonly=”n” id=”102”></rollback>
Response:
<rollbackResp id=”102”>
<rollback resonly=”n” id=”102”></rollback>
<res error=”1009” affected=”0”/>
</rollbackResp>