我尝试执行问题机票工作流程,但DesignatePrinterLLSRQ
会返回错误:
INVALID TICKET STOCK-0001
在此工作流程之前,我正在进行Book Air Segment工作流程。它工作正常。
我的要求:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Header>
<MessageHeader xmlns="http://www.ebxml.org/namespaces/messageHeader">
<From>
<PartyId>WebServiceClient</PartyId>
</From>
<To>
<PartyId>WebServiceSupplier</PartyId>
</To>
<CPAId>4PFI</CPAId>
<ConversationId>SWS-Test-4PFI</ConversationId>
<Service>DesignatePrinter</Service>
<Action>DesignatePrinterLLSRQ</Action>
<MessageData>
<MessageId>9314594d-6c40-406b-9029-b887b13906b6</MessageId>
<Timestamp>2017-07-11T13:27:48Z</Timestamp>
</MessageData>
</MessageHeader>
<Security xmlns="http://schemas.xmlsoap.org/ws/2002/12/secext">
<BinarySecurityToken>
Shared/IDL:IceSess\/SessMgr:1\.0.IDL/Common/!ICESMS\/ACPCRTD!ICESMSLB\/CRT.LB!-3255627259104687481!1005491!0
</BinarySecurityToken>
</Security>
</soap:Header>
<soap:Body>
<DesignatePrinterRQ 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.1">
<Printers>
<Ticket LNIATA="03388A"/>
</Printers>
</DesignatePrinterRQ>
</soap:Body>
</soap:Envelope>
我的回复:
<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">WebServiceSupplier</eb:PartyId>
</eb:From>
<eb:To>
<eb:PartyId eb:type="URI">WebServiceClient</eb:PartyId>
</eb:To>
<eb:CPAId>4PFI</eb:CPAId>
<eb:ConversationId>SWS-Test-4PFI</eb:ConversationId>
<eb:Service>DesignatePrinter</eb:Service>
<eb:Action>DesignatePrinterLLSRS</eb:Action>
<eb:MessageData>
<eb:MessageId>253992491200470611</eb:MessageId>
<eb:Timestamp>2017-07-11T13:38:40</eb:Timestamp>
<eb:RefToMessageId>9314594d-6c40-406b-9029-b887b13906b6</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!-3255627259104687481!1005491!0
</wsse:BinarySecurityToken>
</wsse:Security>
</soap-env:Header>
<soap-env:Body>
<DesignatePrinterRS 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.0.1">
<stl:ApplicationResults status="NotProcessed">
<stl:Error type="BusinessLogic" timeStamp="2017-07-11T08:38:40-05:00">
<stl:SystemSpecificResults>
<stl:Message>INVALID TICKET STOCK-0001</stl:Message>
<stl:ShortText>ERR.SWS.HOST.ERROR_IN_RESPONSE</stl:ShortText>
</stl:SystemSpecificResults>
</stl:Error>
</stl:ApplicationResults>
</DesignatePrinterRS>
</soap-env:Body>
</soap-env:Envelope>
如何修复此错误?也许我做错了什么?
答案 0 :(得分:2)
尝试:
int filesize ( string $filename )
答案 1 :(得分:0)
@Yury,
当您尝试使用的 PCC 不允许开立或您没有正确指定票据打印机时,会发生此错误。
这是来自 SABRE 本身的建议和功能流程。
使用 // *: ContextChangeRQ /*: ChangeAAA 服务更改为 PCC 许可
使用 // *: ContextChangeRQ /*: ChangeDuty / @ Code = "4" 启用票据打印机访问权限
使用 DesignatePrinterRQ 服务指定票据打印机