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