You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

请求Sabre会话续期:OTA_PingRQ的SOAP请求报文示例

Got it, here's a fully functional SOAP request example for OTA_PingRQ that you can use to renew your 15-minute session token. This follows the OTA 2003/05 specification, which is the most common version for these requests:

OTA_PingRQ SOAP Request Example
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
                  xmlns:ota="http://www.opentravel.org/OTA/2003/05">
   <soapenv:Header>
      <!-- Include your session token here - this is the critical part for renewal -->
      <ota:SessionToken>{YOUR_SESSION_TOKEN}</ota:SessionToken>
   </soapenv:Header>
   <soapenv:Body>
      <ota:OTA_PingRQ EchoToken="PingTest123" Version="1.0">
         <!-- Optional: Add EchoData to verify the response matches your input -->
         <ota:EchoData>SessionRenewalPing</ota:EchoData>
      </ota:OTA_PingRQ>
   </soapenv:Body>
</soapenv:Envelope>

Key Notes:

  • Replace {YOUR_SESSION_TOKEN} with the exact token string you received from your SessionCreateRQ response.
  • The EchoToken is a unique identifier you can set (like a test ID) to track the request/response pair.
  • The EchoData element is optional but useful for confirming the server processed your request correctly—you’ll see the same string in the OTA_PingRS response.
  • Ensure you send this request to the same SOAP endpoint URL you used for SessionCreateRQ; most providers use a single endpoint for all OTA requests.

When you send this, the server should respond with an OTA_PingRS that confirms your session has been extended (usually resetting the 15-minute expiration timer).

内容的提问来源于stack exchange,提问作者mshoaibdev

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.26 10:18:43