Soap 一步将pnr放置到多个Sabre队列
我想在多个队列中放置一个命名的pnr。 QueuePlaceLLSRQ_v2.0.4的文档似乎表明,通过重复QueueIdentifier元素,这是可能的,但我总是会遇到错误Soap 一步将pnr放置到多个Sabre队列,soap,sabre,Soap,Sabre,我想在多个队列中放置一个命名的pnr。 QueuePlaceLLSRQ_v2.0.4的文档似乎表明,通过重复QueueIdentifier元素,这是可能的,但我总是会遇到错误 <QueueInfo> <!--Mandatory--> <!--Repeat Factor=0-3--> ... <QueueIdentifier PseudoCityCode="IPCC1" PrefatoryInstructionCode="11" Number="400"
<QueueInfo>
<!--Mandatory-->
<!--Repeat Factor=0-3-->
...
<QueueIdentifier PseudoCityCode="IPCC1" PrefatoryInstructionCode="11" Number="400" Name="ABC123"/>
...
请求和答复1:
<QueuePlaceRQ xmlns="http://webservices.sabre.com/sabreXML/2011/10" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Version="2.0.4">
<QueueInfo>
<QueueIdentifier PseudoCityCode="7Q9I" PrefatoryInstructionCode="11" Number="204" />
<QueueIdentifier PseudoCityCode="7Q9I" PrefatoryInstructionCode="11" Number="205" />
<UniqueID ID="CIATDK" />
</QueueInfo>
</QueuePlaceRQ>
<stl:ApplicationResults status="NotProcessed">
<stl:Error type="BusinessLogic" timeStamp="2020-02-06T05:02:09-06:00">
<stl:SystemSpecificResults>
<stl:Message>INVALID FORMAT</stl:Message>
<stl:ShortText>ERR.SWS.HOST.ERROR_IN_RESPONSE</stl:ShortText>
</stl:SystemSpecificResults>
</stl:Error>
</stl:ApplicationResults>
无效格式
ERR.SWS.HOST.ERROR\u在\u响应中
请求和答复2:
<QueuePlaceRQ xmlns="http://webservices.sabre.com/sabreXML/2011/10" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Version="2.0.4">
<QueueInfo>
<QueueIdentifier PseudoCityCode="7Q9I" PrefatoryInstructionCode="11" Number="204" />
<UniqueID ID="ESVDGN" />
<QueueIdentifier PseudoCityCode="7Q9I" PrefatoryInstructionCode="11" Number="205" />
<UniqueID ID="ESVDGN" />
</QueueInfo>
</QueuePlaceRQ>
<stl:SystemSpecificResults>
<stl:Message>cvc-complex-type.2.4.a: Invalid content was found starting with element 'QueueIdentifier'. One of '{"http://webservices.sabre.com/sabreXML/2011/10":UniqueID}' is expected.</stl:Message>
<stl:ShortText>ERR.SWS.CLIENT.VALIDATION_FAILED</stl:ShortText>
</stl:SystemSpecificResults>
cvc复杂类型.2.4.a:发现以元素“QueueIdentifier”开头的无效内容。“{”之一http://webservices.sabre.com/sabreXML/2011/10应为“:UniqueID}”。
ERR.SWS.CLIENT.VALIDATION\u失败
请求和响应3(似乎仅在队列中,无法使用命名pnr):
AAA中没有PNR
ERR.SWS.HOST.ERROR\u在\u响应中
问题中的正确方法是“请求与响应3”,但您的工作区域必须有pnr。如果还希望pnr保留在当前队列中,则应将当前队列添加为目标
<QueuePlaceRQ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://webservices.sabre.com/sabreXML/2011/10" Version="2.0.4">
<MultiQueuePlace>
<QueueIdentifier PseudoCityCode="7Q9I" PrefatoryInstructionCode="35" Number="205" />
<QueueIdentifier PseudoCityCode="7Q9I" PrefatoryInstructionCode="35" Number="206" />
</MultiQueuePlace>
</QueuePlaceRQ>
问题中的正确方法是“请求与响应3”,但您的工作区域必须有pnr。如果还希望pnr保留在当前队列中,则应将当前队列添加为目标
<QueuePlaceRQ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://webservices.sabre.com/sabreXML/2011/10" Version="2.0.4">
<MultiQueuePlace>
<QueueIdentifier PseudoCityCode="7Q9I" PrefatoryInstructionCode="35" Number="205" />
<QueueIdentifier PseudoCityCode="7Q9I" PrefatoryInstructionCode="35" Number="206" />
</MultiQueuePlace>
</QueuePlaceRQ>
Response 3,是由于将PNR放置在队列上后,它将从工作区中删除。当执行第二个队列位置时,PNR不再打开。我还没有答案,只是在例子3中指出了这个问题,我看不出你有或有任何关于PNR的引用。您是否首先执行TravelInvestureReadllSRQ API以显示PNR?因此,在与Sabre支持部门联系后,“请求与响应3”是正确的方式,但您必须在工作区中拥有PNR,您不能指定其他PNR,但PNR不会保留在原始队列中,对我来说,这是一个QueueMove队列,而不是QueuePlace。我曾使用QueueMoveLLSRQ将1个名为pnr的队列移动到一个新队列(但后来我想移动到多个队列)我现在使用QueuePlaceLLSRQ将工作区pnr移动到多个队列响应3,原因是在将pnr放置到队列上后,它将从工作区中删除。当执行第二个队列位置时,PNR不再打开。我还没有答案,只是在例子3中指出了这个问题,我看不出你有或有任何关于PNR的引用。您是否首先执行TravelInvestureReadllSRQ API以显示PNR?因此,在与Sabre支持部门联系后,“请求与响应3”是正确的方式,但您必须在工作区中拥有PNR,您不能指定其他PNR,但PNR不会保留在原始队列中,对我来说,这是一个QueueMove队列,而不是QueuePlace。我曾使用QueueMoveLLSRQ将1个名为pnr的队列移动到一个新队列(但后来我想移动到多个队列),现在我使用QueuePlaceLLSRQ将工作区pnr移动到多个队列