Web services Sabre DesignePrinterLsrq错误:无效票证库存-0001

Web services Sabre DesignePrinterLsrq错误:无效票证库存-0001,web-services,soap,sabre,Web Services,Soap,Sabre,我正在尝试执行“发出机票”工作流,但designatePrinterLsrq返回错误: 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-ins

我正在尝试执行“发出机票”工作流,但
designatePrinterLsrq
返回错误:

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>

WebServiceClient
网络服务供应商
4PFI
SWS-Test-4PFI
指定打印机
指定打印机LSRQ
9314594d-6c40-406b-9029-b887b13906b6
2017-07-11T13:27:48Z
共享/IDL:IceSess\/SessMgr:1\.0.IDL/Common/!ICESMS\/ACPCRTD!ICESMSSLB\/CRT.LB-3255627259104687481!1005491!0
我的答复是:

<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>

网络服务供应商
WebServiceClient
4PFI
SWS-Test-4PFI
指定打印机
指定打印机
253992491200470611
2017-07-11T13:38:40
9314594d-6c40-406b-9029-b887b13906b6
共享/IDL:IceSess\/SessMgr:1\.0.IDL/Common/!ICESMS\/ACPCRTD!ICESMSSLB\/CRT.LB-3255627259104687481!1005491!0
无效票证库存-0001
ERR.SWS.HOST.ERROR\u在\u响应中
如何修复此错误?也许我做错了什么?

试试:

<Hardcopy LNIATA="03388A"/>

试试:

<Hardcopy LNIATA="03388A"/>

@Yury

当您尝试使用的PCC不允许发行或您没有正确指定票据打印机时,会发生此错误

这是SABRE本身建议的功能流程

  • 使用//*:ContextChangeRQ/*:ChangeAAA服务更改为具有权限的PCC

  • 使用//*:ContextChangeRQ/*:changedount/@Code=“4”启用票据打印机访问权限

  • 使用DesignatePrinterRQ服务指定票据打印机

    • CountryCode,您必须根据您所在的地区和航空公司验证打印机参考
    • LNIATA,SABRE必须指定旅行社使用的打印机id
      • @Yury

        当您尝试使用的PCC不允许发行或您没有正确指定票据打印机时,会发生此错误

        这是SABRE本身建议的功能流程

      • 使用//*:ContextChangeRQ/*:ChangeAAA服务更改为具有权限的PCC

      • 使用//*:ContextChangeRQ/*:changedount/@Code=“4”启用票据打印机访问权限

      • 使用DesignatePrinterRQ服务指定票据打印机

        • CountryCode,您必须根据您所在的地区和航空公司验证打印机参考
        • LNIATA,SABRE必须指定旅行社使用的打印机id

        有了AirTicketRS返回错误TKT PRT NOT ASSIGNED/使用W*-0004修复的
        让我知道您的请求模式,即使在添加countrycode=USA之后,我也面临着同样的问题,AirTicketRS返回错误TKT PRT NOT ASSIGNED/使用W*-0004修复的
        让我知道您的请求模式,即使在添加countrycode=USA之后,我也面临着同样的问题