我在我的代码中面临ERR.SWS.CLIENT.VALIDATION_FAILED异常
我对Sabre的请求
<?xml version="1.0" encoding="utf-16"?>
<TravelItineraryReadRQ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Version="3.9.0">
<MessagingDetails xmlns="http://services.sabre.com/res/tir/v3_10">
<SubjectAreas>
<SubjectArea>DEFAULT</SubjectArea>
</SubjectAreas>
</MessagingDetails>
<UniqueID ID="XXXXXX this is changed" xmlns="http://services.sabre.com/res/tir/v3_10" />
<ReturnOptions xmlns="http://services.sabre.com/res/tir/v3_10" />
</TravelItineraryReadRQ>
在这种情况下请帮助我
答案 0 :(得分:1)
下面的一个对我有用:
<TravelItineraryReadRQ Version="3.9.0" TimeStamp="2012-09-19T10:00:00-06:00"
xmlns="http://webservices.sabre.com/sabreXML/2011/10">
<MessagingDetails>
<SubjectAreas>
<SubjectArea>FULL</SubjectArea>
</SubjectAreas>
</MessagingDetails>
<UniqueID ID="XXXXXX"/>
<ReturnOptions UnmaskCreditCard="false"/>
</TravelItineraryReadRQ>
您还正确设置了标题吗?