3.5.5.1.1 Receiving an XATMUSER_MTAG_RMOPENOK Message
When the XA Resource Manager Bridge receives an XATMUSER_MTAG_RMOPENOK message (section 2.2.3.2.6), it MUST perform the following actions:
If the State of Connection is set to Awaiting Open Response:
Set the Resource Manager Global Identifier field of the XA Resource Manager Proxy object referenced by receiving Connection to the guidRm field of the message.
Set the State of receiving Connection to Active.
Return success to Register Two-Pipe XA Resource Manager event.
Otherwise, the message MUST be processed as an invalid message as specified in section 3.1.6.