closeTransaction
Close the current transaction by either committing it or rolling it back, depending on the action specified.
• COMMIT commits all changes made in the current transaction. Failures during commit are handled as specified in
beginTransaction.
• ROLLBACK rolls back all changes made in the current transaction.
Location
/services/webservices/system/util/session/operations/
Request Elements
action: COMMIT or ROLLBACK.
Request Example
<session:closeSession xmlns:session="http://www.compositesw.com/services/system/util/session"/>
Response Elements
N/A
Faults
IllegalArgument: If the action is not COMMIT or ROLLBACK.
IllegalState: If no transaction is currently open in the current session.
TransactionFailure: If there is an error in committing the transaction.