Versions Compared

Key

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

Invalid XML

Server must respond with an OTA_ErrorRS response :

Code Block
languagexml
<?xml version="1.0" encoding="UTF-8"?>
<OTA_ErrorRS xmlns="http://www.opentravel.org/OTA/2003/05" ErrorCode="3006" Status="NotProcessed" ErrorMessage="Invalid XML" TimeStamp="2015-10-20T10:26:13+02:00" Version="1.0"/>

 

 


Other errors

In each message you can add an Errors node :

Code Block
languagexml
<?xml version="1.0" encoding="UTF-8"?>
<OTA_PingRQ>
  <Errors>
    <Error Code="101" Type="4" Status="NotProcessed" ShortText="Authentication refused">Authentication : login failed</Error>
  </Errors>
</OTA_PingRQ>

 


Errors

Parent: OTA_HotelAvailNotifRS

...

Mandatory: yes (If Errors is provided)

Attributes:

Name
Mandatory
Description
TypeYesOTA EWT error
code
type

Code

YesOTA
EWT
ERR error code
StatusYes
Default value "NotProcessed" (error)
Possible values: NotProcessed | Incomplete | Complete | Unknown
ShortTextYesTextual explanation of the error.

Child elements: None