NonStop SOAP User's Manual
Using NonStop SOAP with a TS/MP Application and
NonStop Processes
NonStop SOAP User’s Manual—520501-012
6-25
Sessions and Transactions with TS/MP Servers and
NonStop Processes
Request to Start a Session and a Transaction
This request begins a session and a transaction with the service EmpAdd:
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Header>
<Id:Session SessionCommand="Begin"
BeginNewTransaction="yes"
xmlns:Id="urn:compaq_nsk_oss_SoapHeader/">
</SOAP-ENV:Header>
<SOAP-ENV:Body>
<EmpAdd>
<requestcode>02</requestcode>
<employee_num>1234</employee_num>
<empname>
<first>John</first>
<last>Doe</last>
<middle>K</middle>
</empname>
<regnum>11</regnum>
<branchnum>25</branchnum>
<d401k>10</d401k>
<reqaccep>A</reqaccep>
</EmpAdd>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>