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.
<BeginSession xmlns="http://webservices.galileo.com">
<Profile>Simulator</Profile>
</BeginSession>
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>