Amadeus取消PNR XML返回空响应

时间:2018-05-02 10:59:46

标签: web-services amadeus

我一直试图取消对Amadeus的预订,每次我使用有效的PNR进行预订时,都会返回一个空的回复。以下是示例代码

cancelPNR请求XML

 <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>
            <wmPNRCancel xmlns="http://traveltalk.com/wsPNRCancel">
                <OTA_CancelRQ>
                  <POS>
    <Source PseudoCityCode="*******" ISOCurrency="NGN">
     <RequestorID Type="21" ID="********"/>
    </Source>
     <TPA_Extensions>
        <Provider>
           <Name>Amadeus</Name> 
           <System>Test</System> 
           <Userid>******</Userid> 
           <Password>**********</Password> 
        </Provider>
     </TPA_Extensions>
  </POS>
                  <UniqueID ID="******"/>
                </OTA_CancelRQ>
               </wmPNRCancel> 
        </soap:Body>
    </soap:Envelope>

cancelPNR回复

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<wmPNRCancelResponse xmlns="http://traveltalk.com/wsPNRCancel" />
</soap:Body>
</soap:Envelope>

可能有什么不对?我需要帮助

0 个答案:

没有答案