我想发行现有PNR的门票。我按照工作流https://developer.sabre.com/docs/read/workflows/Issue_Air_Ticket中显示的所有步骤进行了操作。在最后一步中它显示错误
<stl:Message>ASSIGN HARDCOPY PRINTER FOR ETR DOCUMENTS-USE PTR/-0052</stl:Message>
<stl:ShortText>ERR.SWS.HOST.ERROR_IN_RESPONSE</stl:ShortText>
<soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">
<soap-env:Header>
<eb:MessageHeader xmlns:eb="http://www.ebxml.org/namespaces/messageHeader" eb:version="1.0" soap-env:mustUnderstand="1">
<eb:From>
<eb:PartyId eb:type="URI">http://webservices.sabre.com/sabreXML/2011/10</eb:PartyId>
</eb:From>
<eb:To>
<eb:PartyId eb:type="URI">malikexpress.com</eb:PartyId>
</eb:To>
<eb:CPAId>DF08</eb:CPAId>
<eb:ConversationId>SWS-Test-Tool-CID</eb:ConversationId>
<eb:Service eb:type="OTA">Air Shopping Service</eb:Service>
<eb:Action>AirTicketLLSRS</eb:Action>
<eb:MessageData>
<eb:MessageId>e2625944-efad-41a9-9aef-a2b5cead5af5@61</eb:MessageId>
<eb:Timestamp>2016-05-24T11:26:00</eb:Timestamp>
<eb:RefToMessageId>mid:20001209-136453-2333@clientofsabre.com</eb:RefToMessageId>
</eb:MessageData>
</eb:MessageHeader>
<wsse:Security xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/12/secext">
<wsse:BinarySecurityToken valueType="String" EncodingType="wsse:Base64Binary">Shared/IDL:IceSess\/SessMgr:1\.0.IDL/Common/!ICESMS\/ACPCRTD!ICESMSLB\/CRT.LB!-34018177098454633901!1586251!0</wsse:BinarySecurityToken>
</wsse:Security>
</soap-env:Header>
<soap-env:Body>
<AirTicketRS 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" xmlns:stl="http://services.sabre.com/STL/v01" Version="2.7.0">
<stl:ApplicationResults status="NotProcessed">
<stl:Error type="BusinessLogic" timeStamp="2016-05-24T06:26:00-05:00">
<stl:SystemSpecificResults>
<stl:HostCommand LNIATA="61DB8A">WÂ¥PQ1Â¥ETRÂ¥FCAÂ¥KP0.00</stl:HostCommand>
<stl:Message>ASSIGN HARDCOPY PRINTER FOR ETR DOCUMENTS-USE PTR/-0052</stl:Message>
<stl:ShortText>ERR.SWS.HOST.ERROR_IN_RESPONSE</stl:ShortText>
</stl:SystemSpecificResults>
</stl:Error>
</stl:ApplicationResults>
</AirTicketRS>
</soap-env:Body>
</soap-env:Envelope>
我们如何删除此错误?我们需要一台显示连接到系统的打印机吗?类似的问题已在Issue the ticket from sabre API
中提出答案 0 :(得分:3)
看起来没有正确创建故障单打印机。
我会检查的事情。
1)在创建会话时,您是否在尝试发行票证之前使用DesignatePrinterLLSRQ API为会话指定了票证打印机并且这是否成功?
2)您使用的票证发行限定符之一是否是本票需要纸质票据而非电子票证。
当您尝试针对指定的电子票证打印机发行纸质票据时,可能会弹出此错误。