Checking the progress of an atomic transaction

When a CICS® web service is invoked as part of an atomic transaction, the transaction passes through a number of states. These states indicate whether the transaction was successful or had to roll back.

Procedure

If you need to access this information, you can follow one of the following steps:

  • Look inside the contents of the <cicswsa:Action> element using a trace.
    1. Perform an auxiliary trace using component PI and set the tracing level to 2.
    2. Look for trace point PI 0A31, which contains the information for the request container.
      In particular, look for PIIS EVENT - REQUEST_CNT which appears just before the <cicswsa:Action> element.
  • Use a user-written message handler program in the DFHWSATR and DFHWSATP pipelines to display the content of DFHWS-SOAPACTION containers.
    If you opt for this approach, make sure that you define the message handler program in the pipeline configuration files.

Example

The states for a transaction that completes successfully and is committed are:

"http://schemas.xmlsoap.org/ws/2004/10/wscoor/Register"
"http://schemas.xmlsoap.org/ws/2004/10/wscoor/RegisterResponse"
"http://schemas.xmlsoap.org/ws/2004/10/wsat/Prepare"
"http://schemas.xmlsoap.org/ws/2004/10/wsat/Prepared"
"http://schemas.xmlsoap.org/ws/2004/10/wsat/Commit"
"http://schemas.xmlsoap.org/ws/2004/10/wsat/Committed "

The states for a transaction that is rolled back are:

"http://schemas.xmlsoap.org/ws/2004/10/wscoor/Register"
"http://schemas.xmlsoap.org/ws/2004/10/wscoor/RegisterResponse"
"http://schemas.xmlsoap.org/ws/2004/10/wsat/Rollback"
"http://schemas.xmlsoap.org/ws/2004/10/wsat/Aborted"