NonStop SOAP User's Manual

Using NonStop SOAP with a TS/MP Application and
NonStop Processes
NonStop SOAP User’s Manual520501-012
6-35
Sessions and Transactions with TS/MP Servers and
NonStop Processes
Request to End a Session
To end the session, the client could send this message:
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Header>
<Id:Session SessionID="UY25JH65568"
SessionCommand="End"
xmlns:Id="urn:compaq_nsk_oss_SoapHeader"/>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
If a subsession is in progress, the client must abort the subsession, then end the
session.
Ending the session implicitly commits the transaction, unless a previous request
aborted the subsession.
Example 6: Multiple Transactions Per Dialog
This example illustrates a session between a client and the ProcessAccount service
specified in Example 2: Multiple Services, Transaction Support on page 6-10. The
service supports multiple transactions per dialog.