TransactionAbort method

SOAP/AM Server Development > Managing Transactions > The transactionControl Service >

TransactionAbort method

Previous pageReturn to chapter overviewNext page

The TransactionAbort method of SOAP/AM Server's built-in transactionContol service is used to abort an existing suspended transaction.

Syntax

txResponse = TransactionAbort ( txURL )

Parameters

name

type

direction

description

 

txResponse

txControlResponseType

out

   The response to the 'abort transaction' request. See txControlResponseType and Remarks below for more information.

 

txURL

xsd:string

in

   The identifier of any existing "suspended" transaction, copied from the txControlResponseType response of the TransactionBegin method or a user-defined method.

Remarks

The TransactionAbort method is part of SOAP/AM 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 SOAP/AM Server successfully aborts the transaction, the txOutcome element of the response will be "aborted". txURL should not be used again in any other transaction control operation.

 

If the SOAP/AM Server cannot abort the transaction, the txOutcome element of the response will be "aborted" and the txResult element will contain the NSK file system error.