NonStop SOAP 4.1 User's Manual
Example 26 Begin a New Transaction within 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 SessionID="Tempmj12rty67" BeginNewTransaction="yes"/>
</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>
<urn: Session SessionID="234567"/>
</soapenv:Header>
<soapenv:Body>
.
.
</soapenv:Body>
</soapenv:Envelope>
where,
Tempmj12rty67
is the temporary session identifier provided by NonStop SOAP 4 in its response to starting the
session.
234567
is the TMF transaction ID.
For efficiency, it is recommended that you combine the two requests described into a single request
as shown in Example 27.
252 Transaction Management










