NonStop SOAP 4.1 User's Manual
Example 31 End a Session
Client Request
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:urn="urn:compaq_nsk_oss_SoapHeader">
<soapenv:Header>
<urn:Session SessionCommand="End" SessionID="Tempmj12rty67"/>
</soapenv:Header>
<soapenv:Body>
.
.
.
</soapenv:Body>
</soapenv:Envelope>
NonStop SOAP 4 Response
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:urn="urn:compaq_nsk_oss_SoapHeader">
<soapenv:Header>
</soapenv:Header>
<soapenv:Body>
.
.
.
</soapenv:Body>
</soapenv:Envelope>
In this example, the response does not contain a session header block because there is no relevant
session information to be communicated back to the client.
As noted earlier, a client can also choose to commit a transaction and end a session in the same
request as shown in “End the Session” (page ?).
Session Management and Transactions 257










