Sample of BeginSession
This sample of BeginSession sends the Host Access Profile (HAP) named Simulator. BeginSession does the following:
-
Signs on the user indicated in the HAP.
-
Initializes a session token and returns the session token.
-
Emulates the pseudo city code specified in the HAP, if the HAP allows emulation.
Request
<BeginSession xmlns="http://webservices.galileo.com">
</BeginSession>
Response
The response contains the session token that can be used in methods that need a session token (i.e., EndSession, SubmitTerminalTransaction, and SubmitXmlOnSession).
<string xmlns="http://webservices.galileo.com">Tyv8NKo+WiAuqQVR3H09+7QBvWWvgwIAXg4IFYGpVnZD09c4l9VXnQ/VDkxJ4oxnIyt5D/+nLzcwi/GRLSy+n646anneL1zCVOvXxN8nDiE=</string>