GetIdentityInfo

The GetIdentityInfo method takes a Host Access Profile (HAP) and returns an XML document with the user ID, pseudo city code, and host. This information is necessary for certain transactions (e.g., ticketing).

Refer to the sample of GetIdentityInfo for an example of a request and response. The following samples illustrate how to use the GetIdentityInfo method using SOAP.

SOAP

The following is a sample SOAP request and response. The placeholders shown need to be replaced with actual values.

Request

POST /XMLSelect/XMLSelect.asmx HTTP/1.1

Host: testws.galileo.com

Content-Type: text/xml; charset=utf-8

Content-Length: length

SOAPAction: "http://webservices.galileo.com/GetIdentityInfo"

 

<?xml version="1.0" encoding="utf-8"?>

<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">

  <soap:Body>

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

      <Profile>string</Profile>

    </GetIdentityInfo>

  </soap:Body>

</soap:Envelope>

Response

HTTP/1.1 200 OK

Content-Type: text/xml; charset=utf-8

Content-Length: length

<?xml version="1.0" encoding="utf-8"?>

<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">

  <soap:Body>

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

      <GetIdentityInfoResult>xml</GetIdentityInfoResult>

    </GetIdentityInfoResponse>

  </soap:Body>

</soap:Envelope>