Versions Compared

Key

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

...

Below outlines the OTA (OpenTravel) standard EWT codes that will be used..

OTA Error Warning Types

SMX for PMS will use the following OTA error types from OTA Error Warning Type (EWT)

...

Common Error Handling Scenarios

Invalid Web Service URI

Code Block
languagexml
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP-ENV:Header/>
   <SOAP-ENV:Body>
      <OTA_HotelResNotifRS EchoToken="4528545b-f875-5c77-9205-22631b68f15a" TimeStamp="2018-09-28T01:48:44+00:00" Version="1.0" xmlns="http://www.opentravel.org/OTA/2003/05">
         <Errors>
            <Error Type="4">Authentication failed - PMS {REQUESTORID} does not exist</Error>
         </Errors>
      </OTA_HotelResNotifRS>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Solution: Confirm you are sending your messages to the correct web service endpoint for your PMS.

Invalid Username/Password

Code Block
languagexml
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP-ENV:Header/>
   <SOAP-ENV:Body>
      <OTA_HotelResNotifRS EchoToken="4528545b-f875-5c77-9205-22631b68f15a" TimeStamp="2018-09-28T01:47:17+00:00" Version="1.0" xmlns="http://www.opentravel.org/OTA/2003/05">
         <Errors>
            <Error Type="4">Authentication failed - PMS {REQUESTORID} received request with invalid username/password</Error>
         </Errors>
      </OTA_HotelResNotifRS>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Solution: Confirm you are sending your messages to the correct credentials for your PMS/Hotelier.

Invalid RequestorID

Code Block
languagexml
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP-ENV:Header/>
   <SOAP-ENV:Body>
      <OTA_HotelResNotifRS EchoToken="4528545b-f875-5c77-9205-22631b68f15a" TimeStamp="2018-09-28T01:48:28+00:00" Version="1.0" xmlns="http://www.opentravel.org/OTA/2003/05">
         <Errors>
            <Error Type="6">Inconsistent PMS codes. PMS '{WS_URI}' does not match RequestorID '{REQUESTORID}'</Error>
         </Errors>
      </OTA_HotelResNotifRS>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Solution: Confirm you are using the correct RequestorID in your message payload.

Invalid Hotel Code

Code Block
languagexml
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP-ENV:Header/>
   <SOAP-ENV:Body>
      <OTA_HotelResNotifRS EchoToken="4528545b-f875-5c77-9205-22631b68f15a" TimeStamp="2018-09-28T01:44:44+00:00" Version="1.0" xmlns="http://www.opentravel.org/OTA/2003/05">
         <Errors>
            <Error Type="6">PMS {REQUESTORID} is not authorized to access hotel with HotelCode={HOTELCODE}</Error>
         </Errors>
      </OTA_HotelResNotifRS>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Solution: Confirm you are using the correct HotelCode in your message payload.

Required Information Missing

Code Block
languagexml
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP-ENV:Header/>
   <SOAP-ENV:Body>
      <OTA_HotelResNotifRS EchoToken="4528545b-f875-5c77-9205-22631b68f15a" TimeStamp="2018-09-28T01:45:04+00:00" Version="1.0" xmlns="http://www.opentravel.org/OTA/2003/05">
         <Errors>
            <Error Type="10">Could not validate the schema: cvc-complex-type.2.4.b: The content of element 'tag0:ResGlobalInfo' is not complete. One of '{"http://www.opentravel.org/OTA/2003/05":BasicPropertyInfo}' is expected.</Error>
         </Errors>
      </OTA_HotelResNotifRS>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

...