Advertisement
fedorm

Untitled

Aug 12th, 2019
216
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 15.46 KB | None | 0 0
  1. 12.08 19:24:40.312 DEBUG [GlobusCardPlugin] [SapCardClientPosProxy] Returning cached result for card "2037215727383"
  2. 12.08 19:24:40.312 DEBUG [GlobusCardPlugin] [SapCardClientPosProxy] Card info request via proxy for card "2037215727383" as SHORT with force refresh false
  3. 12.08 19:24:40.312 DEBUG [GlobusCardPlugin] [SapCardClientPosProxy] Returning cached result for card "2037215727383"
  4. 12.08 19:24:45.242 INFO  [GlobusCardPlugin] Fiscalization called, clearing caches...
  5. 12.08 19:24:45.242 INFO  [GlobusCardPlugin] [SapCardClientPosProxy] Clearing cache data for cards
  6. CachedResponseMapKey{fullInfo=false, cardNumber='2037215727383'}
  7. CachedResponseMapKey{fullInfo=true, cardNumber='2037215727383'}
  8.  
  9. 12.08 19:24:45.242 INFO  [GlobusCardPlugin] Done clearing caches
  10. 12.08 19:24:45.249 DEBUG [GlobusLoyaltyPlugin] eventBeforeReceiptFiscalized called for receipt 32
  11. 12.08 19:24:45.255 DEBUG [GlobusLoyaltyPlugin] [SoapLogHandler] REQUEST: <?xml version="1.0" encoding="UTF-8"?><S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
  12.     <SOAP-ENV:Header/>
  13.     <S:Body>
  14.         <ns2:ZNEW_POS_R_MT_Request xmlns:ns2="urn:sap-com:document:sap:soap:functions:pos">
  15.             <Request>
  16.                 <item>
  17.                     <RequestHeader>
  18.                         <OperationDate>2019-08-12</OperationDate>
  19.                         <OperationTime>19:24:25</OperationTime>
  20.                         <OperationTimeZone>MSK03</OperationTimeZone>
  21.                         <CashierId>1</CashierId>
  22.                         <TerminalId>2</TerminalId>
  23.                         <RetailStoreId>3303</RetailStoreId>
  24.                         <NumberShiftId>23</NumberShiftId>
  25.                         <TypeTerminalId>1</TypeTerminalId>
  26.                         <ReceiptNumber>32</ReceiptNumber>
  27.                     </RequestHeader>
  28.                     <OperationData>
  29.                         <QrCode>t=20190812T192400&amp;s=995.00&amp;fn=9999078902001730&amp;i=174&amp;fp=718239232&amp;n=1</QrCode>
  30.                         <OperationType>01</OperationType>
  31.                         <LoyaltyCardNumber>2037215727383</LoyaltyCardNumber>
  32.                         <OfflineProcessing>false</OfflineProcessing>
  33.                     </OperationData>
  34.                     <ReceiptHeader>
  35.                         <ReceiptSum>1000.00</ReceiptSum>
  36.                         <ReceiptSumWithDiscount>995.00</ReceiptSumWithDiscount>
  37.                     </ReceiptHeader>
  38.                     <ReceiptItems>
  39.                         <item>
  40.                             <ItemNumber>1</ItemNumber>
  41.                             <ProductId>4690207112482</ProductId>
  42.                             <Quantity>1</Quantity>
  43.                             <QuantityUnit>шт</QuantityUnit>
  44.                             <Price>1000.00</Price>
  45.                             <ItemTotalSumWithDiscount>995.00</ItemTotalSumWithDiscount>
  46.                             <DepartmentCode>520701</DepartmentCode>
  47.                         </item>
  48.                     </ReceiptItems>
  49.                     <PromoActionsApplied>
  50.                         <item>
  51.                             <ApplicationArea>1</ApplicationArea>
  52.                             <PromoActionId>999999007</PromoActionId>
  53.                             <Amount>5.00</Amount>
  54.                             <AppliedToItems>
  55.                                 <item>
  56.                                     <ItemNumber>1</ItemNumber>
  57.                                     <Quantity>1.000</Quantity>
  58.                                     <QuantityUnit>шт</QuantityUnit>
  59.                                 </item>
  60.                             </AppliedToItems>
  61.                         </item>
  62.                     </PromoActionsApplied>
  63.                     <Payments>
  64.                         <item>
  65.                             <PaymentType>01</PaymentType>
  66.                             <Amount>995.00</Amount>
  67.                         </item>
  68.                     </Payments>
  69.                 </item>
  70.             </Request>
  71.         </ns2:ZNEW_POS_R_MT_Request>
  72.     </S:Body>
  73. </S:Envelope>
  74.  
  75. 12.08 19:24:46.018 DEBUG [GlobusLoyaltyPlugin] [SoapLogHandler] RESPONSE: <?xml version="1.0" encoding="UTF-8"?><soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
  76.     <soap-env:Header/>
  77.     <soap-env:Body>
  78.         <n0:ZNEW_POS_R_MT_Response xmlns:n0="urn:sap-com:document:sap:soap:functions:pos" xmlns:prx="urn:sap.com:proxy:CK5:/1SAI/TASBB538B6554C1A67216E5:750">
  79.             <Response>
  80.                 <LoyaltyIdentifier>
  81.                     <Type>01</Type>
  82.                     <TypeCard>ZVIRT</TypeCard>
  83.                     <TypeCardName>Виртуальная</TypeCardName>
  84.                     <Id>2037215727383</Id>
  85.                     <Status>E0010</Status>
  86.                     <StatusName>Активна для начисления и списания</StatusName>
  87.                 </LoyaltyIdentifier>
  88.                 <BonusAccountInfo>
  89.                     <BasePointsAccrued>9.95</BasePointsAccrued>
  90.                     <ExtraPointsAccrued>0.00</ExtraPointsAccrued>
  91.                     <PointsBalance>24.85</PointsBalance>
  92.                     <TotalPointsAccrued>9.95</TotalPointsAccrued>
  93.                     <BonusesWillExpire>0.00</BonusesWillExpire>
  94.                     <PointsConsumed>-5.00</PointsConsumed>
  95.                 </BonusAccountInfo>
  96.                 <Messages>
  97.                     <Item>
  98.                         <MessageType>I</MessageType>
  99.                         <MessageNumber>100</MessageNumber>
  100.                         <MessageText>Действие участника успешно обработано(LOY_MA:028)</MessageText>
  101.                     </Item>
  102.                     <Item>
  103.                         <MessageType>I</MessageType>
  104.                         <MessageNumber>100</MessageNumber>
  105.                         <MessageText>Действие участника успешно обработано(LOY_MA:028)</MessageText>
  106.                     </Item>
  107.                 </Messages>
  108.                 <ReceiptMessages/>
  109.             </Response>
  110.         </n0:ZNEW_POS_R_MT_Response>
  111.     </soap-env:Body>
  112. </soap-env:Envelope>
  113.  
  114. 12.08 19:25:46.392 INFO  [GlobusCardPlugin] Fiscalization called, clearing caches...
  115. 12.08 19:25:46.392 INFO  [GlobusCardPlugin] [SapCardClientPosProxy] Clearing cache data for cards
  116.  
  117. 12.08 19:25:46.392 INFO  [GlobusCardPlugin] Done clearing caches
  118. 12.08 19:25:46.403 DEBUG [GlobusLoyaltyPlugin] eventBeforeReceiptFiscalized called for receipt 33
  119. 12.08 19:25:46.411 DEBUG [GlobusLoyaltyPlugin] [SoapLogHandler] REQUEST: <?xml version="1.0" encoding="UTF-8"?><S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
  120.     <SOAP-ENV:Header/>
  121.     <S:Body>
  122.         <ns2:ZNEW_POS_R_MT_Request xmlns:ns2="urn:sap-com:document:sap:soap:functions:pos">
  123.             <Request>
  124.                 <item>
  125.                     <RequestHeader>
  126.                         <OperationDate>2019-08-12</OperationDate>
  127.                         <OperationTime>19:25:41</OperationTime>
  128.                         <OperationTimeZone>MSK03</OperationTimeZone>
  129.                         <CashierId>1</CashierId>
  130.                         <TerminalId>2</TerminalId>
  131.                         <RetailStoreId>3303</RetailStoreId>
  132.                         <NumberShiftId>23</NumberShiftId>
  133.                         <TypeTerminalId>1</TypeTerminalId>
  134.                         <ReceiptNumber>33</ReceiptNumber>
  135.                     </RequestHeader>
  136.                     <OperationData>
  137.                         <PreviousQrCode>t=20190812T192400&amp;s=995.00&amp;fn=9999078902001730&amp;i=174&amp;fp=718239232&amp;n=1</PreviousQrCode>
  138.                         <OperationType>02</OperationType>
  139.                         <LoyaltyCardNumber>2037215727383</LoyaltyCardNumber>
  140.                         <OfflineProcessing>false</OfflineProcessing>
  141.                     </OperationData>
  142.                     <ReceiptHeader>
  143.                         <ReceiptSum>1000.00</ReceiptSum>
  144.                         <ReceiptSumWithDiscount>995.00</ReceiptSumWithDiscount>
  145.                     </ReceiptHeader>
  146.                     <ReceiptItems>
  147.                         <item>
  148.                             <ItemNumber>1</ItemNumber>
  149.                             <ProductId>4690207112482</ProductId>
  150.                             <Quantity>1</Quantity>
  151.                             <QuantityUnit>шт</QuantityUnit>
  152.                             <Price>1000.00</Price>
  153.                             <ItemTotalSumWithDiscount>995.00</ItemTotalSumWithDiscount>
  154.                             <DepartmentCode>520701</DepartmentCode>
  155.                         </item>
  156.                     </ReceiptItems>
  157.                     <PromoActionsApplied/>
  158.                     <Payments>
  159.                         <item>
  160.                             <PaymentType>01</PaymentType>
  161.                             <Amount>995.00</Amount>
  162.                         </item>
  163.                     </Payments>
  164.                 </item>
  165.             </Request>
  166.         </ns2:ZNEW_POS_R_MT_Request>
  167.     </S:Body>
  168. </S:Envelope>
  169.  
  170. 12.08 19:25:46.573 DEBUG [GlobusLoyaltyPlugin] [SoapLogHandler] FAULT: <?xml version="1.0" encoding="UTF-8"?><soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
  171.     <soap-env:Header/>
  172.     <soap-env:Body>
  173.         <soap-env:Fault>
  174.             <faultcode>soap-env:Server</faultcode>
  175.             <faultstring xml:lang="en">Ошибка при обработке веб-сервиса; Дальнейшая информация в журнале ошибок веб-сервиса на стороне провайдера (Метка времени UTC 20190812162546; ид. транзакции DD3888D45CC502A0E005D5192D65B1CF)</faultstring>
  176.             <detail/>
  177.         </soap-env:Fault>
  178.     </soap-env:Body>
  179. </soap-env:Envelope>
  180.  
  181. 12.08 19:25:46.582 ERROR [GlobusLoyaltyPlugin] [SapLoyaltyClient] Received HTTP response code 500
  182. 12.08 19:25:46.583 ERROR [GlobusLoyaltyPlugin] Failed to send receipt 33 to SAP. Scheduling it to postponed queue
  183. ru.crystals.api.plugins.globus.client.ServiceException: com.sun.xml.internal.ws.fault.ServerSOAPFaultException: Client received SOAP Fault from server: Ошибка при обработке веб-сервиса; Дальнейшая информация в журнале ошибок веб-сервиса на стороне провайдера (Метка времени UTC 20190812162546; ид. транзакции DD3888D45CC502A0E005D5192D65B1CF) Please see the server log to find more detail regarding exact cause of the failure.
  184.     at ru.crystals.api.plugins.globus.client.loyalty.SapLoyaltyClient.sendReceipts(SapLoyaltyClient.java:46)
  185.     at ru.crystals.api.plugins.globus.loyalty.GlobusLoyaltyPlugin.onReceiptFiscalized(GlobusLoyaltyPlugin.java:151)
  186.     at ru.crystals.pos.loyal.SetApiPluginLoyProvider.purchaseFiscalized(SetApiPluginLoyProvider.java:399)
  187.     at ru.crystals.loyal.providers.LoyProvidersRegistryImpl.purchaseFiscalized(LoyProvidersRegistryImpl.java:362)
  188.     at ru.crystals.pos.loyal.cash.service.LoyalServiceImpl.purchaseFiscalized(LoyalServiceImpl.java:1539)
  189.     at ru.crystals.pos.loyal.bridge.service.LoyalBridgeServiceImpl.purchaseFiscalized(LoyalBridgeServiceImpl.java:189)
  190.     at ru.crystals.pos.techprocess.ExternalProcessingsImpl.purchaseFiscalized(ExternalProcessingsImpl.java:212)
  191.     at ru.crystals.pos.techprocess.TechProcessShift.printCheck(TechProcessShift.java:1793)
  192.     at ru.crystals.pos.techprocess.TechProcessShift.fiscalizeCheck(TechProcessShift.java:1540)
  193.     at ru.crystals.pos.techprocess.TechProcessShiftProxy.fiscalizeReturnCheck(TechProcessShiftProxy.java:719)
  194.     at ru.crystals.pos.techprocess.TechProcessShiftProxy.fiscalizeCheck(TechProcessShiftProxy.java:699)
  195.     at ru.crystals.pos.techprocess.TechProcessImpl.fiscalizeCheck(TechProcessImpl.java:940)
  196.     at ru.crystals.pos.visualization.check.CheckContainer.paymentComplete(CheckContainer.java:2700)
  197.     at ru.crystals.pos.visualization.components.MainWindow.paymentComplete(MainWindow.java:845)
  198.     at ru.crystals.pos.visualization.Factory.eventPaymentComplete(Factory.java:869)
  199.     at ru.crystals.pos.techprocess.TechProcessImpl.paymentComplete(TechProcessImpl.java:4474)
  200.     at ru.crystals.pos.check.service.CheckServiceImpl.addPayment(CheckServiceImpl.java:3977)
  201.     at ru.crystals.pos.techprocess.TechProcessImpl.addPayment(TechProcessImpl.java:3924)
  202.     at ru.crystals.pos.visualization.payments.PaymentContainer.doProcessPayment(PaymentContainer.java:387)
  203.     at ru.crystals.pos.visualization.payments.PaymentContainer.processPayment(PaymentContainer.java:323)
  204.     at ru.crystals.pos.visualization.payments.cash.CashPaymentContainer.enter(CashPaymentContainer.java:94)
  205.     at ru.crystals.pos.visualization.components.CompositeContainer.enter(CompositeContainer.java:96)
  206.     at ru.crystals.pos.visualization.check.CheckContainer.enter(CheckContainer.java:1892)
  207.     at ru.crystals.pos.visualization.components.MainWindow.enter(MainWindow.java:1086)
  208.     at ru.crystals.pos.visualization.Factory.eventControlKey(Factory.java:526)
  209.     at ru.crystals.pos.techprocess.TechProcessImpl.eventControlKey(TechProcessImpl.java:4352)
  210.     at ru.crystals.pos.CashEventSource.sentOldKey(CashEventSource.java:167)
  211.     at ru.crystals.pos.CashEventSource.process(CashEventSource.java:138)
  212.     at ru.crystals.pos.CashEventSource.processEvent(CashEventSource.java:118)
  213.     at ru.crystals.pos.CashEventSource.run(CashEventSource.java:101)
  214.     at ru.crystals.pos.InternalCashPoolExecutorImpl.lambda$submit$2(InternalCashPoolExecutorImpl.java:115)
  215.     at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
  216.     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  217.     at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
  218.     at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
  219.     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
  220.     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
  221.     at java.lang.Thread.run(Thread.java:745)
  222. Caused by: com.sun.xml.internal.ws.fault.ServerSOAPFaultException: Client received SOAP Fault from server: Ошибка при обработке веб-сервиса; Дальнейшая информация в журнале ошибок веб-сервиса на стороне провайдера (Метка времени UTC 20190812162546; ид. транзакции DD3888D45CC502A0E005D5192D65B1CF) Please see the server log to find more detail regarding exact cause of the failure.
  223.     at com.sun.xml.internal.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:178)
  224.     at com.sun.xml.internal.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:116)
  225.     at com.sun.xml.internal.ws.client.sei.StubHandler.readResponse(StubHandler.java:238)
  226.     at com.sun.xml.internal.ws.db.DatabindingImpl.deserializeResponse(DatabindingImpl.java:189)
  227.     at com.sun.xml.internal.ws.db.DatabindingImpl.deserializeResponse(DatabindingImpl.java:276)
  228.     at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:104)
  229.     at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:77)
  230.     at com.sun.xml.internal.ws.client.sei.SEIStub.invoke(SEIStub.java:147)
  231.     at com.sun.proxy.$Proxy219.posReceiptCSI(Unknown Source)
  232.     at ru.crystals.api.plugins.globus.client.loyalty.SapLoyaltyClient.sendReceipts(SapLoyaltyClient.java:38)
  233.     ... 37 more
  234. 12.08 19:26:03.680 INFO  [GlobusLoyaltyPlugin] 1 feedback to send, 1 picked, 10 allowed
  235. 12.08 19:26:03.680 INFO  [GlobusLoyaltyPlugin] Packing feedback with id 167
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement