Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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

Code Block
languagehtml/xml
titlePing 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" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" soapenv:mustUnderstand="1">
      >
			<wsse:UsernameToken>
        <wsse:Username>MY_USERNAME<				<wsse:Username>USERNAME</wsse:Username>
        <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">MY_PASSWORD</wsse:Password>
      				<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" VersionEchoToken="1.0abc123" TimeStamp="20052016-0807-01T0912T10:32:47+08:0000:29.0Z" EchoTokenVersion="echo-abc1231">
			<EchoData> Hello     <POS>
        <Source>
          <RequestorID Type="22" ID="PMS1"/>
        </Source>
      </POS>
      <EchoData>Are you there</EchoData>
    World </EchoData>
		</OTA_PingRQ>
  	</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Code Block
languagehtml/xml
titlePing 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">
Version="1.0" TimeStamp="2005-08-01T09:32:47+08:00" EchoToken="echo-abc123">       <Success/>
      <EchoData>Are   you<EchoData>Hello There<World</EchoData>
      </OTA_PingRS>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

...