2

我正在 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>
4

1 回答 1

4

在生成测试凭据后,我的凭据存在一些问题,我能够执行请求。显然我的原始凭据无效,导致此异常已解决。我知道这已经晚了,但可能对某人有帮助。

于 2015-04-28T05:24:06.063 回答