Travelport Universal API确认机票预订代理ID异常



我在MVC4的一家旅行社网站上工作,该网站使用travelport进行航班查询、定价和预订。在我确认机票之前一切正常。它抛出了这个异常

Message From Galileo : Uncaught Service Exception cause:com.cendant.tds.soa.framework.ServiceException: Exception ReturnedERR: AGENT ID - GALILEO
|+With the Dynamic GTID list of:AF86B8 

这是我在请求中设置的代理信息

AgentAction agentaction = new AgentAction()
{
    ActionType = AgentActionActionType.Created,
    AgentCode = "My Agent Code",
    BranchCode = "My Branch Code",
    AgencyCode = "My Agency Code",
    EventTime = DateTime.Now
};

也尝试设置AgentIDOverride,但仍然得到相同的异常。有人能指导我如何解决这个问题吗?提前感谢

UDPATE

这是SOAPException内外XML

<!-- INNER XML -->
<common_v27_0:ErrorInfo xmlns:common_v27_0="http://www.travelport.com/schema/common_v27_0">
    <common_v27_0:Code>some numeric code</common_v27_0:Code>
    <common_v27_0:Service>AIRSVC</common_v27_0:Service>
    <common_v27_0:Type>Business</common_v27_0:Type>
    <common_v27_0:Description>Unsuccessful primary host transaction causing reservation failure.</common_v27_0:Description>
    <common_v27_0:TransactionId>some alpha numeric ID</common_v27_0:TransactionId>
    <common_v27_0:TraceId>some alpha numeric ID</common_v27_0:TraceId>
</common_v27_0:ErrorInfo>
<!-- OUTER XML -->
<detail>
    <common_v27_0:ErrorInfo xmlns:common_v27_0="http://www.travelport.com/schema/common_v27_0">
        <common_v27_0:Code>some numeric code</common_v27_0:Code>
        <common_v27_0:Service>AIRSVC</common_v27_0:Service>
        <common_v27_0:Type>Business</common_v27_0:Type>
        <common_v27_0:Description>Unsuccessful primary host transaction causing reservation failure.</common_v27_0:Description>
        <common_v27_0:TransactionId>some alpha numeric ID</common_v27_0:TransactionId>
        <common_v27_0:TraceId>some alpha numeric ID</common_v27_0:TraceId>
    </common_v27_0:ErrorInfo>
</detail>

我的凭据出现了一些问题,在生成测试凭据后,我能够执行请求。显然,我的原始凭据处于非活动状态,这导致了此异常,该异常已被解决。我知道这很晚了,但可能对某人有所帮助。

相关内容

  • 没有找到相关文章

最新更新