Sample of BeginSession

This sample of BeginSession sends the Host Access Profile (HAP) named Simulator. BeginSession does the following:

Request

<BeginSession xmlns="http://webservices.galileo.com">

  <Profile>Simulator</Profile>

</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>