尝试使用SpecialServiceRQ方法向大型团体预订中的所有乘客添加SSR,但对于预订中的50名乘客获得 ERR.SWS.CLIENT.VALIDATION_FAILED 响应。
SERVICE节点的documentation建议在一个请求中最多可以重复99。 经过一番试验之后,该服务将返回一个良好的响应,最多返回47个SERVICE节点重复,然后给出 ERR.SWS.CLIENT.VALIDATION_FAILED 响应。
正在发出的请求是
<SpecialServiceRQ Version="2.3.0"
xmlns="http://webservices.sabre.com/sabreXML/2011/10">
<SpecialServiceInfo>
<Service SegmentNumber="1" SSR_Code="AFFI">
<PersonName NameNumber="02.01" />
<Text>AFFIDAVIT COMPLETE</Text>
<VendorPrefs>
<Airline Hosted="true" />
</VendorPrefs>
</Service>
<Service SegmentNumber="1" SSR_Code="AFFI">
<PersonName NameNumber="03.01" />
<Text>AFFIDAVIT COMPLETE</Text>
<VendorPrefs>
<Airline Hosted="true" />
</VendorPrefs>
</Service>
<Service SegmentNumber="1" SSR_Code="AFFI">
<PersonName NameNumber="04.01" />
<Text>AFFIDAVIT COMPLETE</Text>
<VendorPrefs>
<Airline Hosted="true" />
</VendorPrefs>
</Service>
<Service SegmentNumber="1" SSR_Code="AFFI">
<PersonName NameNumber="05.01" />
<Text>AFFIDAVIT COMPLETE</Text>
<VendorPrefs>
<Airline Hosted="true" />
</VendorPrefs>
</Service>
<Service SegmentNumber="1" SSR_Code="AFFI">
<PersonName NameNumber="06.01" />
<Text>AFFIDAVIT COMPLETE</Text>
<VendorPrefs>
<Airline Hosted="true" />
</VendorPrefs>
</Service>
<Service SegmentNumber="1" SSR_Code="AFFI">
<PersonName NameNumber="07.01" />
<Text>AFFIDAVIT COMPLETE</Text>
<VendorPrefs>
<Airline Hosted="true" />
</VendorPrefs>
</Service>
<Service SegmentNumber="1" SSR_Code="AFFI">
<PersonName NameNumber="08.01" />
<Text>AFFIDAVIT COMPLETE</Text>
<VendorPrefs>
<Airline Hosted="true" />
</VendorPrefs>
</Service>
<Service SegmentNumber="1" SSR_Code="AFFI">
<PersonName NameNumber="09.01" />
<Text>AFFIDAVIT COMPLETE</Text>
<VendorPrefs>
<Airline Hosted="true" />
</VendorPrefs>
</Service>
<Service SegmentNumber="1" SSR_Code="AFFI">
<PersonName NameNumber="10.01" />
<Text>AFFIDAVIT COMPLETE</Text>
<VendorPrefs>
<Airline Hosted="true" />
</VendorPrefs>
</Service>
<Service SegmentNumber="1" SSR_Code="AFFI">
<PersonName NameNumber="11.01" />
<Text>AFFIDAVIT COMPLETE</Text>
<VendorPrefs>
<Airline Hosted="true" />
</VendorPrefs>
</Service>
<Service SegmentNumber="1" SSR_Code="AFFI">
<PersonName NameNumber="12.01" />
<Text>AFFIDAVIT COMPLETE</Text>
<VendorPrefs>
<Airline Hosted="true" />
</VendorPrefs>
</Service>
<Service SegmentNumber="1" SSR_Code="AFFI">
<PersonName NameNumber="13.01" />
<Text>AFFIDAVIT COMPLETE</Text>
<VendorPrefs>
<Airline Hosted="true" />
</VendorPrefs>
</Service>
<Service SegmentNumber="1" SSR_Code="AFFI">
<PersonName NameNumber="14.01" />
<Text>AFFIDAVIT COMPLETE</Text>
<VendorPrefs>
<Airline Hosted="true" />
</VendorPrefs>
</Service>
<Service SegmentNumber="1" SSR_Code="AFFI">
<PersonName NameNumber="15.01" />
<Text>AFFIDAVIT COMPLETE</Text>
<VendorPrefs>
<Airline Hosted="true" />
</VendorPrefs>
</Service>
<Service SegmentNumber="1" SSR_Code="AFFI">
<PersonName NameNumber="16.01" />
<Text>AFFIDAVIT COMPLETE</Text>
<VendorPrefs>
<Airline Hosted="true" />
</VendorPrefs>
</Service>
<Service SegmentNumber="1" SSR_Code="AFFI">
<PersonName NameNumber="17.01" />
<Text>AFFIDAVIT COMPLETE</Text>
<VendorPrefs>
<Airline Hosted="true" />
</VendorPrefs>
</Service>
<Service SegmentNumber="1" SSR_Code="AFFI">
<PersonName NameNumber="18.01" />
<Text>AFFIDAVIT COMPLETE</Text>
<VendorPrefs>
<Airline Hosted="true" />
</VendorPrefs>
</Service>
<Service SegmentNumber="1" SSR_Code="AFFI">
<PersonName NameNumber="19.01" />
<Text>AFFIDAVIT COMPLETE</Text>
<VendorPrefs>
<Airline Hosted="true" />
</VendorPrefs>
</Service>
<Service SegmentNumber="1" SSR_Code="AFFI">
<PersonName NameNumber="20.01" />
<Text>AFFIDAVIT COMPLETE</Text>
<VendorPrefs>
<Airline Hosted="true" />
</VendorPrefs>
</Service>
<Service SegmentNumber="1" SSR_Code="AFFI">
<PersonName NameNumber="21.01" />
<Text>AFFIDAVIT COMPLETE</Text>
<VendorPrefs>
<Airline Hosted="true" />
</VendorPrefs>
</Service>
<Service SegmentNumber="1" SSR_Code="AFFI">
<PersonName NameNumber="22.01" />
<Text>AFFIDAVIT COMPLETE</Text>
<VendorPrefs>
<Airline Hosted="true" />
</VendorPrefs>
</Service>
<Service SegmentNumber="1" SSR_Code="AFFI">
<PersonName NameNumber="23.01" />
<Text>AFFIDAVIT COMPLETE</Text>
<VendorPrefs>
<Airline Hosted="true" />
</VendorPrefs>
</Service>
<Service SegmentNumber="1" SSR_Code="AFFI">
<PersonName NameNumber="24.01" />
<Text>AFFIDAVIT COMPLETE</Text>
<VendorPrefs>
<Airline Hosted="true" />
</VendorPrefs>
</Service>
<Service SegmentNumber="1" SSR_Code="AFFI">
<PersonName NameNumber="25.01" />
<Text>AFFIDAVIT COMPLETE</Text>
<VendorPrefs>
<Airline Hosted="true" />
</VendorPrefs>
</Service>
<Service SegmentNumber="1" SSR_Code="AFFI">
<PersonName NameNumber="26.01" />
<Text>AFFIDAVIT COMPLETE</Text>
<VendorPrefs>
<Airline Hosted="true" />
</VendorPrefs>
</Service>
<Service SegmentNumber="1" SSR_Code="AFFI">
<PersonName NameNumber="27.01" />
<Text>AFFIDAVIT COMPLETE</Text>
<VendorPrefs>
<Airline Hosted="true" />
</VendorPrefs>
</Service>
<Service SegmentNumber="1" SSR_Code="AFFI">
<PersonName NameNumber="28.01" />
<Text>AFFIDAVIT COMPLETE</Text>
<VendorPrefs>
<Airline Hosted="true" />
</VendorPrefs>
</Service>
<Service SegmentNumber="1" SSR_Code="AFFI">
<PersonName NameNumber="29.01" />
<Text>AFFIDAVIT COMPLETE</Text>
<VendorPrefs>
<Airline Hosted="true" />
</VendorPrefs>
</Service>
<Service SegmentNumber="1" SSR_Code="AFFI">
<PersonName NameNumber="30.01" />
<Text>AFFIDAVIT COMPLETE</Text>
<VendorPrefs>
<Airline Hosted="true" />
</VendorPrefs>
</Service>
<Service SegmentNumber="1" SSR_Code="AFFI">
<PersonName NameNumber="31.01" />
<Text>AFFIDAVIT COMPLETE</Text>
<VendorPrefs>
<Airline Hosted="true" />
</VendorPrefs>
</Service>
<Service SegmentNumber="1" SSR_Code="AFFI">
<PersonName NameNumber="32.01" />
<Text>AFFIDAVIT COMPLETE</Text>
<VendorPrefs>
<Airline Hosted="true" />
</VendorPrefs>
</Service>
<Service SegmentNumber="1" SSR_Code="AFFI">
<PersonName NameNumber="33.01" />
<Text>AFFIDAVIT COMPLETE</Text>
<VendorPrefs>
<Airline Hosted="true" />
</VendorPrefs>
</Service>
<Service SegmentNumber="1" SSR_Code="AFFI">
<PersonName NameNumber="34.01" />
<Text>AFFIDAVIT COMPLETE</Text>
<VendorPrefs>
<Airline Hosted="true" />
</VendorPrefs>
</Service>
<Service SegmentNumber="1" SSR_Code="AFFI">
<PersonName NameNumber="35.01" />
<Text>AFFIDAVIT COMPLETE</Text>
<VendorPrefs>
<Airline Hosted="true" />
</VendorPrefs>
</Service>
<Service SegmentNumber="1" SSR_Code="AFFI">
<PersonName NameNumber="36.01" />
<Text>AFFIDAVIT COMPLETE</Text>
<VendorPrefs>
<Airline Hosted="true" />
</VendorPrefs>
</Service>
<Service SegmentNumber="1" SSR_Code="AFFI">
<PersonName NameNumber="37.01" />
<Text>AFFIDAVIT COMPLETE</Text>
<VendorPrefs>
<Airline Hosted="true" />
</VendorPrefs>
</Service>
<Service SegmentNumber="1" SSR_Code="AFFI">
<PersonName NameNumber="38.01" />
<Text>AFFIDAVIT COMPLETE</Text>
<VendorPrefs>
<Airline Hosted="true" />
</VendorPrefs>
</Service>
<Service SegmentNumber="1" SSR_Code="AFFI">
<PersonName NameNumber="39.01" />
<Text>AFFIDAVIT COMPLETE</Text>
<VendorPrefs>
<Airline Hosted="true" />
</VendorPrefs>
</Service>
<Service SegmentNumber="1" SSR_Code="AFFI">
<PersonName NameNumber="40.01" />
<Text>AFFIDAVIT COMPLETE</Text>
<VendorPrefs>
<Airline Hosted="true" />
</VendorPrefs>
</Service>
<Service SegmentNumber="1" SSR_Code="AFFI">
<PersonName NameNumber="41.01" />
<Text>AFFIDAVIT COMPLETE</Text>
<VendorPrefs>
<Airline Hosted="true" />
</VendorPrefs>
</Service>
<Service SegmentNumber="1" SSR_Code="AFFI">
<PersonName NameNumber="42.01" />
<Text>AFFIDAVIT COMPLETE</Text>
<VendorPrefs>
<Airline Hosted="true" />
</VendorPrefs>
</Service>
<Service SegmentNumber="1" SSR_Code="AFFI">
<PersonName NameNumber="43.01" />
<Text>AFFIDAVIT COMPLETE</Text>
<VendorPrefs>
<Airline Hosted="true" />
</VendorPrefs>
</Service>
<Service SegmentNumber="1" SSR_Code="AFFI">
<PersonName NameNumber="44.01" />
<Text>AFFIDAVIT COMPLETE</Text>
<VendorPrefs>
<Airline Hosted="true" />
</VendorPrefs>
</Service>
<Service SegmentNumber="1" SSR_Code="AFFI">
<PersonName NameNumber="45.01" />
<Text>AFFIDAVIT COMPLETE</Text>
<VendorPrefs>
<Airline Hosted="true" />
</VendorPrefs>
</Service>
<Service SegmentNumber="1" SSR_Code="AFFI">
<PersonName NameNumber="46.01" />
<Text>AFFIDAVIT COMPLETE</Text>
<VendorPrefs>
<Airline Hosted="true" />
</VendorPrefs>
</Service>
<Service SegmentNumber="1" SSR_Code="AFFI">
<PersonName NameNumber="47.01" />
<Text>AFFIDAVIT COMPLETE</Text>
<VendorPrefs>
<Airline Hosted="true" />
</VendorPrefs>
</Service>
<Service SegmentNumber="1" SSR_Code="AFFI">
<PersonName NameNumber="48.01" />
<Text>AFFIDAVIT COMPLETE</Text>
<VendorPrefs>
<Airline Hosted="true" />
</VendorPrefs>
</Service>
<Service SegmentNumber="1" SSR_Code="AFFI">
<PersonName NameNumber="49.01" />
<Text>AFFIDAVIT COMPLETE</Text>
<VendorPrefs>
<Airline Hosted="true" />
</VendorPrefs>
</Service>
<Service SegmentNumber="1" SSR_Code="AFFI">
<PersonName NameNumber="50.01" />
<Text>AFFIDAVIT COMPLETE</Text>
<VendorPrefs>
<Airline Hosted="true" />
</VendorPrefs>
</Service>
<Service SegmentNumber="1" SSR_Code="AFFI">
<PersonName NameNumber="51.01" />
<Text>AFFIDAVIT COMPLETE</Text>
<VendorPrefs>
<Airline Hosted="true" />
</VendorPrefs>
</Service>
</SpecialServiceInfo>
</SpecialServiceRQ>
答案 0 :(得分:1)
我已经对此进行了测试,并获得了“请求超出了主机命令的最大长度”。这意味着本地Sabre不会花很长时间将SSR串联在一起,因此您应该按照建议拆分请求。这是一项低级别的服务,因此它基本上只是在幕后发送蓝屏格式。