Examples

Commit a Transaction (success)

This example successfully commits a transaction.

Request:
<commit id=”101”></commit>
Response:
<commitResp id=”101”>
  <res error=”0” affected=”0”/>
</commitResp>

Commit a Transaction that is not Open (fail)

This example attempts to commit a transaction but fails because a transaction was not open.

Request:
<commit resonly=”n” id=”102”></commit>
Response:
<commitResp id=”102”>
  <commit resonly=”n” id=”102”></commit>
  <res error=”1009” affected=”0”/>
</commitResp>