Skip to end of banner
Go to start of banner

Ping Request

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 24 Next »

The connecting PMS can use the OTA_PingRQ to verify that the test web service is up and running and that it is able to connect.

Ping Request
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
	<SOAP-ENV:Header>
		<wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
			<wsse:UsernameToken>
				<wsse:Username>USERNAME</wsse:Username>
				<wsse:Password>PASSWORD</wsse:Password>
			</wsse:UsernameToken>
		</wsse:Security>
	</SOAP-ENV:Header>
	<SOAP-ENV:Body>
		<OTA_PingRQ xmlns="http://www.opentravel.org/OTA/2003/05" EchoToken="abc123" TimeStamp="2016-07-12T10:00:29.0Z" Version="1">
			<EchoData> Hello World </EchoData>
		</OTA_PingRQ>
	</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Ping Response
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP-ENV:Header/>
   <SOAP-ENV:Body>
      <OTA_PingRS EchoToken="abc123" TimeStamp="2016-07-12T10:00:29.0Z" Version="1.0" xmlns="http://www.opentravel.org/OTA/2003/05">
         <Success/>
         <EchoData>Hello World</EchoData>
      </OTA_PingRS>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
  • No labels