Travelport Universal API 确认机票预订代理 ID 异常
Travelport Universal API confirm air booking Agent ID exception
我正在 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 inner outer 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>
我的凭据存在一些问题,在生成测试凭据后我能够执行请求。显然我的原始凭据处于非活动状态,导致此异常已解决。我知道这已经晚了,但可能对某人有帮助。
我正在 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 inner outer 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>
我的凭据存在一些问题,在生成测试凭据后我能够执行请求。显然我的原始凭据处于非活动状态,导致此异常已解决。我知道这已经晚了,但可能对某人有帮助。