Skip to main content
Skip table of contents

TransactionCommit

The TransactionCommit method of SOAPam Server's built-in transactionContol service is used to commit an existing suspended transaction.

Syntax

txResponse = TransactionCommit ( txURL )

Parameters

NameTypeDirectionDescription
txResponsetxControlResponseTypeoutThe response to the 'commit transaction' request. See txControlResponseType and Remarks below for more information.
txURLxsd:stringinThe identifier of any existing "suspended" transaction, copied from the txControlResponseType response of the TransactionBegin method or a user-defined method.

Remarks

The TransactionCommit method is part of SOAPam Server's built-in transactionControl service. The WSDL for the transactionControl service is located at http://mysystem:port/services/transactionControl/transactionControl.wsdl.

If txURL does not identify an existing transaction in the "suspended" state, a SOAP fault will occur.

If SOAPam Server successfully commits the transaction, the txOutcome element of the response will be "committed". txURL should not be used again in any other transaction control operation.

If the SOAPam Server cannot commit the transaction, the txOutcome element of the response may be "aborted" or "unknown" and the txResult element will contain the NSK file system error.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.