Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 14.08 17:48:37.752 DEBUG [GlobusCardPlugin] [SapCardClient] Sending card request...
- 14.08 17:48:37.900 DEBUG [GlobusCardPlugin] [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/">
- <SOAP-ENV:Header/>
- <S:Body>
- <ns2:ZNEW_POS_MT_Request xmlns:ns2="urn:sap-com:document:sap:soap:functions:pos">
- <Request>
- <OperationHeader>
- <OperationDate>2019-08-14</OperationDate>
- <OperationTime>17:48:37</OperationTime>
- <OperationTimeZone>MSK03</OperationTimeZone>
- <CashierId>1</CashierId>
- <NumberShiftId>25</NumberShiftId>
- <TypeTerminalId>1</TypeTerminalId>
- <TerminalId>1</TerminalId>
- <RetailStoreId>3388</RetailStoreId>
- </OperationHeader>
- <LoyaltyIdentifier>
- <Type>01</Type>
- <Id>2037215727383</Id>
- </LoyaltyIdentifier>
- </Request>
- </ns2:ZNEW_POS_MT_Request>
- </S:Body>
- </S:Envelope>
- 14.08 17:48:47.972 ERROR [GlobusCardPlugin] [SapCardClient] Received HTTP response code 0
- 14.08 17:48:47.986 ERROR [GlobusCardPlugin] [SapCardClientPosProxy] Failed to get response from SAP, caching result as a null response
- 14.08 17:48:47.988 ERROR [GlobusCardPlugin]
- ru.crystals.api.plugins.globus.client.NetworkException: com.sun.xml.internal.ws.client.ClientTransportException: HTTP transport error: java.net.UnknownHostException: vhhypdk5wd01.hec.ru.globusgrp.org
- at ru.crystals.api.plugins.globus.client.SapCardClient.getCardInfo(SapCardClient.java:47)
- at ru.crystals.api.plugins.globus.client.SapCardClientPosProxy.sendRequestAndCacheResult(SapCardClientPosProxy.java:65)
- at ru.crystals.api.plugins.globus.client.SapCardClientPosProxy.getCardInfo(SapCardClientPosProxy.java:51)
- at ru.crystals.api.plugins.globus.client.SapCardClientPosProxy.getCardInfo(SapCardClientPosProxy.java:33)
- at ru.crystals.api.plugins.globus.cards.GlobusCardPlugin.searchCard(GlobusCardPlugin.java:92)
- at ru.crystals.pos.cards.service.search.SetApiCardFinder.findCard(SetApiCardFinder.java:50)
- at ru.crystals.pos.cards.service.search.CardFinderChain.findCard(CardFinderChain.java:48)
- at ru.crystals.pos.cards.service.CardsServiceImpl.getCardTypeEntity(CardsServiceImpl.java:399)
- at ru.crystals.pos.cards.service.CardsServiceImpl.getCardType(CardsServiceImpl.java:507)
- at ru.crystals.pos.techprocess.TechProcessSearch.lambda$getCardType$0(TechProcessSearch.java:359)
- at ru.crystals.pos.techprocess.TechProcessSearch.tryGetCardTypeNotFromCardRange(TechProcessSearch.java:377)
- at ru.crystals.pos.techprocess.TechProcessSearch.getCardType(TechProcessSearch.java:359)
- at ru.crystals.pos.techprocess.TechProcessSearch.searchCard(TechProcessSearch.java:264)
- at ru.crystals.pos.techprocess.TechProcessImpl.searchCard(TechProcessImpl.java:4220)
- at ru.crystals.pos.visualization.search.SearchProductContainer.searchCouponAndDiscountCard(SearchProductContainer.java:251)
- at ru.crystals.pos.visualization.search.SearchProductContainer.search(SearchProductContainer.java:453)
- at ru.crystals.pos.visualization.check.CheckContainer.addPositionByBarcode(CheckContainer.java:2199)
- at ru.crystals.pos.visualization.check.CheckContainer.barcode(CheckContainer.java:2114)
- at ru.crystals.pos.visualization.check.CheckContainer.barcode(CheckContainer.java:2075)
- at ru.crystals.pos.visualization.components.MainWindow.barcode(MainWindow.java:1127)
- at ru.crystals.pos.visualization.Factory.eventBarcode(Factory.java:796)
- at ru.crystals.pos.techprocess.TechProcessImpl.eventBarcodeScanner(TechProcessImpl.java:4315)
- at ru.crystals.pos.CashEventSource.process(CashEventSource.java:308)
- at ru.crystals.pos.CashEventSource.processEvent(CashEventSource.java:120)
- at ru.crystals.pos.CashEventSource.run(CashEventSource.java:101)
- at ru.crystals.pos.InternalCashPoolExecutorImpl.lambda$submit$2(InternalCashPoolExecutorImpl.java:115)
- at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
- at java.util.concurrent.FutureTask.run(FutureTask.java:266)
- at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
- at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
- at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
- at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
- at java.lang.Thread.run(Thread.java:745)
- Caused by: com.sun.xml.internal.ws.client.ClientTransportException: HTTP transport error: java.net.UnknownHostException: vhhypdk5wd01.hec.ru.globusgrp.org
- at com.sun.xml.internal.ws.transport.http.client.HttpClientTransport.getOutput(HttpClientTransport.java:117)
- at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:208)
- at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:130)
- at com.sun.xml.internal.ws.transport.DeferredTransportPipe.processRequest(DeferredTransportPipe.java:124)
- at com.sun.xml.internal.ws.api.pipe.Fiber.__doRun(Fiber.java:1121)
- at com.sun.xml.internal.ws.api.pipe.Fiber._doRun(Fiber.java:1035)
- at com.sun.xml.internal.ws.api.pipe.Fiber.doRun(Fiber.java:1004)
- at com.sun.xml.internal.ws.api.pipe.Fiber.runSync(Fiber.java:862)
- at com.sun.xml.internal.ws.client.Stub.process(Stub.java:448)
- at com.sun.xml.internal.ws.client.sei.SEIStub.doProcess(SEIStub.java:178)
- at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:93)
- at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:77)
- at com.sun.xml.internal.ws.client.sei.SEIStub.invoke(SEIStub.java:147)
- at com.sun.proxy.$Proxy212.getCardNKS(Unknown Source)
- at ru.crystals.api.plugins.globus.client.SapCardClient.getCardInfo(SapCardClient.java:40)
- ... 32 more
- Caused by: java.net.UnknownHostException: vhhypdk5wd01.hec.ru.globusgrp.org
- at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184)
- at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
- at java.net.Socket.connect(Socket.java:589)
- at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:668)
- at sun.net.NetworkClient.doConnect(NetworkClient.java:175)
- at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
- at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
- at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:264)
- at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:367)
- at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191)
- at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1181)
- at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1032)
- at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177)
- at sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(HttpURLConnection.java:1316)
- at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1291)
- at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:250)
- at com.sun.xml.internal.ws.transport.http.client.HttpClientTransport.getOutput(HttpClientTransport.java:104)
- ... 46 more
- 14.08 17:48:55.722 DEBUG [GlobusCardPlugin] [SapCardClientPosProxy] Card info request via proxy for card "2037215727383" as SHORT with force refresh true
- 14.08 17:48:55.722 DEBUG [GlobusCardPlugin] [SapCardClient] Sending card request...
- 14.08 17:48:55.727 DEBUG [GlobusCardPlugin] [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/">
- <SOAP-ENV:Header/>
- <S:Body>
- <ns2:ZNEW_POS_MT_Request xmlns:ns2="urn:sap-com:document:sap:soap:functions:pos">
- <Request>
- <OperationHeader>
- <OperationDate>2019-08-14</OperationDate>
- <OperationTime>17:48:55</OperationTime>
- <OperationTimeZone>MSK03</OperationTimeZone>
- <CashierId>1</CashierId>
- <NumberShiftId>25</NumberShiftId>
- <TypeTerminalId>1</TypeTerminalId>
- <TerminalId>1</TerminalId>
- <RetailStoreId>3388</RetailStoreId>
- <RepeatCall>1</RepeatCall>
- </OperationHeader>
- <LoyaltyIdentifier>
- <Type>01</Type>
- <Id>2037215727383</Id>
- </LoyaltyIdentifier>
- </Request>
- </ns2:ZNEW_POS_MT_Request>
- </S:Body>
- </S:Envelope>
- 14.08 17:48:55.728 ERROR [GlobusCardPlugin] [SapCardClient] Received HTTP response code 0
- 14.08 17:48:55.728 ERROR [GlobusCardPlugin] [SapCardClientPosProxy] Failed to get response from SAP, caching result as a null response
- 14.08 17:48:55.728 ERROR [GlobusCardPlugin] Failed to refresh card info
- ru.crystals.api.plugins.globus.client.NetworkException: com.sun.xml.internal.ws.client.ClientTransportException: HTTP transport error: java.net.UnknownHostException: vhhypdk5wd01.hec.ru.globusgrp.org
- at ru.crystals.api.plugins.globus.client.SapCardClient.getCardInfo(SapCardClient.java:47)
- at ru.crystals.api.plugins.globus.client.SapCardClientPosProxy.sendRequestAndCacheResult(SapCardClientPosProxy.java:65)
- at ru.crystals.api.plugins.globus.client.SapCardClientPosProxy.getCardInfo(SapCardClientPosProxy.java:46)
- at ru.crystals.api.plugins.globus.client.SapCardClientPosProxy.getCardInfo(SapCardClientPosProxy.java:33)
- at ru.crystals.api.plugins.globus.client.SapCardClientPosProxy.getShortCardInfo(SapCardClientPosProxy.java:109)
- at ru.crystals.api.plugins.globus.loyalty.GlobusLoyaltyPlugin.doDiscount(GlobusLoyaltyPlugin.java:87)
- at ru.crystals.pos.loyal.SetApiPluginLoyProvider.process(SetApiPluginLoyProvider.java:171)
- at ru.crystals.loyal.providers.LoyProvidersRegistryImpl.process(LoyProvidersRegistryImpl.java:124)
- at ru.crystals.pos.loyal.cash.service.LoyalServiceImpl.calcDiscounts(LoyalServiceImpl.java:780)
- at ru.crystals.pos.loyal.cash.service.LoyalServiceImpl.doLoyalty(LoyalServiceImpl.java:709)
- at ru.crystals.pos.loyal.cash.service.LoyalServiceImpl.doDiscount(LoyalServiceImpl.java:820)
- at ru.crystals.pos.loyal.bridge.service.LoyalBridgeServiceImpl.doDiscount(LoyalBridgeServiceImpl.java:162)
- at ru.crystals.pos.techprocess.TechProcessImpl.applyDiscountsAndGetResult(TechProcessImpl.java:3784)
- at ru.crystals.pos.techprocess.TechProcessImpl.subtotalScenario(TechProcessImpl.java:3354)
- at ru.crystals.pos.visualization.check.CheckContainer.startSubtotalScenario(CheckContainer.java:1541)
- at ru.crystals.pos.visualization.check.CheckContainer.subtotalProcessPurchaseState(CheckContainer.java:1513)
- at ru.crystals.pos.visualization.check.CheckContainer.subtotal(CheckContainer.java:1410)
- at ru.crystals.pos.visualization.components.MainWindow.subTotal(MainWindow.java:798)
- at ru.crystals.pos.visualization.Factory.eventFunctionKey(Factory.java:582)
- at ru.crystals.pos.techprocess.TechProcessImpl.eventFunctionKey(TechProcessImpl.java:4389)
- at ru.crystals.pos.CashEventSource.sentOldKey(CashEventSource.java:165)
- at ru.crystals.pos.CashEventSource.process(CashEventSource.java:138)
- at ru.crystals.pos.CashEventSource.processEvent(CashEventSource.java:118)
- at ru.crystals.pos.CashEventSource.run(CashEventSource.java:101)
- at ru.crystals.pos.InternalCashPoolExecutorImpl.lambda$submit$2(InternalCashPoolExecutorImpl.java:115)
- at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
- at java.util.concurrent.FutureTask.run(FutureTask.java:266)
- at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
- at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
- at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
- at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
- at java.lang.Thread.run(Thread.java:745)
- Caused by: com.sun.xml.internal.ws.client.ClientTransportException: HTTP transport error: java.net.UnknownHostException: vhhypdk5wd01.hec.ru.globusgrp.org
- at com.sun.xml.internal.ws.transport.http.client.HttpClientTransport.getOutput(HttpClientTransport.java:117)
- at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:208)
- at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:130)
- at com.sun.xml.internal.ws.transport.DeferredTransportPipe.processRequest(DeferredTransportPipe.java:124)
- at com.sun.xml.internal.ws.api.pipe.Fiber.__doRun(Fiber.java:1121)
- at com.sun.xml.internal.ws.api.pipe.Fiber._doRun(Fiber.java:1035)
- at com.sun.xml.internal.ws.api.pipe.Fiber.doRun(Fiber.java:1004)
- at com.sun.xml.internal.ws.api.pipe.Fiber.runSync(Fiber.java:862)
- at com.sun.xml.internal.ws.client.Stub.process(Stub.java:448)
- at com.sun.xml.internal.ws.client.sei.SEIStub.doProcess(SEIStub.java:178)
- at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:93)
- at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:77)
- at com.sun.xml.internal.ws.client.sei.SEIStub.invoke(SEIStub.java:147)
- at com.sun.proxy.$Proxy212.getCardNKS(Unknown Source)
- at ru.crystals.api.plugins.globus.client.SapCardClient.getCardInfo(SapCardClient.java:40)
- ... 31 more
- Caused by: java.net.UnknownHostException: vhhypdk5wd01.hec.ru.globusgrp.org
- at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184)
- at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
- at java.net.Socket.connect(Socket.java:589)
- at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:668)
- at sun.net.NetworkClient.doConnect(NetworkClient.java:175)
- at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
- at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
- at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:264)
- at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:367)
- at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191)
- at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1181)
- at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1032)
- at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177)
- at sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(HttpURLConnection.java:1316)
- at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1291)
- at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:250)
- at com.sun.xml.internal.ws.transport.http.client.HttpClientTransport.getOutput(HttpClientTransport.java:104)
- ... 45 more
- 14.08 17:48:55.744 DEBUG [GlobusCardPlugin] [SapCardClientPosProxy] Card info request via proxy for card "2037215727383" as SHORT with force refresh true
- 14.08 17:48:55.744 DEBUG [GlobusCardPlugin] [SapCardClient] Sending card request...
- 14.08 17:48:55.748 DEBUG [GlobusCardPlugin] [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/">
- <SOAP-ENV:Header/>
- <S:Body>
- <ns2:ZNEW_POS_MT_Request xmlns:ns2="urn:sap-com:document:sap:soap:functions:pos">
- <Request>
- <OperationHeader>
- <OperationDate>2019-08-14</OperationDate>
- <OperationTime>17:48:55</OperationTime>
- <OperationTimeZone>MSK03</OperationTimeZone>
- <CashierId>1</CashierId>
- <NumberShiftId>25</NumberShiftId>
- <TypeTerminalId>1</TypeTerminalId>
- <TerminalId>1</TerminalId>
- <RetailStoreId>3388</RetailStoreId>
- <RepeatCall>1</RepeatCall>
- </OperationHeader>
- <LoyaltyIdentifier>
- <Type>01</Type>
- <Id>2037215727383</Id>
- </LoyaltyIdentifier>
- </Request>
- </ns2:ZNEW_POS_MT_Request>
- </S:Body>
- </S:Envelope>
- 14.08 17:48:55.748 ERROR [GlobusCardPlugin] [SapCardClient] Received HTTP response code 0
- 14.08 17:48:55.748 ERROR [GlobusCardPlugin] [SapCardClientPosProxy] Failed to get response from SAP, caching result as a null response
- 14.08 17:48:55.748 ERROR [GlobusCardPlugin] Failed to refresh card info
- ru.crystals.api.plugins.globus.client.NetworkException: com.sun.xml.internal.ws.client.ClientTransportException: HTTP transport error: java.net.UnknownHostException: vhhypdk5wd01.hec.ru.globusgrp.org
- at ru.crystals.api.plugins.globus.client.SapCardClient.getCardInfo(SapCardClient.java:47)
- at ru.crystals.api.plugins.globus.client.SapCardClientPosProxy.sendRequestAndCacheResult(SapCardClientPosProxy.java:65)
- at ru.crystals.api.plugins.globus.client.SapCardClientPosProxy.getCardInfo(SapCardClientPosProxy.java:46)
- at ru.crystals.api.plugins.globus.client.SapCardClientPosProxy.getCardInfo(SapCardClientPosProxy.java:33)
- at ru.crystals.api.plugins.globus.client.SapCardClientPosProxy.getShortCardInfo(SapCardClientPosProxy.java:109)
- at ru.crystals.api.plugins.globus.loyalty.PromoActionsHolder.getAvailableActions(PromoActionsHolder.java:54)
- at ru.crystals.api.plugins.globus.loyalty.GlobusLoyaltyPlugin.resolve(GlobusLoyaltyPlugin.java:109)
- at ru.crystals.pos.loyal.SetApiPluginLoyProvider.lambda$onDiscountCalculationStarted$0(SetApiPluginLoyProvider.java:218)
- at ru.crystalservice.setv6.discounts.plugins.ExternalSystemResolutionCondition.isConditionExecuted(ExternalSystemResolutionCondition.java:28)
- at ru.crystals.loyal.calculation.DiscountCalculationUtils.executeConditionPlugin(DiscountCalculationUtils.java:1788)
- at ru.crystals.loyal.calculation.DiscountCalculationUtils.lambda$areConditionsMet$10(DiscountCalculationUtils.java:1769)
- at java.util.stream.MatchOps$1MatchSink.accept(MatchOps.java:90)
- at java.util.ArrayList$ArrayListSpliterator.tryAdvance(ArrayList.java:1351)
- at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
- at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
- at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
- at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
- at java.util.stream.MatchOps$MatchOp.evaluateSequential(MatchOps.java:230)
- at java.util.stream.MatchOps$MatchOp.evaluateSequential(MatchOps.java:196)
- at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
- at java.util.stream.ReferencePipeline.allMatch(ReferencePipeline.java:454)
- at ru.crystals.loyal.calculation.DiscountCalculationUtils.areConditionsMet(DiscountCalculationUtils.java:1769)
- at ru.crystals.loyal.calculation.AdvertisingActionUtils.conditionsMet(AdvertisingActionUtils.java:290)
- at ru.crystals.loyal.calculation.AdvertisingActionUtils.getBonusDiscountActions(AdvertisingActionUtils.java:336)
- at ru.crystals.loyal.calculation.AdvertisingActionUtils.getChargedAlreadyBonusDiscountActions(AdvertisingActionUtils.java:475)
- at ru.crystals.loyal.calculation.CycleProcessing.calculate(CycleProcessing.java:254)
- at ru.crystals.loyal.calculation.DoProcessing.doDiscount(DoProcessing.java:57)
- at ru.crystals.loyal.providers.ClassicSetLoyProvider.process(ClassicSetLoyProvider.java:106)
- at ru.crystals.loyal.providers.LoyProvidersRegistryImpl.process(LoyProvidersRegistryImpl.java:124)
- at ru.crystals.pos.loyal.cash.service.LoyalServiceImpl.calcDiscounts(LoyalServiceImpl.java:780)
- at ru.crystals.pos.loyal.cash.service.LoyalServiceImpl.doLoyalty(LoyalServiceImpl.java:709)
- at ru.crystals.pos.loyal.cash.service.LoyalServiceImpl.doDiscount(LoyalServiceImpl.java:820)
- at ru.crystals.pos.loyal.bridge.service.LoyalBridgeServiceImpl.doDiscount(LoyalBridgeServiceImpl.java:162)
- at ru.crystals.pos.techprocess.TechProcessImpl.applyDiscountsAndGetResult(TechProcessImpl.java:3784)
- at ru.crystals.pos.techprocess.TechProcessImpl.subtotalScenario(TechProcessImpl.java:3354)
- at ru.crystals.pos.visualization.check.CheckContainer.startSubtotalScenario(CheckContainer.java:1541)
- at ru.crystals.pos.visualization.check.CheckContainer.subtotalProcessPurchaseState(CheckContainer.java:1513)
- at ru.crystals.pos.visualization.check.CheckContainer.subtotal(CheckContainer.java:1410)
- at ru.crystals.pos.visualization.components.MainWindow.subTotal(MainWindow.java:798)
- at ru.crystals.pos.visualization.Factory.eventFunctionKey(Factory.java:582)
- at ru.crystals.pos.techprocess.TechProcessImpl.eventFunctionKey(TechProcessImpl.java:4389)
- at ru.crystals.pos.CashEventSource.sentOldKey(CashEventSource.java:165)
- at ru.crystals.pos.CashEventSource.process(CashEventSource.java:138)
- at ru.crystals.pos.CashEventSource.processEvent(CashEventSource.java:118)
- at ru.crystals.pos.CashEventSource.run(CashEventSource.java:101)
- at ru.crystals.pos.InternalCashPoolExecutorImpl.lambda$submit$2(InternalCashPoolExecutorImpl.java:115)
- at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
- at java.util.concurrent.FutureTask.run(FutureTask.java:266)
- at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
- at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
- at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
- at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
- at java.lang.Thread.run(Thread.java:745)
- Caused by: com.sun.xml.internal.ws.client.ClientTransportException: HTTP transport error: java.net.UnknownHostException: vhhypdk5wd01.hec.ru.globusgrp.org
- at com.sun.xml.internal.ws.transport.http.client.HttpClientTransport.getOutput(HttpClientTransport.java:117)
- at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:208)
- at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:130)
- at com.sun.xml.internal.ws.transport.DeferredTransportPipe.processRequest(DeferredTransportPipe.java:95)
- at com.sun.xml.internal.ws.api.pipe.Fiber.__doRun(Fiber.java:1121)
- at com.sun.xml.internal.ws.api.pipe.Fiber._doRun(Fiber.java:1035)
- at com.sun.xml.internal.ws.api.pipe.Fiber.doRun(Fiber.java:1004)
- at com.sun.xml.internal.ws.api.pipe.Fiber.runSync(Fiber.java:862)
- at com.sun.xml.internal.ws.client.Stub.process(Stub.java:448)
- at com.sun.xml.internal.ws.client.sei.SEIStub.doProcess(SEIStub.java:178)
- at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:93)
- at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:77)
- at com.sun.xml.internal.ws.client.sei.SEIStub.invoke(SEIStub.java:147)
- at com.sun.proxy.$Proxy212.getCardNKS(Unknown Source)
- at ru.crystals.api.plugins.globus.client.SapCardClient.getCardInfo(SapCardClient.java:40)
- ... 52 more
- Caused by: java.net.UnknownHostException: vhhypdk5wd01.hec.ru.globusgrp.org
- at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184)
- at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
- at java.net.Socket.connect(Socket.java:589)
- at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:668)
- at sun.net.NetworkClient.doConnect(NetworkClient.java:175)
- at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
- at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
- at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:264)
- at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:367)
- at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191)
- at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1181)
- at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1032)
- at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177)
- at sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(HttpURLConnection.java:1316)
- at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1291)
- at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:250)
- at com.sun.xml.internal.ws.transport.http.client.HttpClientTransport.getOutput(HttpClientTransport.java:104)
- ... 66 more
- 14.08 17:48:55.753 INFO [GlobusLoyaltyPlugin] Active card is not found in SAP
- 14.08 17:49:03.597 INFO [GlobusCardPlugin] Fiscalization called, clearing caches...
- 14.08 17:49:03.597 INFO [GlobusCardPlugin] [SapCardClientPosProxy] Clearing cache data for cards
- CachedResponseMapKey{fullInfo=false, cardNumber='2037215727383'}
- CachedResponseMapKey{fullInfo=true, cardNumber='2037215727383'}
- 14.08 17:49:03.597 INFO [GlobusCardPlugin] Done clearing caches
- 14.08 17:49:03.603 DEBUG [GlobusLoyaltyPlugin] eventBeforeReceiptFiscalized called for receipt 15
- 14.08 17:49:03.624 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/">
- <SOAP-ENV:Header/>
- <S:Body>
- <ns2:ZNEW_POS_R_MT_Request xmlns:ns2="urn:sap-com:document:sap:soap:functions:pos">
- <Request>
- <item>
- <RequestHeader>
- <OperationDate>2019-08-14</OperationDate>
- <OperationTime>17:48:32</OperationTime>
- <OperationTimeZone>MSK03</OperationTimeZone>
- <CashierId>1</CashierId>
- <TerminalId>1</TerminalId>
- <RetailStoreId>3388</RetailStoreId>
- <NumberShiftId>25</NumberShiftId>
- <TypeTerminalId>1</TypeTerminalId>
- <ReceiptNumber>15</ReceiptNumber>
- </RequestHeader>
- <OperationData>
- <QrCode>t=20190814T174900&s=1000.00&fn=9999078902001730&i=226&fp=3335158334&n=1</QrCode>
- <OperationType>01</OperationType>
- <LoyaltyCardNumber>2037215727383</LoyaltyCardNumber>
- <OfflineProcessing>false</OfflineProcessing>
- </OperationData>
- <ReceiptHeader>
- <ReceiptSum>1000.00</ReceiptSum>
- <ReceiptSumWithDiscount>1000.00</ReceiptSumWithDiscount>
- </ReceiptHeader>
- <ReceiptItems>
- <item>
- <ItemNumber>1</ItemNumber>
- <ProductId>4690207112482</ProductId>
- <Quantity>1</Quantity>
- <QuantityUnit>шт</QuantityUnit>
- <Price>1000.00</Price>
- <ItemTotalSumWithDiscount>1000.00</ItemTotalSumWithDiscount>
- <DepartmentCode>520701</DepartmentCode>
- </item>
- </ReceiptItems>
- <PromoActionsApplied/>
- <Payments>
- <item>
- <PaymentType>01</PaymentType>
- <Amount>1000.00</Amount>
- </item>
- </Payments>
- </item>
- </Request>
- </ns2:ZNEW_POS_R_MT_Request>
- </S:Body>
- </S:Envelope>
- 14.08 17:49:13.434 ERROR [GlobusLoyaltyPlugin] [SapLoyaltyClient] Received HTTP response code 0
- 14.08 17:49:13.436 ERROR [GlobusLoyaltyPlugin] Failed to send receipt 15 to SAP. Scheduling it to postponed queue
- ru.crystals.api.plugins.globus.client.NetworkException: com.sun.xml.internal.ws.client.ClientTransportException: HTTP transport error: java.net.UnknownHostException: vhhypdk5wd01.hec.ru.globusgrp.org
- at ru.crystals.api.plugins.globus.client.loyalty.SapLoyaltyClient.sendReceipts(SapLoyaltyClient.java:44)
- at ru.crystals.api.plugins.globus.loyalty.GlobusLoyaltyPlugin.onReceiptFiscalized(GlobusLoyaltyPlugin.java:152)
- at ru.crystals.pos.loyal.SetApiPluginLoyProvider.purchaseFiscalized(SetApiPluginLoyProvider.java:399)
- at ru.crystals.loyal.providers.LoyProvidersRegistryImpl.purchaseFiscalized(LoyProvidersRegistryImpl.java:362)
- at ru.crystals.pos.loyal.cash.service.LoyalServiceImpl.purchaseFiscalized(LoyalServiceImpl.java:1539)
- at ru.crystals.pos.loyal.bridge.service.LoyalBridgeServiceImpl.purchaseFiscalized(LoyalBridgeServiceImpl.java:189)
- at ru.crystals.pos.techprocess.ExternalProcessingsImpl.purchaseFiscalized(ExternalProcessingsImpl.java:212)
- at ru.crystals.pos.techprocess.TechProcessShift.printCheck(TechProcessShift.java:1795)
- at ru.crystals.pos.techprocess.TechProcessShift.fiscalizeCheck(TechProcessShift.java:1542)
- at ru.crystals.pos.techprocess.TechProcessShiftProxy.fiscalizeCheck(TechProcessShiftProxy.java:701)
- at ru.crystals.pos.techprocess.TechProcessImpl.fiscalizeCheck(TechProcessImpl.java:944)
- at ru.crystals.pos.visualization.check.CheckContainer.paymentComplete(CheckContainer.java:2700)
- at ru.crystals.pos.visualization.components.MainWindow.paymentComplete(MainWindow.java:845)
- at ru.crystals.pos.visualization.Factory.eventPaymentComplete(Factory.java:869)
- at ru.crystals.pos.techprocess.TechProcessImpl.paymentComplete(TechProcessImpl.java:4482)
- at ru.crystals.pos.check.service.CheckServiceImpl.addPayment(CheckServiceImpl.java:3977)
- at ru.crystals.pos.techprocess.TechProcessImpl.addPayment(TechProcessImpl.java:3932)
- at ru.crystals.pos.visualization.payments.PaymentContainer.doProcessPayment(PaymentContainer.java:387)
- at ru.crystals.pos.visualization.payments.PaymentContainer.processPayment(PaymentContainer.java:347)
- at ru.crystals.pos.visualization.payments.cash.CashPaymentContainer.enter(CashPaymentContainer.java:94)
- at ru.crystals.pos.visualization.components.CompositeContainer.enter(CompositeContainer.java:96)
- at ru.crystals.pos.visualization.check.CheckContainer.enter(CheckContainer.java:1892)
- at ru.crystals.pos.visualization.components.MainWindow.enter(MainWindow.java:1086)
- at ru.crystals.pos.visualization.Factory.eventControlKey(Factory.java:526)
- at ru.crystals.pos.techprocess.TechProcessImpl.eventControlKey(TechProcessImpl.java:4360)
- at ru.crystals.pos.CashEventSource.sentOldKey(CashEventSource.java:167)
- at ru.crystals.pos.CashEventSource.process(CashEventSource.java:138)
- at ru.crystals.pos.CashEventSource.processEvent(CashEventSource.java:118)
- at ru.crystals.pos.CashEventSource.run(CashEventSource.java:101)
- at ru.crystals.pos.InternalCashPoolExecutorImpl.lambda$submit$2(InternalCashPoolExecutorImpl.java:115)
- at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
- at java.util.concurrent.FutureTask.run(FutureTask.java:266)
- at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
- at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
- at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
- at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
- at java.lang.Thread.run(Thread.java:745)
- Caused by: com.sun.xml.internal.ws.client.ClientTransportException: HTTP transport error: java.net.UnknownHostException: vhhypdk5wd01.hec.ru.globusgrp.org
- at com.sun.xml.internal.ws.transport.http.client.HttpClientTransport.getOutput(HttpClientTransport.java:117)
- at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:208)
- at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:130)
- at com.sun.xml.internal.ws.transport.DeferredTransportPipe.processRequest(DeferredTransportPipe.java:124)
- at com.sun.xml.internal.ws.api.pipe.Fiber.__doRun(Fiber.java:1121)
- at com.sun.xml.internal.ws.api.pipe.Fiber._doRun(Fiber.java:1035)
- at com.sun.xml.internal.ws.api.pipe.Fiber.doRun(Fiber.java:1004)
- at com.sun.xml.internal.ws.api.pipe.Fiber.runSync(Fiber.java:862)
- at com.sun.xml.internal.ws.client.Stub.process(Stub.java:448)
- at com.sun.xml.internal.ws.client.sei.SEIStub.doProcess(SEIStub.java:178)
- at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:93)
- at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:77)
- at com.sun.xml.internal.ws.client.sei.SEIStub.invoke(SEIStub.java:147)
- at com.sun.proxy.$Proxy214.posReceiptCSI(Unknown Source)
- at ru.crystals.api.plugins.globus.client.loyalty.SapLoyaltyClient.sendReceipts(SapLoyaltyClient.java:38)
- ... 36 more
- Caused by: java.net.UnknownHostException: vhhypdk5wd01.hec.ru.globusgrp.org
- at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184)
- at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
- at java.net.Socket.connect(Socket.java:589)
- at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:668)
- at sun.net.NetworkClient.doConnect(NetworkClient.java:175)
- at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
- at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
- at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:264)
- at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:367)
- at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191)
- at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1181)
- at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1032)
- at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177)
- at sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(HttpURLConnection.java:1316)
- at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1291)
- at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:250)
- at com.sun.xml.internal.ws.transport.http.client.HttpClientTransport.getOutput(HttpClientTransport.java:104)
- ... 50 more
- 14.08 17:49:17.210 DEBUG [GlobusCardPlugin] Searching card "2037215727383", POS operation mode SALE
- 14.08 17:49:17.210 DEBUG [GlobusCardPlugin] [SapCardClientPosProxy] Card info request via proxy for card "2037215727383" as FULL with force refresh false
- 14.08 17:49:17.210 DEBUG [GlobusCardPlugin] [SapCardClientPosProxy] No cached entry for CachedResponseMapKey{fullInfo=true, cardNumber='2037215727383'}, making a real call to the processing
- 14.08 17:49:17.210 DEBUG [GlobusCardPlugin] [SapCardClient] Sending card request...
- 14.08 17:49:17.223 DEBUG [GlobusCardPlugin] [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/">
- <SOAP-ENV:Header/>
- <S:Body>
- <ns2:ZNEW_POS_MT_Request xmlns:ns2="urn:sap-com:document:sap:soap:functions:pos">
- <Request>
- <OperationHeader>
- <OperationDate>2019-08-14</OperationDate>
- <OperationTime>17:49:17</OperationTime>
- <OperationTimeZone>MSK03</OperationTimeZone>
- <CashierId>1</CashierId>
- <NumberShiftId>25</NumberShiftId>
- <TypeTerminalId>1</TypeTerminalId>
- <TerminalId>1</TerminalId>
- <RetailStoreId>3388</RetailStoreId>
- </OperationHeader>
- <LoyaltyIdentifier>
- <Type>01</Type>
- <Id>2037215727383</Id>
- </LoyaltyIdentifier>
- </Request>
- </ns2:ZNEW_POS_MT_Request>
- </S:Body>
- </S:Envelope>
- 14.08 17:49:17.224 ERROR [GlobusCardPlugin] [SapCardClient] Received HTTP response code 0
- 14.08 17:49:17.224 ERROR [GlobusCardPlugin] [SapCardClientPosProxy] Failed to get response from SAP, caching result as a null response
- 14.08 17:49:17.224 ERROR [GlobusCardPlugin]
- ru.crystals.api.plugins.globus.client.NetworkException: com.sun.xml.internal.ws.client.ClientTransportException: HTTP transport error: java.net.UnknownHostException: vhhypdk5wd01.hec.ru.globusgrp.org
- at ru.crystals.api.plugins.globus.client.SapCardClient.getCardInfo(SapCardClient.java:47)
- at ru.crystals.api.plugins.globus.client.SapCardClientPosProxy.sendRequestAndCacheResult(SapCardClientPosProxy.java:65)
- at ru.crystals.api.plugins.globus.client.SapCardClientPosProxy.getCardInfo(SapCardClientPosProxy.java:51)
- at ru.crystals.api.plugins.globus.client.SapCardClientPosProxy.getCardInfo(SapCardClientPosProxy.java:33)
- at ru.crystals.api.plugins.globus.cards.GlobusCardPlugin.searchCard(GlobusCardPlugin.java:92)
- at ru.crystals.pos.cards.service.search.SetApiCardFinder.findCard(SetApiCardFinder.java:50)
- at ru.crystals.pos.cards.service.search.CardFinderChain.findCard(CardFinderChain.java:48)
- at ru.crystals.pos.cards.service.CardsServiceImpl.getCardTypeEntity(CardsServiceImpl.java:399)
- at ru.crystals.pos.cards.service.CardsServiceImpl.getCardType(CardsServiceImpl.java:507)
- at ru.crystals.pos.techprocess.TechProcessSearch.lambda$getCardType$0(TechProcessSearch.java:359)
- at ru.crystals.pos.techprocess.TechProcessSearch.tryGetCardTypeNotFromCardRange(TechProcessSearch.java:377)
- at ru.crystals.pos.techprocess.TechProcessSearch.getCardType(TechProcessSearch.java:359)
- at ru.crystals.pos.techprocess.TechProcessSearch.searchCard(TechProcessSearch.java:264)
- at ru.crystals.pos.techprocess.TechProcessImpl.searchCard(TechProcessImpl.java:4220)
- at ru.crystals.pos.visualization.search.SearchProductContainer.searchCouponAndDiscountCard(SearchProductContainer.java:251)
- at ru.crystals.pos.visualization.search.SearchProductContainer.search(SearchProductContainer.java:453)
- at ru.crystals.pos.visualization.check.CheckContainer.addPositionByBarcode(CheckContainer.java:2199)
- at ru.crystals.pos.visualization.check.CheckContainer.barcode(CheckContainer.java:2114)
- at ru.crystals.pos.visualization.check.CheckContainer.barcode(CheckContainer.java:2075)
- at ru.crystals.pos.visualization.components.MainWindow.barcode(MainWindow.java:1127)
- at ru.crystals.pos.visualization.Factory.eventBarcode(Factory.java:796)
- at ru.crystals.pos.techprocess.TechProcessImpl.eventBarcodeScanner(TechProcessImpl.java:4315)
- at ru.crystals.pos.CashEventSource.process(CashEventSource.java:308)
- at ru.crystals.pos.CashEventSource.processEvent(CashEventSource.java:120)
- at ru.crystals.pos.CashEventSource.run(CashEventSource.java:101)
- at ru.crystals.pos.InternalCashPoolExecutorImpl.lambda$submit$2(InternalCashPoolExecutorImpl.java:115)
- at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
- at java.util.concurrent.FutureTask.run(FutureTask.java:266)
- at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
- at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
- at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
- at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
- at java.lang.Thread.run(Thread.java:745)
- Caused by: com.sun.xml.internal.ws.client.ClientTransportException: HTTP transport error: java.net.UnknownHostException: vhhypdk5wd01.hec.ru.globusgrp.org
- at com.sun.xml.internal.ws.transport.http.client.HttpClientTransport.getOutput(HttpClientTransport.java:117)
- at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:208)
- at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:130)
- at com.sun.xml.internal.ws.transport.DeferredTransportPipe.processRequest(DeferredTransportPipe.java:124)
- at com.sun.xml.internal.ws.api.pipe.Fiber.__doRun(Fiber.java:1121)
- at com.sun.xml.internal.ws.api.pipe.Fiber._doRun(Fiber.java:1035)
- at com.sun.xml.internal.ws.api.pipe.Fiber.doRun(Fiber.java:1004)
- at com.sun.xml.internal.ws.api.pipe.Fiber.runSync(Fiber.java:862)
- at com.sun.xml.internal.ws.client.Stub.process(Stub.java:448)
- at com.sun.xml.internal.ws.client.sei.SEIStub.doProcess(SEIStub.java:178)
- at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:93)
- at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:77)
- at com.sun.xml.internal.ws.client.sei.SEIStub.invoke(SEIStub.java:147)
- at com.sun.proxy.$Proxy212.getCardNKS(Unknown Source)
- at ru.crystals.api.plugins.globus.client.SapCardClient.getCardInfo(SapCardClient.java:40)
- ... 32 more
- Caused by: java.net.UnknownHostException: vhhypdk5wd01.hec.ru.globusgrp.org
- at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184)
- at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
- at java.net.Socket.connect(Socket.java:589)
- at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:668)
- at sun.net.NetworkClient.doConnect(NetworkClient.java:175)
- at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
- at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
- at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:264)
- at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:367)
- at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191)
- at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1181)
- at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1032)
- at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177)
- at sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(HttpURLConnection.java:1316)
- at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1291)
- at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:250)
- at com.sun.xml.internal.ws.transport.http.client.HttpClientTransport.getOutput(HttpClientTransport.java:104)
- ... 46 more
- 14.08 17:49:24.735 DEBUG [GlobusCardPlugin] [SapCardClientPosProxy] Card info request via proxy for card "2037215727383" as SHORT with force refresh true
- 14.08 17:49:24.736 DEBUG [GlobusCardPlugin] [SapCardClient] Sending card request...
- 14.08 17:49:24.739 DEBUG [GlobusCardPlugin] [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/">
- <SOAP-ENV:Header/>
- <S:Body>
- <ns2:ZNEW_POS_MT_Request xmlns:ns2="urn:sap-com:document:sap:soap:functions:pos">
- <Request>
- <OperationHeader>
- <OperationDate>2019-08-14</OperationDate>
- <OperationTime>17:49:24</OperationTime>
- <OperationTimeZone>MSK03</OperationTimeZone>
- <CashierId>1</CashierId>
- <NumberShiftId>25</NumberShiftId>
- <TypeTerminalId>1</TypeTerminalId>
- <TerminalId>1</TerminalId>
- <RetailStoreId>3388</RetailStoreId>
- <RepeatCall>1</RepeatCall>
- </OperationHeader>
- <LoyaltyIdentifier>
- <Type>01</Type>
- <Id>2037215727383</Id>
- </LoyaltyIdentifier>
- </Request>
- </ns2:ZNEW_POS_MT_Request>
- </S:Body>
- </S:Envelope>
- 14.08 17:49:33.500 ERROR [GlobusCardPlugin] [SapCardClient] Received HTTP response code 0
- 14.08 17:49:33.501 ERROR [GlobusCardPlugin] [SapCardClientPosProxy] Failed to get response from SAP, caching result as a null response
- 14.08 17:49:33.501 ERROR [GlobusCardPlugin] Failed to refresh card info
- ru.crystals.api.plugins.globus.client.NetworkException: com.sun.xml.internal.ws.client.ClientTransportException: HTTP transport error: java.net.UnknownHostException: vhhypdk5wd01.hec.ru.globusgrp.org
- at ru.crystals.api.plugins.globus.client.SapCardClient.getCardInfo(SapCardClient.java:47)
- at ru.crystals.api.plugins.globus.client.SapCardClientPosProxy.sendRequestAndCacheResult(SapCardClientPosProxy.java:65)
- at ru.crystals.api.plugins.globus.client.SapCardClientPosProxy.getCardInfo(SapCardClientPosProxy.java:46)
- at ru.crystals.api.plugins.globus.client.SapCardClientPosProxy.getCardInfo(SapCardClientPosProxy.java:33)
- at ru.crystals.api.plugins.globus.client.SapCardClientPosProxy.getShortCardInfo(SapCardClientPosProxy.java:109)
- at ru.crystals.api.plugins.globus.loyalty.GlobusLoyaltyPlugin.doDiscount(GlobusLoyaltyPlugin.java:87)
- at ru.crystals.pos.loyal.SetApiPluginLoyProvider.process(SetApiPluginLoyProvider.java:171)
- at ru.crystals.loyal.providers.LoyProvidersRegistryImpl.process(LoyProvidersRegistryImpl.java:124)
- at ru.crystals.pos.loyal.cash.service.LoyalServiceImpl.calcDiscounts(LoyalServiceImpl.java:780)
- at ru.crystals.pos.loyal.cash.service.LoyalServiceImpl.doLoyalty(LoyalServiceImpl.java:709)
- at ru.crystals.pos.loyal.cash.service.LoyalServiceImpl.doDiscount(LoyalServiceImpl.java:820)
- at ru.crystals.pos.loyal.bridge.service.LoyalBridgeServiceImpl.doDiscount(LoyalBridgeServiceImpl.java:162)
- at ru.crystals.pos.techprocess.TechProcessImpl.applyDiscountsAndGetResult(TechProcessImpl.java:3784)
- at ru.crystals.pos.techprocess.TechProcessImpl.subtotalScenario(TechProcessImpl.java:3354)
- at ru.crystals.pos.visualization.check.CheckContainer.startSubtotalScenario(CheckContainer.java:1541)
- at ru.crystals.pos.visualization.check.CheckContainer.subtotalProcessPurchaseState(CheckContainer.java:1513)
- at ru.crystals.pos.visualization.check.CheckContainer.subtotal(CheckContainer.java:1410)
- at ru.crystals.pos.visualization.components.MainWindow.subTotal(MainWindow.java:798)
- at ru.crystals.pos.visualization.Factory.eventFunctionKey(Factory.java:582)
- at ru.crystals.pos.techprocess.TechProcessImpl.eventFunctionKey(TechProcessImpl.java:4389)
- at ru.crystals.pos.CashEventSource.sentOldKey(CashEventSource.java:165)
- at ru.crystals.pos.CashEventSource.process(CashEventSource.java:138)
- at ru.crystals.pos.CashEventSource.processEvent(CashEventSource.java:118)
- at ru.crystals.pos.CashEventSource.run(CashEventSource.java:101)
- at ru.crystals.pos.InternalCashPoolExecutorImpl.lambda$submit$2(InternalCashPoolExecutorImpl.java:115)
- at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
- at java.util.concurrent.FutureTask.run(FutureTask.java:266)
- at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
- at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
- at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
- at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
- at java.lang.Thread.run(Thread.java:745)
- Caused by: com.sun.xml.internal.ws.client.ClientTransportException: HTTP transport error: java.net.UnknownHostException: vhhypdk5wd01.hec.ru.globusgrp.org
- at com.sun.xml.internal.ws.transport.http.client.HttpClientTransport.getOutput(HttpClientTransport.java:117)
- at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:208)
- at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:130)
- at com.sun.xml.internal.ws.transport.DeferredTransportPipe.processRequest(DeferredTransportPipe.java:95)
- at com.sun.xml.internal.ws.api.pipe.Fiber.__doRun(Fiber.java:1121)
- at com.sun.xml.internal.ws.api.pipe.Fiber._doRun(Fiber.java:1035)
- at com.sun.xml.internal.ws.api.pipe.Fiber.doRun(Fiber.java:1004)
- at com.sun.xml.internal.ws.api.pipe.Fiber.runSync(Fiber.java:862)
- at com.sun.xml.internal.ws.client.Stub.process(Stub.java:448)
- at com.sun.xml.internal.ws.client.sei.SEIStub.doProcess(SEIStub.java:178)
- at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:93)
- at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:77)
- at com.sun.xml.internal.ws.client.sei.SEIStub.invoke(SEIStub.java:147)
- at com.sun.proxy.$Proxy212.getCardNKS(Unknown Source)
- at ru.crystals.api.plugins.globus.client.SapCardClient.getCardInfo(SapCardClient.java:40)
- ... 31 more
- Caused by: java.net.UnknownHostException: vhhypdk5wd01.hec.ru.globusgrp.org
- at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184)
- at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
- at java.net.Socket.connect(Socket.java:589)
- at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:668)
- at sun.net.NetworkClient.doConnect(NetworkClient.java:175)
- at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
- at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
- at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:264)
- at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:367)
- at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191)
- at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1181)
- at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1032)
- at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177)
- at sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(HttpURLConnection.java:1316)
- at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1291)
- at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:250)
- at com.sun.xml.internal.ws.transport.http.client.HttpClientTransport.getOutput(HttpClientTransport.java:104)
- ... 45 more
- 14.08 17:49:33.514 DEBUG [GlobusCardPlugin] [SapCardClientPosProxy] Card info request via proxy for card "2037215727383" as SHORT with force refresh true
- 14.08 17:49:33.514 DEBUG [GlobusCardPlugin] [SapCardClient] Sending card request...
- 14.08 17:49:33.518 DEBUG [GlobusCardPlugin] [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/">
- <SOAP-ENV:Header/>
- <S:Body>
- <ns2:ZNEW_POS_MT_Request xmlns:ns2="urn:sap-com:document:sap:soap:functions:pos">
- <Request>
- <OperationHeader>
- <OperationDate>2019-08-14</OperationDate>
- <OperationTime>17:49:33</OperationTime>
- <OperationTimeZone>MSK03</OperationTimeZone>
- <CashierId>1</CashierId>
- <NumberShiftId>25</NumberShiftId>
- <TypeTerminalId>1</TypeTerminalId>
- <TerminalId>1</TerminalId>
- <RetailStoreId>3388</RetailStoreId>
- <RepeatCall>1</RepeatCall>
- </OperationHeader>
- <LoyaltyIdentifier>
- <Type>01</Type>
- <Id>2037215727383</Id>
- </LoyaltyIdentifier>
- </Request>
- </ns2:ZNEW_POS_MT_Request>
- </S:Body>
- </S:Envelope>
- 14.08 17:49:33.518 ERROR [GlobusCardPlugin] [SapCardClient] Received HTTP response code 0
- 14.08 17:49:33.518 ERROR [GlobusCardPlugin] [SapCardClientPosProxy] Failed to get response from SAP, caching result as a null response
- 14.08 17:49:33.518 ERROR [GlobusCardPlugin] Failed to refresh card info
- ru.crystals.api.plugins.globus.client.NetworkException: com.sun.xml.internal.ws.client.ClientTransportException: HTTP transport error: java.net.UnknownHostException: vhhypdk5wd01.hec.ru.globusgrp.org
- at ru.crystals.api.plugins.globus.client.SapCardClient.getCardInfo(SapCardClient.java:47)
- at ru.crystals.api.plugins.globus.client.SapCardClientPosProxy.sendRequestAndCacheResult(SapCardClientPosProxy.java:65)
- at ru.crystals.api.plugins.globus.client.SapCardClientPosProxy.getCardInfo(SapCardClientPosProxy.java:46)
- at ru.crystals.api.plugins.globus.client.SapCardClientPosProxy.getCardInfo(SapCardClientPosProxy.java:33)
- at ru.crystals.api.plugins.globus.client.SapCardClientPosProxy.getShortCardInfo(SapCardClientPosProxy.java:109)
- at ru.crystals.api.plugins.globus.loyalty.PromoActionsHolder.getAvailableActions(PromoActionsHolder.java:54)
- at ru.crystals.api.plugins.globus.loyalty.GlobusLoyaltyPlugin.resolve(GlobusLoyaltyPlugin.java:109)
- at ru.crystals.pos.loyal.SetApiPluginLoyProvider.lambda$onDiscountCalculationStarted$0(SetApiPluginLoyProvider.java:218)
- at ru.crystalservice.setv6.discounts.plugins.ExternalSystemResolutionCondition.isConditionExecuted(ExternalSystemResolutionCondition.java:28)
- at ru.crystals.loyal.calculation.DiscountCalculationUtils.executeConditionPlugin(DiscountCalculationUtils.java:1788)
- at ru.crystals.loyal.calculation.DiscountCalculationUtils.lambda$areConditionsMet$10(DiscountCalculationUtils.java:1769)
- at java.util.stream.MatchOps$1MatchSink.accept(MatchOps.java:90)
- at java.util.ArrayList$ArrayListSpliterator.tryAdvance(ArrayList.java:1351)
- at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
- at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
- at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
- at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
- at java.util.stream.MatchOps$MatchOp.evaluateSequential(MatchOps.java:230)
- at java.util.stream.MatchOps$MatchOp.evaluateSequential(MatchOps.java:196)
- at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
- at java.util.stream.ReferencePipeline.allMatch(ReferencePipeline.java:454)
- at ru.crystals.loyal.calculation.DiscountCalculationUtils.areConditionsMet(DiscountCalculationUtils.java:1769)
- at ru.crystals.loyal.calculation.AdvertisingActionUtils.conditionsMet(AdvertisingActionUtils.java:290)
- at ru.crystals.loyal.calculation.AdvertisingActionUtils.getBonusDiscountActions(AdvertisingActionUtils.java:336)
- at ru.crystals.loyal.calculation.AdvertisingActionUtils.getChargedAlreadyBonusDiscountActions(AdvertisingActionUtils.java:475)
- at ru.crystals.loyal.calculation.CycleProcessing.calculate(CycleProcessing.java:254)
- at ru.crystals.loyal.calculation.DoProcessing.doDiscount(DoProcessing.java:57)
- at ru.crystals.loyal.providers.ClassicSetLoyProvider.process(ClassicSetLoyProvider.java:106)
- at ru.crystals.loyal.providers.LoyProvidersRegistryImpl.process(LoyProvidersRegistryImpl.java:124)
- at ru.crystals.pos.loyal.cash.service.LoyalServiceImpl.calcDiscounts(LoyalServiceImpl.java:780)
- at ru.crystals.pos.loyal.cash.service.LoyalServiceImpl.doLoyalty(LoyalServiceImpl.java:709)
- at ru.crystals.pos.loyal.cash.service.LoyalServiceImpl.doDiscount(LoyalServiceImpl.java:820)
- at ru.crystals.pos.loyal.bridge.service.LoyalBridgeServiceImpl.doDiscount(LoyalBridgeServiceImpl.java:162)
- at ru.crystals.pos.techprocess.TechProcessImpl.applyDiscountsAndGetResult(TechProcessImpl.java:3784)
- at ru.crystals.pos.techprocess.TechProcessImpl.subtotalScenario(TechProcessImpl.java:3354)
- at ru.crystals.pos.visualization.check.CheckContainer.startSubtotalScenario(CheckContainer.java:1541)
- at ru.crystals.pos.visualization.check.CheckContainer.subtotalProcessPurchaseState(CheckContainer.java:1513)
- at ru.crystals.pos.visualization.check.CheckContainer.subtotal(CheckContainer.java:1410)
- at ru.crystals.pos.visualization.components.MainWindow.subTotal(MainWindow.java:798)
- at ru.crystals.pos.visualization.Factory.eventFunctionKey(Factory.java:582)
- at ru.crystals.pos.techprocess.TechProcessImpl.eventFunctionKey(TechProcessImpl.java:4389)
- at ru.crystals.pos.CashEventSource.sentOldKey(CashEventSource.java:165)
- at ru.crystals.pos.CashEventSource.process(CashEventSource.java:138)
- at ru.crystals.pos.CashEventSource.processEvent(CashEventSource.java:118)
- at ru.crystals.pos.CashEventSource.run(CashEventSource.java:101)
- at ru.crystals.pos.InternalCashPoolExecutorImpl.lambda$submit$2(InternalCashPoolExecutorImpl.java:115)
- at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
- at java.util.concurrent.FutureTask.run(FutureTask.java:266)
- at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
- at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
- at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
- at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
- at java.lang.Thread.run(Thread.java:745)
- Caused by: com.sun.xml.internal.ws.client.ClientTransportException: HTTP transport error: java.net.UnknownHostException: vhhypdk5wd01.hec.ru.globusgrp.org
- at com.sun.xml.internal.ws.transport.http.client.HttpClientTransport.getOutput(HttpClientTransport.java:117)
- at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:208)
- at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:130)
- at com.sun.xml.internal.ws.transport.DeferredTransportPipe.processRequest(DeferredTransportPipe.java:95)
- at com.sun.xml.internal.ws.api.pipe.Fiber.__doRun(Fiber.java:1121)
- at com.sun.xml.internal.ws.api.pipe.Fiber._doRun(Fiber.java:1035)
- at com.sun.xml.internal.ws.api.pipe.Fiber.doRun(Fiber.java:1004)
- at com.sun.xml.internal.ws.api.pipe.Fiber.runSync(Fiber.java:862)
- at com.sun.xml.internal.ws.client.Stub.process(Stub.java:448)
- at com.sun.xml.internal.ws.client.sei.SEIStub.doProcess(SEIStub.java:178)
- at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:93)
- at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:77)
- at com.sun.xml.internal.ws.client.sei.SEIStub.invoke(SEIStub.java:147)
- at com.sun.proxy.$Proxy212.getCardNKS(Unknown Source)
- at ru.crystals.api.plugins.globus.client.SapCardClient.getCardInfo(SapCardClient.java:40)
- ... 52 more
- Caused by: java.net.UnknownHostException: vhhypdk5wd01.hec.ru.globusgrp.org
- at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184)
- at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
- at java.net.Socket.connect(Socket.java:589)
- at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:668)
- at sun.net.NetworkClient.doConnect(NetworkClient.java:175)
- at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
- at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
- at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:264)
- at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:367)
- at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191)
- at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1181)
- at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1032)
- at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177)
- at sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(HttpURLConnection.java:1316)
- at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1291)
- at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:250)
- at com.sun.xml.internal.ws.transport.http.client.HttpClientTransport.getOutput(HttpClientTransport.java:104)
- ... 66 more
- 14.08 17:49:33.520 INFO [GlobusLoyaltyPlugin] Active card is not found in SAP
- 14.08 17:49:40.197 INFO [GlobusCardPlugin] Fiscalization called, clearing caches...
- 14.08 17:49:40.197 INFO [GlobusCardPlugin] [SapCardClientPosProxy] Clearing cache data for cards
- CachedResponseMapKey{fullInfo=false, cardNumber='2037215727383'}
- CachedResponseMapKey{fullInfo=true, cardNumber='2037215727383'}
- 14.08 17:49:40.197 INFO [GlobusCardPlugin] Done clearing caches
- 14.08 17:49:40.202 DEBUG [GlobusLoyaltyPlugin] eventBeforeReceiptFiscalized called for receipt 16
- 14.08 17:49:40.208 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/">
- <SOAP-ENV:Header/>
- <S:Body>
- <ns2:ZNEW_POS_R_MT_Request xmlns:ns2="urn:sap-com:document:sap:soap:functions:pos">
- <Request>
- <item>
- <RequestHeader>
- <OperationDate>2019-08-14</OperationDate>
- <OperationTime>17:49:17</OperationTime>
- <OperationTimeZone>MSK03</OperationTimeZone>
- <CashierId>1</CashierId>
- <TerminalId>1</TerminalId>
- <RetailStoreId>3388</RetailStoreId>
- <NumberShiftId>25</NumberShiftId>
- <TypeTerminalId>1</TypeTerminalId>
- <ReceiptNumber>16</ReceiptNumber>
- </RequestHeader>
- <OperationData>
- <QrCode>t=20190814T174900&s=1000.00&fn=9999078902001730&i=227&fp=2284740598&n=1</QrCode>
- <OperationType>01</OperationType>
- <LoyaltyCardNumber>2037215727383</LoyaltyCardNumber>
- <OfflineProcessing>false</OfflineProcessing>
- </OperationData>
- <ReceiptHeader>
- <ReceiptSum>1000.00</ReceiptSum>
- <ReceiptSumWithDiscount>1000.00</ReceiptSumWithDiscount>
- </ReceiptHeader>
- <ReceiptItems>
- <item>
- <ItemNumber>1</ItemNumber>
- <ProductId>4690207112482</ProductId>
- <Quantity>1</Quantity>
- <QuantityUnit>шт</QuantityUnit>
- <Price>1000.00</Price>
- <ItemTotalSumWithDiscount>1000.00</ItemTotalSumWithDiscount>
- <DepartmentCode>520701</DepartmentCode>
- </item>
- </ReceiptItems>
- <PromoActionsApplied/>
- <Payments>
- <item>
- <PaymentType>01</PaymentType>
- <Amount>1000.00</Amount>
- </item>
- </Payments>
- </item>
- </Request>
- </ns2:ZNEW_POS_R_MT_Request>
- </S:Body>
- </S:Envelope>
- 14.08 17:49:40.210 ERROR [GlobusLoyaltyPlugin] [SapLoyaltyClient] Received HTTP response code 0
- 14.08 17:49:40.211 ERROR [GlobusLoyaltyPlugin] Failed to send receipt 16 to SAP. Scheduling it to postponed queue
- ru.crystals.api.plugins.globus.client.NetworkException: com.sun.xml.internal.ws.client.ClientTransportException: HTTP transport error: java.net.UnknownHostException: vhhypdk5wd01.hec.ru.globusgrp.org
- at ru.crystals.api.plugins.globus.client.loyalty.SapLoyaltyClient.sendReceipts(SapLoyaltyClient.java:44)
- at ru.crystals.api.plugins.globus.loyalty.GlobusLoyaltyPlugin.onReceiptFiscalized(GlobusLoyaltyPlugin.java:152)
- at ru.crystals.pos.loyal.SetApiPluginLoyProvider.purchaseFiscalized(SetApiPluginLoyProvider.java:399)
- at ru.crystals.loyal.providers.LoyProvidersRegistryImpl.purchaseFiscalized(LoyProvidersRegistryImpl.java:362)
- at ru.crystals.pos.loyal.cash.service.LoyalServiceImpl.purchaseFiscalized(LoyalServiceImpl.java:1539)
- at ru.crystals.pos.loyal.bridge.service.LoyalBridgeServiceImpl.purchaseFiscalized(LoyalBridgeServiceImpl.java:189)
- at ru.crystals.pos.techprocess.ExternalProcessingsImpl.purchaseFiscalized(ExternalProcessingsImpl.java:212)
- at ru.crystals.pos.techprocess.TechProcessShift.printCheck(TechProcessShift.java:1795)
- at ru.crystals.pos.techprocess.TechProcessShift.fiscalizeCheck(TechProcessShift.java:1542)
- at ru.crystals.pos.techprocess.TechProcessShiftProxy.fiscalizeCheck(TechProcessShiftProxy.java:701)
- at ru.crystals.pos.techprocess.TechProcessImpl.fiscalizeCheck(TechProcessImpl.java:944)
- at ru.crystals.pos.visualization.check.CheckContainer.paymentComplete(CheckContainer.java:2700)
- at ru.crystals.pos.visualization.components.MainWindow.paymentComplete(MainWindow.java:845)
- at ru.crystals.pos.visualization.Factory.eventPaymentComplete(Factory.java:869)
- at ru.crystals.pos.techprocess.TechProcessImpl.paymentComplete(TechProcessImpl.java:4482)
- at ru.crystals.pos.check.service.CheckServiceImpl.addPayment(CheckServiceImpl.java:3977)
- at ru.crystals.pos.techprocess.TechProcessImpl.addPayment(TechProcessImpl.java:3932)
- at ru.crystals.pos.visualization.payments.PaymentContainer.doProcessPayment(PaymentContainer.java:387)
- at ru.crystals.pos.visualization.payments.PaymentContainer.processPayment(PaymentContainer.java:347)
- at ru.crystals.pos.visualization.payments.cash.CashPaymentContainer.enter(CashPaymentContainer.java:94)
- at ru.crystals.pos.visualization.components.CompositeContainer.enter(CompositeContainer.java:96)
- at ru.crystals.pos.visualization.check.CheckContainer.enter(CheckContainer.java:1892)
- at ru.crystals.pos.visualization.components.MainWindow.enter(MainWindow.java:1086)
- at ru.crystals.pos.visualization.Factory.eventControlKey(Factory.java:526)
- at ru.crystals.pos.techprocess.TechProcessImpl.eventControlKey(TechProcessImpl.java:4360)
- at ru.crystals.pos.CashEventSource.sentOldKey(CashEventSource.java:167)
- at ru.crystals.pos.CashEventSource.process(CashEventSource.java:138)
- at ru.crystals.pos.CashEventSource.processEvent(CashEventSource.java:118)
- at ru.crystals.pos.CashEventSource.run(CashEventSource.java:101)
- at ru.crystals.pos.InternalCashPoolExecutorImpl.lambda$submit$2(InternalCashPoolExecutorImpl.java:115)
- at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
- at java.util.concurrent.FutureTask.run(FutureTask.java:266)
- at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
- at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
- at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
- at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
- at java.lang.Thread.run(Thread.java:745)
- Caused by: com.sun.xml.internal.ws.client.ClientTransportException: HTTP transport error: java.net.UnknownHostException: vhhypdk5wd01.hec.ru.globusgrp.org
- at com.sun.xml.internal.ws.transport.http.client.HttpClientTransport.getOutput(HttpClientTransport.java:117)
- at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:208)
- at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:130)
- at com.sun.xml.internal.ws.transport.DeferredTransportPipe.processRequest(DeferredTransportPipe.java:124)
- at com.sun.xml.internal.ws.api.pipe.Fiber.__doRun(Fiber.java:1121)
- at com.sun.xml.internal.ws.api.pipe.Fiber._doRun(Fiber.java:1035)
- at com.sun.xml.internal.ws.api.pipe.Fiber.doRun(Fiber.java:1004)
- at com.sun.xml.internal.ws.api.pipe.Fiber.runSync(Fiber.java:862)
- at com.sun.xml.internal.ws.client.Stub.process(Stub.java:448)
- at com.sun.xml.internal.ws.client.sei.SEIStub.doProcess(SEIStub.java:178)
- at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:93)
- at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:77)
- at com.sun.xml.internal.ws.client.sei.SEIStub.invoke(SEIStub.java:147)
- at com.sun.proxy.$Proxy214.posReceiptCSI(Unknown Source)
- at ru.crystals.api.plugins.globus.client.loyalty.SapLoyaltyClient.sendReceipts(SapLoyaltyClient.java:38)
- ... 36 more
- Caused by: java.net.UnknownHostException: vhhypdk5wd01.hec.ru.globusgrp.org
- at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184)
- at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
- at java.net.Socket.connect(Socket.java:589)
- at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:668)
- at sun.net.NetworkClient.doConnect(NetworkClient.java:175)
- at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
- at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
- at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:264)
- at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:367)
- at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191)
- at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1181)
- at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1032)
- at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177)
- at sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(HttpURLConnection.java:1316)
- at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1291)
- at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:250)
- at com.sun.xml.internal.ws.transport.http.client.HttpClientTransport.getOutput(HttpClientTransport.java:104)
- ... 50 more
- 14.08 17:49:46.635 DEBUG [GlobusCardPlugin] [SapCardClientPosProxy] Card info request via proxy for card "null" as FULL with force refresh true
- 14.08 17:49:46.635 DEBUG [GlobusCardPlugin] [SapCardClient] Sending card request...
- 14.08 17:49:46.642 DEBUG [GlobusCardPlugin] [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/">
- <SOAP-ENV:Header/>
- <S:Body>
- <ns2:ZNEW_POS_MT_Request xmlns:ns2="urn:sap-com:document:sap:soap:functions:pos">
- <Request>
- <OperationHeader>
- <OperationDate>2019-08-14</OperationDate>
- <OperationTime>17:49:46</OperationTime>
- <OperationTimeZone>MSK03</OperationTimeZone>
- <CashierId>1</CashierId>
- <NumberShiftId>25</NumberShiftId>
- <TypeTerminalId>1</TypeTerminalId>
- <TerminalId>1</TerminalId>
- <RetailStoreId>3388</RetailStoreId>
- </OperationHeader>
- <LoyaltyIdentifier>
- <Type>01</Type>
- </LoyaltyIdentifier>
- </Request>
- </ns2:ZNEW_POS_MT_Request>
- </S:Body>
- </S:Envelope>
- 14.08 17:49:56.033 ERROR [GlobusCardPlugin] [SapCardClient] Received HTTP response code 0
- 14.08 17:49:56.034 ERROR [GlobusCardPlugin] [SapCardClientPosProxy] Failed to get response from SAP, caching result as a null response
- 14.08 17:49:56.035 ERROR [GlobusCardPlugin] Failed to refresh card info
- ru.crystals.api.plugins.globus.client.NetworkException: com.sun.xml.internal.ws.client.ClientTransportException: HTTP transport error: java.net.UnknownHostException: vhhypdk5wd01.hec.ru.globusgrp.org
- at ru.crystals.api.plugins.globus.client.SapCardClient.getCardInfo(SapCardClient.java:47)
- at ru.crystals.api.plugins.globus.client.SapCardClientPosProxy.sendRequestAndCacheResult(SapCardClientPosProxy.java:65)
- at ru.crystals.api.plugins.globus.client.SapCardClientPosProxy.getCardInfo(SapCardClientPosProxy.java:46)
- at ru.crystals.api.plugins.globus.client.SapCardClientPosProxy.getCardInfo(SapCardClientPosProxy.java:33)
- at ru.crystals.api.plugins.globus.client.SapCardClientPosProxy.getShortCardInfo(SapCardClientPosProxy.java:111)
- at ru.crystals.api.plugins.globus.loyalty.PromoActionsHolder.getAvailableActions(PromoActionsHolder.java:54)
- at ru.crystals.api.plugins.globus.loyalty.GlobusLoyaltyPlugin.resolve(GlobusLoyaltyPlugin.java:109)
- at ru.crystals.pos.loyal.SetApiPluginLoyProvider.lambda$onDiscountCalculationStarted$0(SetApiPluginLoyProvider.java:218)
- at ru.crystalservice.setv6.discounts.plugins.ExternalSystemResolutionCondition.isConditionExecuted(ExternalSystemResolutionCondition.java:28)
- at ru.crystals.loyal.calculation.DiscountCalculationUtils.executeConditionPlugin(DiscountCalculationUtils.java:1788)
- at ru.crystals.loyal.calculation.DiscountCalculationUtils.lambda$areConditionsMet$10(DiscountCalculationUtils.java:1769)
- at java.util.stream.MatchOps$1MatchSink.accept(MatchOps.java:90)
- at java.util.ArrayList$ArrayListSpliterator.tryAdvance(ArrayList.java:1351)
- at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
- at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
- at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
- at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
- at java.util.stream.MatchOps$MatchOp.evaluateSequential(MatchOps.java:230)
- at java.util.stream.MatchOps$MatchOp.evaluateSequential(MatchOps.java:196)
- at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
- at java.util.stream.ReferencePipeline.allMatch(ReferencePipeline.java:454)
- at ru.crystals.loyal.calculation.DiscountCalculationUtils.areConditionsMet(DiscountCalculationUtils.java:1769)
- at ru.crystals.loyal.calculation.AdvertisingActionUtils.conditionsMet(AdvertisingActionUtils.java:290)
- at ru.crystals.loyal.calculation.AdvertisingActionUtils.getBonusDiscountActions(AdvertisingActionUtils.java:336)
- at ru.crystals.loyal.calculation.AdvertisingActionUtils.getChargedAlreadyBonusDiscountActions(AdvertisingActionUtils.java:475)
- at ru.crystals.loyal.calculation.CycleProcessing.calculate(CycleProcessing.java:254)
- at ru.crystals.loyal.calculation.DoProcessing.doDiscount(DoProcessing.java:57)
- at ru.crystals.loyal.providers.ClassicSetLoyProvider.process(ClassicSetLoyProvider.java:106)
- at ru.crystals.loyal.providers.LoyProvidersRegistryImpl.process(LoyProvidersRegistryImpl.java:124)
- at ru.crystals.pos.loyal.cash.service.LoyalServiceImpl.calcDiscounts(LoyalServiceImpl.java:780)
- at ru.crystals.pos.loyal.cash.service.LoyalServiceImpl.doLoyalty(LoyalServiceImpl.java:709)
- at ru.crystals.pos.loyal.cash.service.LoyalServiceImpl.doDiscount(LoyalServiceImpl.java:820)
- at ru.crystals.pos.loyal.bridge.service.LoyalBridgeServiceImpl.doDiscount(LoyalBridgeServiceImpl.java:162)
- at ru.crystals.pos.techprocess.TechProcessImpl.applyDiscountsAndGetResult(TechProcessImpl.java:3784)
- at ru.crystals.pos.techprocess.TechProcessImpl.subtotalScenario(TechProcessImpl.java:3354)
- at ru.crystals.pos.visualization.check.CheckContainer.startSubtotalScenario(CheckContainer.java:1541)
- at ru.crystals.pos.visualization.check.CheckContainer.subtotalProcessPurchaseState(CheckContainer.java:1513)
- at ru.crystals.pos.visualization.check.CheckContainer.subtotal(CheckContainer.java:1410)
- at ru.crystals.pos.visualization.components.MainWindow.subTotal(MainWindow.java:798)
- at ru.crystals.pos.visualization.Factory.eventFunctionKey(Factory.java:582)
- at ru.crystals.pos.techprocess.TechProcessImpl.eventFunctionKey(TechProcessImpl.java:4389)
- at ru.crystals.pos.CashEventSource.sentOldKey(CashEventSource.java:165)
- at ru.crystals.pos.CashEventSource.process(CashEventSource.java:138)
- at ru.crystals.pos.CashEventSource.processEvent(CashEventSource.java:118)
- at ru.crystals.pos.CashEventSource.run(CashEventSource.java:101)
- at ru.crystals.pos.InternalCashPoolExecutorImpl.lambda$submit$2(InternalCashPoolExecutorImpl.java:115)
- at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
- at java.util.concurrent.FutureTask.run(FutureTask.java:266)
- at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
- at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
- at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
- at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
- at java.lang.Thread.run(Thread.java:745)
- Caused by: com.sun.xml.internal.ws.client.ClientTransportException: HTTP transport error: java.net.UnknownHostException: vhhypdk5wd01.hec.ru.globusgrp.org
- at com.sun.xml.internal.ws.transport.http.client.HttpClientTransport.getOutput(HttpClientTransport.java:117)
- at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:208)
- at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:130)
- at com.sun.xml.internal.ws.transport.DeferredTransportPipe.processRequest(DeferredTransportPipe.java:95)
- at com.sun.xml.internal.ws.api.pipe.Fiber.__doRun(Fiber.java:1121)
- at com.sun.xml.internal.ws.api.pipe.Fiber._doRun(Fiber.java:1035)
- at com.sun.xml.internal.ws.api.pipe.Fiber.doRun(Fiber.java:1004)
- at com.sun.xml.internal.ws.api.pipe.Fiber.runSync(Fiber.java:862)
- at com.sun.xml.internal.ws.client.Stub.process(Stub.java:448)
- at com.sun.xml.internal.ws.client.sei.SEIStub.doProcess(SEIStub.java:178)
- at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:93)
- at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:77)
- at com.sun.xml.internal.ws.client.sei.SEIStub.invoke(SEIStub.java:147)
- at com.sun.proxy.$Proxy212.getCardNKS(Unknown Source)
- at ru.crystals.api.plugins.globus.client.SapCardClient.getCardInfo(SapCardClient.java:40)
- ... 52 more
- Caused by: java.net.UnknownHostException: vhhypdk5wd01.hec.ru.globusgrp.org
- at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184)
- at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
- at java.net.Socket.connect(Socket.java:589)
- at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:668)
- at sun.net.NetworkClient.doConnect(NetworkClient.java:175)
- at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
- at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
- at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:264)
- at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:367)
- at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191)
- at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1181)
- at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1032)
- at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177)
- at sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(HttpURLConnection.java:1316)
- at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1291)
- at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:250)
- at com.sun.xml.internal.ws.transport.http.client.HttpClientTransport.getOutput(HttpClientTransport.java:104)
- ... 66 more
- 14.08 17:49:56.041 INFO [GlobusLoyaltyPlugin] Active card is not found in SAP
- 14.08 17:49:57.467 DEBUG [GlobusCardPlugin] Searching card "2037215727383", POS operation mode SALE
- 14.08 17:49:57.467 DEBUG [GlobusCardPlugin] [SapCardClientPosProxy] Card info request via proxy for card "2037215727383" as FULL with force refresh false
- 14.08 17:49:57.468 DEBUG [GlobusCardPlugin] [SapCardClientPosProxy] No cached entry for CachedResponseMapKey{fullInfo=true, cardNumber='2037215727383'}, making a real call to the processing
- 14.08 17:49:57.468 DEBUG [GlobusCardPlugin] [SapCardClient] Sending card request...
- 14.08 17:49:57.481 DEBUG [GlobusCardPlugin] [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/">
- <SOAP-ENV:Header/>
- <S:Body>
- <ns2:ZNEW_POS_MT_Request xmlns:ns2="urn:sap-com:document:sap:soap:functions:pos">
- <Request>
- <OperationHeader>
- <OperationDate>2019-08-14</OperationDate>
- <OperationTime>17:49:57</OperationTime>
- <OperationTimeZone>MSK03</OperationTimeZone>
- <CashierId>1</CashierId>
- <NumberShiftId>25</NumberShiftId>
- <TypeTerminalId>1</TypeTerminalId>
- <TerminalId>1</TerminalId>
- <RetailStoreId>3388</RetailStoreId>
- </OperationHeader>
- <LoyaltyIdentifier>
- <Type>01</Type>
- <Id>2037215727383</Id>
- </LoyaltyIdentifier>
- </Request>
- </ns2:ZNEW_POS_MT_Request>
- </S:Body>
- </S:Envelope>
- 14.08 17:49:57.481 ERROR [GlobusCardPlugin] [SapCardClient] Received HTTP response code 0
- 14.08 17:49:57.481 ERROR [GlobusCardPlugin] [SapCardClientPosProxy] Failed to get response from SAP, caching result as a null response
- 14.08 17:49:57.481 ERROR [GlobusCardPlugin]
- ru.crystals.api.plugins.globus.client.NetworkException: com.sun.xml.internal.ws.client.ClientTransportException: HTTP transport error: java.net.UnknownHostException: vhhypdk5wd01.hec.ru.globusgrp.org
- at ru.crystals.api.plugins.globus.client.SapCardClient.getCardInfo(SapCardClient.java:47)
- at ru.crystals.api.plugins.globus.client.SapCardClientPosProxy.sendRequestAndCacheResult(SapCardClientPosProxy.java:65)
- at ru.crystals.api.plugins.globus.client.SapCardClientPosProxy.getCardInfo(SapCardClientPosProxy.java:51)
- at ru.crystals.api.plugins.globus.client.SapCardClientPosProxy.getCardInfo(SapCardClientPosProxy.java:33)
- at ru.crystals.api.plugins.globus.cards.GlobusCardPlugin.searchCard(GlobusCardPlugin.java:92)
- at ru.crystals.pos.cards.service.search.SetApiCardFinder.findCard(SetApiCardFinder.java:50)
- at ru.crystals.pos.cards.service.search.CardFinderChain.findCard(CardFinderChain.java:48)
- at ru.crystals.pos.cards.service.CardsServiceImpl.getCardTypeEntity(CardsServiceImpl.java:399)
- at ru.crystals.pos.cards.service.CardsServiceImpl.getCardType(CardsServiceImpl.java:507)
- at ru.crystals.pos.techprocess.TechProcessSearch.lambda$getCardType$0(TechProcessSearch.java:359)
- at ru.crystals.pos.techprocess.TechProcessSearch.tryGetCardTypeNotFromCardRange(TechProcessSearch.java:377)
- at ru.crystals.pos.techprocess.TechProcessSearch.getCardType(TechProcessSearch.java:359)
- at ru.crystals.pos.techprocess.TechProcessSearch.searchCard(TechProcessSearch.java:264)
- at ru.crystals.pos.techprocess.TechProcessImpl.searchCard(TechProcessImpl.java:4220)
- at ru.crystals.pos.visualization.check.CheckContainer.searchCardByBarcode(CheckContainer.java:2035)
- at ru.crystals.pos.visualization.check.CheckContainer.barcodeInAddPayment(CheckContainer.java:2306)
- at ru.crystals.pos.visualization.check.CheckContainer.processBarcodeOnAddPayment(CheckContainer.java:2167)
- at ru.crystals.pos.visualization.check.CheckContainer.barcode(CheckContainer.java:2101)
- at ru.crystals.pos.visualization.check.CheckContainer.barcode(CheckContainer.java:2075)
- at ru.crystals.pos.visualization.components.MainWindow.barcode(MainWindow.java:1127)
- at ru.crystals.pos.visualization.Factory.eventBarcode(Factory.java:796)
- at ru.crystals.pos.techprocess.TechProcessImpl.eventBarcodeScanner(TechProcessImpl.java:4315)
- at ru.crystals.pos.CashEventSource.process(CashEventSource.java:308)
- at ru.crystals.pos.CashEventSource.processEvent(CashEventSource.java:120)
- at ru.crystals.pos.CashEventSource.run(CashEventSource.java:101)
- at ru.crystals.pos.InternalCashPoolExecutorImpl.lambda$submit$2(InternalCashPoolExecutorImpl.java:115)
- at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
- at java.util.concurrent.FutureTask.run(FutureTask.java:266)
- at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
- at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
- at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
- at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
- at java.lang.Thread.run(Thread.java:745)
- Caused by: com.sun.xml.internal.ws.client.ClientTransportException: HTTP transport error: java.net.UnknownHostException: vhhypdk5wd01.hec.ru.globusgrp.org
- at com.sun.xml.internal.ws.transport.http.client.HttpClientTransport.getOutput(HttpClientTransport.java:117)
- at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:208)
- at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:130)
- at com.sun.xml.internal.ws.transport.DeferredTransportPipe.processRequest(DeferredTransportPipe.java:95)
- at com.sun.xml.internal.ws.api.pipe.Fiber.__doRun(Fiber.java:1121)
- at com.sun.xml.internal.ws.api.pipe.Fiber._doRun(Fiber.java:1035)
- at com.sun.xml.internal.ws.api.pipe.Fiber.doRun(Fiber.java:1004)
- at com.sun.xml.internal.ws.api.pipe.Fiber.runSync(Fiber.java:862)
- at com.sun.xml.internal.ws.client.Stub.process(Stub.java:448)
- at com.sun.xml.internal.ws.client.sei.SEIStub.doProcess(SEIStub.java:178)
- at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:93)
- at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:77)
- at com.sun.xml.internal.ws.client.sei.SEIStub.invoke(SEIStub.java:147)
- at com.sun.proxy.$Proxy212.getCardNKS(Unknown Source)
- at ru.crystals.api.plugins.globus.client.SapCardClient.getCardInfo(SapCardClient.java:40)
- ... 32 more
- Caused by: java.net.UnknownHostException: vhhypdk5wd01.hec.ru.globusgrp.org
- at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184)
- at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
- at java.net.Socket.connect(Socket.java:589)
- at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:668)
- at sun.net.NetworkClient.doConnect(NetworkClient.java:175)
- at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
- at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
- at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:264)
- at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:367)
- at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191)
- at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1181)
- at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1032)
- at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177)
- at sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(HttpURLConnection.java:1316)
- at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1291)
- at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:250)
- at com.sun.xml.internal.ws.transport.http.client.HttpClientTransport.getOutput(HttpClientTransport.java:104)
- ... 46 more
- 14.08 17:49:58.644 INFO [GlobusLoyaltyPlugin] 2 feedback to send, 2 picked, 2 allowed
- 14.08 17:49:58.645 INFO [GlobusLoyaltyPlugin] Packing feedback with id 4520
- 14.08 17:49:58.755 INFO [GlobusLoyaltyPlugin] Packing feedback with id 4519
- 14.08 17:49:58.768 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/">
- <SOAP-ENV:Header/>
- <S:Body>
- <ns2:ZNEW_POS_R_MT_Request xmlns:ns2="urn:sap-com:document:sap:soap:functions:pos">
- <Request>
- <item>
- <RequestHeader>
- <OperationDate>2019-08-14</OperationDate>
- <OperationTime>17:49:17</OperationTime>
- <OperationTimeZone>MSK03</OperationTimeZone>
- <CashierId>1</CashierId>
- <TerminalId>1</TerminalId>
- <RetailStoreId>3388</RetailStoreId>
- <NumberShiftId>25</NumberShiftId>
- <TypeTerminalId>1</TypeTerminalId>
- <ReceiptNumber>16</ReceiptNumber>
- </RequestHeader>
- <OperationData>
- <QrCode>t=20190814T174900&s=1000.00&fn=9999078902001730&i=227&fp=2284740598&n=1</QrCode>
- <OperationType>01</OperationType>
- <LoyaltyCardNumber>2037215727383</LoyaltyCardNumber>
- <OfflineProcessing>true</OfflineProcessing>
- </OperationData>
- <ReceiptHeader>
- <ReceiptSum>1000.00</ReceiptSum>
- <ReceiptSumWithDiscount>1000.00</ReceiptSumWithDiscount>
- </ReceiptHeader>
- <ReceiptItems>
- <item>
- <ItemNumber>1</ItemNumber>
- <ProductId>4690207112482</ProductId>
- <Quantity>1</Quantity>
- <QuantityUnit>шт</QuantityUnit>
- <Price>1000.00</Price>
- <ItemTotalSumWithDiscount>1000.00</ItemTotalSumWithDiscount>
- <DepartmentCode>520701</DepartmentCode>
- </item>
- </ReceiptItems>
- <PromoActionsApplied/>
- <Payments>
- <item>
- <PaymentType>01</PaymentType>
- <Amount>1000.00</Amount>
- </item>
- </Payments>
- </item>
- <item>
- <RequestHeader>
- <OperationDate>2019-08-14</OperationDate>
- <OperationTime>17:48:32</OperationTime>
- <OperationTimeZone>MSK03</OperationTimeZone>
- <CashierId>1</CashierId>
- <TerminalId>1</TerminalId>
- <RetailStoreId>3388</RetailStoreId>
- <NumberShiftId>25</NumberShiftId>
- <TypeTerminalId>1</TypeTerminalId>
- <ReceiptNumber>15</ReceiptNumber>
- </RequestHeader>
- <OperationData>
- <QrCode>t=20190814T174900&s=1000.00&fn=9999078902001730&i=226&fp=3335158334&n=1</QrCode>
- <OperationType>01</OperationType>
- <LoyaltyCardNumber>2037215727383</LoyaltyCardNumber>
- <OfflineProcessing>true</OfflineProcessing>
- </OperationData>
- <ReceiptHeader>
- <ReceiptSum>1000.00</ReceiptSum>
- <ReceiptSumWithDiscount>1000.00</ReceiptSumWithDiscount>
- </ReceiptHeader>
- <ReceiptItems>
- <item>
- <ItemNumber>1</ItemNumber>
- <ProductId>4690207112482</ProductId>
- <Quantity>1</Quantity>
- <QuantityUnit>шт</QuantityUnit>
- <Price>1000.00</Price>
- <ItemTotalSumWithDiscount>1000.00</ItemTotalSumWithDiscount>
- <DepartmentCode>520701</DepartmentCode>
- </item>
- </ReceiptItems>
- <PromoActionsApplied/>
- <Payments>
- <item>
- <PaymentType>01</PaymentType>
- <Amount>1000.00</Amount>
- </item>
- </Payments>
- </item>
- </Request>
- </ns2:ZNEW_POS_R_MT_Request>
- </S:Body>
- </S:Envelope>
- 14.08 17:49:58.768 ERROR [GlobusLoyaltyPlugin] [SapLoyaltyClient] Received HTTP response code 0
- 14.08 17:49:58.768 ERROR [GlobusLoyaltyPlugin] Failed to send feedback
- ru.crystals.api.plugins.globus.client.NetworkException: com.sun.xml.internal.ws.client.ClientTransportException: HTTP transport error: java.net.UnknownHostException: vhhypdk5wd01.hec.ru.globusgrp.org
- at ru.crystals.api.plugins.globus.client.loyalty.SapLoyaltyClient.sendReceipts(SapLoyaltyClient.java:44)
- at ru.crystals.api.plugins.globus.loyalty.FeedbackRoutine.onSendFeedback(FeedbackRoutine.java:91)
- at ru.crystals.api.plugins.globus.loyalty.FeedbackRoutine.sendStaleFeedback(FeedbackRoutine.java:61)
- at ru.crystals.api.plugins.globus.loyalty.GlobusLoyaltyPlugin.onSendFeedback(GlobusLoyaltyPlugin.java:206)
- at ru.crystals.pos.loyal.setapi.SetApiLoyFeedbackSender.sendFeedback(SetApiLoyFeedbackSender.java:88)
- at ru.crystals.pos.loyal.setapi.SetApiLoyFeedbackSender.sendFeedback(SetApiLoyFeedbackSender.java:76)
- at ru.crystals.pos.loyal.SetApiPluginLoyProvider.sendFeedback(SetApiPluginLoyProvider.java:412)
- at ru.crystals.loyal.providers.SendFeedbackTask.doSendFeedback(SendFeedbackTask.java:78)
- at ru.crystals.loyal.providers.SendFeedbackTask.run(SendFeedbackTask.java:54)
- at ru.crystals.pos.InternalCashPoolExecutorImpl.lambda$submit$2(InternalCashPoolExecutorImpl.java:115)
- at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
- at java.util.concurrent.FutureTask.run(FutureTask.java:266)
- at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
- at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
- at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
- at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
- at java.lang.Thread.run(Thread.java:745)
- Caused by: com.sun.xml.internal.ws.client.ClientTransportException: HTTP transport error: java.net.UnknownHostException: vhhypdk5wd01.hec.ru.globusgrp.org
- at com.sun.xml.internal.ws.transport.http.client.HttpClientTransport.getOutput(HttpClientTransport.java:117)
- at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:208)
- at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:130)
- at com.sun.xml.internal.ws.transport.DeferredTransportPipe.processRequest(DeferredTransportPipe.java:124)
- at com.sun.xml.internal.ws.api.pipe.Fiber.__doRun(Fiber.java:1121)
- at com.sun.xml.internal.ws.api.pipe.Fiber._doRun(Fiber.java:1035)
- at com.sun.xml.internal.ws.api.pipe.Fiber.doRun(Fiber.java:1004)
- at com.sun.xml.internal.ws.api.pipe.Fiber.runSync(Fiber.java:862)
- at com.sun.xml.internal.ws.client.Stub.process(Stub.java:448)
- at com.sun.xml.internal.ws.client.sei.SEIStub.doProcess(SEIStub.java:178)
- at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:93)
- at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:77)
- at com.sun.xml.internal.ws.client.sei.SEIStub.invoke(SEIStub.java:147)
- at com.sun.proxy.$Proxy214.posReceiptCSI(Unknown Source)
- at ru.crystals.api.plugins.globus.client.loyalty.SapLoyaltyClient.sendReceipts(SapLoyaltyClient.java:38)
- ... 16 more
- Caused by: java.net.UnknownHostException: vhhypdk5wd01.hec.ru.globusgrp.org
- at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184)
- at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
- at java.net.Socket.connect(Socket.java:589)
- at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:668)
- at sun.net.NetworkClient.doConnect(NetworkClient.java:175)
- at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
- at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
- at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:264)
- at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:367)
- at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191)
- at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1181)
- at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1032)
- at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177)
- at sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(HttpURLConnection.java:1316)
- at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1291)
- at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:250)
- at com.sun.xml.internal.ws.transport.http.client.HttpClientTransport.getOutput(HttpClientTransport.java:104)
- ... 30 more
- 14.08 17:49:58.770 ERROR [GlobusLoyaltyPlugin] Failed to send feedback: SAP has responded with error
- 14.08 17:50:00.087 DEBUG [GlobusCardPlugin] [SapCardClientPosProxy] Card info request via proxy for card "2037215727383" as SHORT with force refresh true
- 14.08 17:50:00.087 DEBUG [GlobusCardPlugin] [SapCardClient] Sending card request...
- 14.08 17:50:00.094 DEBUG [GlobusCardPlugin] [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/">
- <SOAP-ENV:Header/>
- <S:Body>
- <ns2:ZNEW_POS_MT_Request xmlns:ns2="urn:sap-com:document:sap:soap:functions:pos">
- <Request>
- <OperationHeader>
- <OperationDate>2019-08-14</OperationDate>
- <OperationTime>17:50:00</OperationTime>
- <OperationTimeZone>MSK03</OperationTimeZone>
- <CashierId>1</CashierId>
- <NumberShiftId>25</NumberShiftId>
- <TypeTerminalId>1</TypeTerminalId>
- <TerminalId>1</TerminalId>
- <RetailStoreId>3388</RetailStoreId>
- <RepeatCall>1</RepeatCall>
- </OperationHeader>
- <LoyaltyIdentifier>
- <Type>01</Type>
- <Id>2037215727383</Id>
- </LoyaltyIdentifier>
- </Request>
- </ns2:ZNEW_POS_MT_Request>
- </S:Body>
- </S:Envelope>
- 14.08 17:50:00.095 ERROR [GlobusCardPlugin] [SapCardClient] Received HTTP response code 0
- 14.08 17:50:00.095 ERROR [GlobusCardPlugin] [SapCardClientPosProxy] Failed to get response from SAP, caching result as a null response
- 14.08 17:50:00.095 ERROR [GlobusCardPlugin] Failed to refresh card info
- ru.crystals.api.plugins.globus.client.NetworkException: com.sun.xml.internal.ws.client.ClientTransportException: HTTP transport error: java.net.UnknownHostException: vhhypdk5wd01.hec.ru.globusgrp.org
- at ru.crystals.api.plugins.globus.client.SapCardClient.getCardInfo(SapCardClient.java:47)
- at ru.crystals.api.plugins.globus.client.SapCardClientPosProxy.sendRequestAndCacheResult(SapCardClientPosProxy.java:65)
- at ru.crystals.api.plugins.globus.client.SapCardClientPosProxy.getCardInfo(SapCardClientPosProxy.java:46)
- at ru.crystals.api.plugins.globus.client.SapCardClientPosProxy.getCardInfo(SapCardClientPosProxy.java:33)
- at ru.crystals.api.plugins.globus.client.SapCardClientPosProxy.getShortCardInfo(SapCardClientPosProxy.java:109)
- at ru.crystals.api.plugins.globus.loyalty.GlobusLoyaltyPlugin.doDiscount(GlobusLoyaltyPlugin.java:87)
- at ru.crystals.pos.loyal.SetApiPluginLoyProvider.process(SetApiPluginLoyProvider.java:171)
- at ru.crystals.loyal.providers.LoyProvidersRegistryImpl.process(LoyProvidersRegistryImpl.java:124)
- at ru.crystals.pos.loyal.cash.service.LoyalServiceImpl.calcDiscounts(LoyalServiceImpl.java:780)
- at ru.crystals.pos.loyal.cash.service.LoyalServiceImpl.doLoyalty(LoyalServiceImpl.java:709)
- at ru.crystals.pos.loyal.cash.service.LoyalServiceImpl.doDiscount(LoyalServiceImpl.java:820)
- at ru.crystals.pos.loyal.bridge.service.LoyalBridgeServiceImpl.doDiscount(LoyalBridgeServiceImpl.java:162)
- at ru.crystals.pos.techprocess.TechProcessImpl.applyDiscountsAndGetResult(TechProcessImpl.java:3784)
- at ru.crystals.pos.techprocess.TechProcessImpl.subtotalScenario(TechProcessImpl.java:3354)
- at ru.crystals.pos.visualization.check.CheckContainer.startSubtotalScenario(CheckContainer.java:1541)
- at ru.crystals.pos.visualization.check.CheckContainer.subtotalProcessPurchaseState(CheckContainer.java:1524)
- at ru.crystals.pos.visualization.check.CheckContainer.subtotal(CheckContainer.java:1421)
- at ru.crystals.pos.visualization.check.CheckContainer.eventAddCardAfterSubtotal(CheckContainer.java:1592)
- at ru.crystals.pos.visualization.Factory.eventAddCardAfterSubtotal(Factory.java:1596)
- at ru.crystals.pos.techprocess.TechProcessEventsImpl.sendEventAddCardAfterSubtotal(TechProcessEventsImpl.java:916)
- at ru.crystals.pos.techprocess.TechProcessSearch.addCard(TechProcessSearch.java:136)
- at ru.crystals.pos.techprocess.TechProcessSearch.searchCard(TechProcessSearch.java:305)
- at ru.crystals.pos.techprocess.TechProcessImpl.searchCard(TechProcessImpl.java:4220)
- at ru.crystals.pos.visualization.check.CheckContainer.searchCardByBarcode(CheckContainer.java:2035)
- at ru.crystals.pos.visualization.check.CheckContainer.barcodeInAddPayment(CheckContainer.java:2306)
- at ru.crystals.pos.visualization.check.CheckContainer.processBarcodeOnAddPayment(CheckContainer.java:2167)
- at ru.crystals.pos.visualization.check.CheckContainer.barcode(CheckContainer.java:2101)
- at ru.crystals.pos.visualization.check.CheckContainer.barcode(CheckContainer.java:2075)
- at ru.crystals.pos.visualization.components.MainWindow.barcode(MainWindow.java:1127)
- at ru.crystals.pos.visualization.Factory.eventBarcode(Factory.java:796)
- at ru.crystals.pos.techprocess.TechProcessImpl.eventBarcodeScanner(TechProcessImpl.java:4315)
- at ru.crystals.pos.CashEventSource.process(CashEventSource.java:308)
- at ru.crystals.pos.CashEventSource.processEvent(CashEventSource.java:120)
- at ru.crystals.pos.CashEventSource.run(CashEventSource.java:101)
- at ru.crystals.pos.InternalCashPoolExecutorImpl.lambda$submit$2(InternalCashPoolExecutorImpl.java:115)
- at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
- at java.util.concurrent.FutureTask.run(FutureTask.java:266)
- at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
- at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
- at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
- at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
- at java.lang.Thread.run(Thread.java:745)
- Caused by: com.sun.xml.internal.ws.client.ClientTransportException: HTTP transport error: java.net.UnknownHostException: vhhypdk5wd01.hec.ru.globusgrp.org
- at com.sun.xml.internal.ws.transport.http.client.HttpClientTransport.getOutput(HttpClientTransport.java:117)
- at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:208)
- at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:130)
- at com.sun.xml.internal.ws.transport.DeferredTransportPipe.processRequest(DeferredTransportPipe.java:124)
- at com.sun.xml.internal.ws.api.pipe.Fiber.__doRun(Fiber.java:1121)
- at com.sun.xml.internal.ws.api.pipe.Fiber._doRun(Fiber.java:1035)
- at com.sun.xml.internal.ws.api.pipe.Fiber.doRun(Fiber.java:1004)
- at com.sun.xml.internal.ws.api.pipe.Fiber.runSync(Fiber.java:862)
- at com.sun.xml.internal.ws.client.Stub.process(Stub.java:448)
- at com.sun.xml.internal.ws.client.sei.SEIStub.doProcess(SEIStub.java:178)
- at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:93)
- at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:77)
- at com.sun.xml.internal.ws.client.sei.SEIStub.invoke(SEIStub.java:147)
- at com.sun.proxy.$Proxy212.getCardNKS(Unknown Source)
- at ru.crystals.api.plugins.globus.client.SapCardClient.getCardInfo(SapCardClient.java:40)
- ... 41 more
- Caused by: java.net.UnknownHostException: vhhypdk5wd01.hec.ru.globusgrp.org
- at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184)
- at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
- at java.net.Socket.connect(Socket.java:589)
- at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:668)
- at sun.net.NetworkClient.doConnect(NetworkClient.java:175)
- at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
- at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
- at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:264)
- at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:367)
- at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191)
- at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1181)
- at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1032)
- at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177)
- at sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(HttpURLConnection.java:1316)
- at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1291)
- at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:250)
- at com.sun.xml.internal.ws.transport.http.client.HttpClientTransport.getOutput(HttpClientTransport.java:104)
- ... 55 more
- 14.08 17:50:00.097 DEBUG [GlobusCardPlugin] [SapCardClientPosProxy] Card info request via proxy for card "2037215727383" as SHORT with force refresh true
- 14.08 17:50:00.097 DEBUG [GlobusCardPlugin] [SapCardClient] Sending card request...
- 14.08 17:50:00.101 DEBUG [GlobusCardPlugin] [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/">
- <SOAP-ENV:Header/>
- <S:Body>
- <ns2:ZNEW_POS_MT_Request xmlns:ns2="urn:sap-com:document:sap:soap:functions:pos">
- <Request>
- <OperationHeader>
- <OperationDate>2019-08-14</OperationDate>
- <OperationTime>17:50:00</OperationTime>
- <OperationTimeZone>MSK03</OperationTimeZone>
- <CashierId>1</CashierId>
- <NumberShiftId>25</NumberShiftId>
- <TypeTerminalId>1</TypeTerminalId>
- <TerminalId>1</TerminalId>
- <RetailStoreId>3388</RetailStoreId>
- <RepeatCall>1</RepeatCall>
- </OperationHeader>
- <LoyaltyIdentifier>
- <Type>01</Type>
- <Id>2037215727383</Id>
- </LoyaltyIdentifier>
- </Request>
- </ns2:ZNEW_POS_MT_Request>
- </S:Body>
- </S:Envelope>
- 14.08 17:50:00.102 ERROR [GlobusCardPlugin] [SapCardClient] Received HTTP response code 0
- 14.08 17:50:00.102 ERROR [GlobusCardPlugin] [SapCardClientPosProxy] Failed to get response from SAP, caching result as a null response
- 14.08 17:50:00.102 ERROR [GlobusCardPlugin] Failed to refresh card info
- ru.crystals.api.plugins.globus.client.NetworkException: com.sun.xml.internal.ws.client.ClientTransportException: HTTP transport error: java.net.UnknownHostException: vhhypdk5wd01.hec.ru.globusgrp.org
- at ru.crystals.api.plugins.globus.client.SapCardClient.getCardInfo(SapCardClient.java:47)
- at ru.crystals.api.plugins.globus.client.SapCardClientPosProxy.sendRequestAndCacheResult(SapCardClientPosProxy.java:65)
- at ru.crystals.api.plugins.globus.client.SapCardClientPosProxy.getCardInfo(SapCardClientPosProxy.java:46)
- at ru.crystals.api.plugins.globus.client.SapCardClientPosProxy.getCardInfo(SapCardClientPosProxy.java:33)
- at ru.crystals.api.plugins.globus.client.SapCardClientPosProxy.getShortCardInfo(SapCardClientPosProxy.java:109)
- at ru.crystals.api.plugins.globus.loyalty.PromoActionsHolder.getAvailableActions(PromoActionsHolder.java:54)
- at ru.crystals.api.plugins.globus.loyalty.GlobusLoyaltyPlugin.resolve(GlobusLoyaltyPlugin.java:109)
- at ru.crystals.pos.loyal.SetApiPluginLoyProvider.lambda$onDiscountCalculationStarted$0(SetApiPluginLoyProvider.java:218)
- at ru.crystalservice.setv6.discounts.plugins.ExternalSystemResolutionCondition.isConditionExecuted(ExternalSystemResolutionCondition.java:28)
- at ru.crystals.loyal.calculation.DiscountCalculationUtils.executeConditionPlugin(DiscountCalculationUtils.java:1788)
- at ru.crystals.loyal.calculation.DiscountCalculationUtils.lambda$areConditionsMet$10(DiscountCalculationUtils.java:1769)
- at java.util.stream.MatchOps$1MatchSink.accept(MatchOps.java:90)
- at java.util.ArrayList$ArrayListSpliterator.tryAdvance(ArrayList.java:1351)
- at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
- at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
- at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
- at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
- at java.util.stream.MatchOps$MatchOp.evaluateSequential(MatchOps.java:230)
- at java.util.stream.MatchOps$MatchOp.evaluateSequential(MatchOps.java:196)
- at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
- at java.util.stream.ReferencePipeline.allMatch(ReferencePipeline.java:454)
- at ru.crystals.loyal.calculation.DiscountCalculationUtils.areConditionsMet(DiscountCalculationUtils.java:1769)
- at ru.crystals.loyal.calculation.AdvertisingActionUtils.conditionsMet(AdvertisingActionUtils.java:290)
- at ru.crystals.loyal.calculation.AdvertisingActionUtils.getBonusDiscountActions(AdvertisingActionUtils.java:336)
- at ru.crystals.loyal.calculation.AdvertisingActionUtils.getChargedAlreadyBonusDiscountActions(AdvertisingActionUtils.java:475)
- at ru.crystals.loyal.calculation.CycleProcessing.calculate(CycleProcessing.java:254)
- at ru.crystals.loyal.calculation.DoProcessing.doDiscount(DoProcessing.java:57)
- at ru.crystals.loyal.providers.ClassicSetLoyProvider.process(ClassicSetLoyProvider.java:106)
- at ru.crystals.loyal.providers.LoyProvidersRegistryImpl.process(LoyProvidersRegistryImpl.java:124)
- at ru.crystals.pos.loyal.cash.service.LoyalServiceImpl.calcDiscounts(LoyalServiceImpl.java:780)
- at ru.crystals.pos.loyal.cash.service.LoyalServiceImpl.doLoyalty(LoyalServiceImpl.java:709)
- at ru.crystals.pos.loyal.cash.service.LoyalServiceImpl.doDiscount(LoyalServiceImpl.java:820)
- at ru.crystals.pos.loyal.bridge.service.LoyalBridgeServiceImpl.doDiscount(LoyalBridgeServiceImpl.java:162)
- at ru.crystals.pos.techprocess.TechProcessImpl.applyDiscountsAndGetResult(TechProcessImpl.java:3784)
- at ru.crystals.pos.techprocess.TechProcessImpl.subtotalScenario(TechProcessImpl.java:3354)
- at ru.crystals.pos.visualization.check.CheckContainer.startSubtotalScenario(CheckContainer.java:1541)
- at ru.crystals.pos.visualization.check.CheckContainer.subtotalProcessPurchaseState(CheckContainer.java:1524)
- at ru.crystals.pos.visualization.check.CheckContainer.subtotal(CheckContainer.java:1421)
- at ru.crystals.pos.visualization.check.CheckContainer.eventAddCardAfterSubtotal(CheckContainer.java:1592)
- at ru.crystals.pos.visualization.Factory.eventAddCardAfterSubtotal(Factory.java:1596)
- at ru.crystals.pos.techprocess.TechProcessEventsImpl.sendEventAddCardAfterSubtotal(TechProcessEventsImpl.java:916)
- at ru.crystals.pos.techprocess.TechProcessSearch.addCard(TechProcessSearch.java:136)
- at ru.crystals.pos.techprocess.TechProcessSearch.searchCard(TechProcessSearch.java:305)
- at ru.crystals.pos.techprocess.TechProcessImpl.searchCard(TechProcessImpl.java:4220)
- at ru.crystals.pos.visualization.check.CheckContainer.searchCardByBarcode(CheckContainer.java:2035)
- at ru.crystals.pos.visualization.check.CheckContainer.barcodeInAddPayment(CheckContainer.java:2306)
- at ru.crystals.pos.visualization.check.CheckContainer.processBarcodeOnAddPayment(CheckContainer.java:2167)
- at ru.crystals.pos.visualization.check.CheckContainer.barcode(CheckContainer.java:2101)
- at ru.crystals.pos.visualization.check.CheckContainer.barcode(CheckContainer.java:2075)
- at ru.crystals.pos.visualization.components.MainWindow.barcode(MainWindow.java:1127)
- at ru.crystals.pos.visualization.Factory.eventBarcode(Factory.java:796)
- at ru.crystals.pos.techprocess.TechProcessImpl.eventBarcodeScanner(TechProcessImpl.java:4315)
- at ru.crystals.pos.CashEventSource.process(CashEventSource.java:308)
- at ru.crystals.pos.CashEventSource.processEvent(CashEventSource.java:120)
- at ru.crystals.pos.CashEventSource.run(CashEventSource.java:101)
- at ru.crystals.pos.InternalCashPoolExecutorImpl.lambda$submit$2(InternalCashPoolExecutorImpl.java:115)
- at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
- at java.util.concurrent.FutureTask.run(FutureTask.java:266)
- at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
- at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
- at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
- at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
- at java.lang.Thread.run(Thread.java:745)
- Caused by: com.sun.xml.internal.ws.client.ClientTransportException: HTTP transport error: java.net.UnknownHostException: vhhypdk5wd01.hec.ru.globusgrp.org
- at com.sun.xml.internal.ws.transport.http.client.HttpClientTransport.getOutput(HttpClientTransport.java:117)
- at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:208)
- at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:130)
- at com.sun.xml.internal.ws.transport.DeferredTransportPipe.processRequest(DeferredTransportPipe.java:95)
- at com.sun.xml.internal.ws.api.pipe.Fiber.__doRun(Fiber.java:1121)
- at com.sun.xml.internal.ws.api.pipe.Fiber._doRun(Fiber.java:1035)
- at com.sun.xml.internal.ws.api.pipe.Fiber.doRun(Fiber.java:1004)
- at com.sun.xml.internal.ws.api.pipe.Fiber.runSync(Fiber.java:862)
- at com.sun.xml.internal.ws.client.Stub.process(Stub.java:448)
- at com.sun.xml.internal.ws.client.sei.SEIStub.doProcess(SEIStub.java:178)
- at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:93)
- at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:77)
- at com.sun.xml.internal.ws.client.sei.SEIStub.invoke(SEIStub.java:147)
- at com.sun.proxy.$Proxy212.getCardNKS(Unknown Source)
- at ru.crystals.api.plugins.globus.client.SapCardClient.getCardInfo(SapCardClient.java:40)
- ... 62 more
- Caused by: java.net.UnknownHostException: vhhypdk5wd01.hec.ru.globusgrp.org
- at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184)
- at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
- at java.net.Socket.connect(Socket.java:589)
- at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:668)
- at sun.net.NetworkClient.doConnect(NetworkClient.java:175)
- at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
- at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
- at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:264)
- at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:367)
- at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191)
- at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1181)
- at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1032)
- at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177)
- at sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(HttpURLConnection.java:1316)
- at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1291)
- at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:250)
- at com.sun.xml.internal.ws.transport.http.client.HttpClientTransport.getOutput(HttpClientTransport.java:104)
- ... 76 more
- 14.08 17:50:00.104 INFO [GlobusLoyaltyPlugin] Active card is not found in SAP
- 14.08 17:50:05.047 INFO [GlobusCardPlugin] Fiscalization called, clearing caches...
- 14.08 17:50:05.047 INFO [GlobusCardPlugin] [SapCardClientPosProxy] Clearing cache data for cards
- CachedResponseMapKey{fullInfo=true, cardNumber='null'}
- CachedResponseMapKey{fullInfo=false, cardNumber='2037215727383'}
- CachedResponseMapKey{fullInfo=true, cardNumber='2037215727383'}
- 14.08 17:50:05.047 INFO [GlobusCardPlugin] Done clearing caches
- 14.08 17:50:05.063 DEBUG [GlobusLoyaltyPlugin] eventBeforeReceiptFiscalized called for receipt 17
- 14.08 17:50:05.075 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/">
- <SOAP-ENV:Header/>
- <S:Body>
- <ns2:ZNEW_POS_R_MT_Request xmlns:ns2="urn:sap-com:document:sap:soap:functions:pos">
- <Request>
- <item>
- <RequestHeader>
- <OperationDate>2019-08-14</OperationDate>
- <OperationTime>17:49:46</OperationTime>
- <OperationTimeZone>MSK03</OperationTimeZone>
- <CashierId>1</CashierId>
- <TerminalId>1</TerminalId>
- <RetailStoreId>3388</RetailStoreId>
- <NumberShiftId>25</NumberShiftId>
- <TypeTerminalId>1</TypeTerminalId>
- <ReceiptNumber>17</ReceiptNumber>
- </RequestHeader>
- <OperationData>
- <QrCode>t=20190814T175000&s=1000.00&fn=9999078902001730&i=228&fp=3789831918&n=1</QrCode>
- <OperationType>01</OperationType>
- <LoyaltyCardNumber>2037215727383</LoyaltyCardNumber>
- <OfflineProcessing>false</OfflineProcessing>
- </OperationData>
- <ReceiptHeader>
- <ReceiptSum>1000.00</ReceiptSum>
- <ReceiptSumWithDiscount>1000.00</ReceiptSumWithDiscount>
- </ReceiptHeader>
- <ReceiptItems>
- <item>
- <ItemNumber>1</ItemNumber>
- <ProductId>4690207112482</ProductId>
- <Quantity>1</Quantity>
- <QuantityUnit>шт</QuantityUnit>
- <Price>1000.00</Price>
- <ItemTotalSumWithDiscount>1000.00</ItemTotalSumWithDiscount>
- <DepartmentCode>520701</DepartmentCode>
- </item>
- </ReceiptItems>
- <PromoActionsApplied/>
- <Payments>
- <item>
- <PaymentType>01</PaymentType>
- <Amount>1000.00</Amount>
- </item>
- </Payments>
- </item>
- </Request>
- </ns2:ZNEW_POS_R_MT_Request>
- </S:Body>
- </S:Envelope>
- 14.08 17:50:05.076 ERROR [GlobusLoyaltyPlugin] [SapLoyaltyClient] Received HTTP response code 0
- 14.08 17:50:05.076 ERROR [GlobusLoyaltyPlugin] Failed to send receipt 17 to SAP. Scheduling it to postponed queue
- ru.crystals.api.plugins.globus.client.NetworkException: com.sun.xml.internal.ws.client.ClientTransportException: HTTP transport error: java.net.UnknownHostException: vhhypdk5wd01.hec.ru.globusgrp.org
- at ru.crystals.api.plugins.globus.client.loyalty.SapLoyaltyClient.sendReceipts(SapLoyaltyClient.java:44)
- at ru.crystals.api.plugins.globus.loyalty.GlobusLoyaltyPlugin.onReceiptFiscalized(GlobusLoyaltyPlugin.java:152)
- at ru.crystals.pos.loyal.SetApiPluginLoyProvider.purchaseFiscalized(SetApiPluginLoyProvider.java:399)
- at ru.crystals.loyal.providers.LoyProvidersRegistryImpl.purchaseFiscalized(LoyProvidersRegistryImpl.java:362)
- at ru.crystals.pos.loyal.cash.service.LoyalServiceImpl.purchaseFiscalized(LoyalServiceImpl.java:1539)
- at ru.crystals.pos.loyal.bridge.service.LoyalBridgeServiceImpl.purchaseFiscalized(LoyalBridgeServiceImpl.java:189)
- at ru.crystals.pos.techprocess.ExternalProcessingsImpl.purchaseFiscalized(ExternalProcessingsImpl.java:212)
- at ru.crystals.pos.techprocess.TechProcessShift.printCheck(TechProcessShift.java:1795)
- at ru.crystals.pos.techprocess.TechProcessShift.fiscalizeCheck(TechProcessShift.java:1542)
- at ru.crystals.pos.techprocess.TechProcessShiftProxy.fiscalizeCheck(TechProcessShiftProxy.java:701)
- at ru.crystals.pos.techprocess.TechProcessImpl.fiscalizeCheck(TechProcessImpl.java:944)
- at ru.crystals.pos.visualization.check.CheckContainer.paymentComplete(CheckContainer.java:2700)
- at ru.crystals.pos.visualization.components.MainWindow.paymentComplete(MainWindow.java:845)
- at ru.crystals.pos.visualization.Factory.eventPaymentComplete(Factory.java:869)
- at ru.crystals.pos.techprocess.TechProcessImpl.paymentComplete(TechProcessImpl.java:4482)
- at ru.crystals.pos.check.service.CheckServiceImpl.addPayment(CheckServiceImpl.java:3977)
- at ru.crystals.pos.techprocess.TechProcessImpl.addPayment(TechProcessImpl.java:3932)
- at ru.crystals.pos.visualization.payments.PaymentContainer.doProcessPayment(PaymentContainer.java:387)
- at ru.crystals.pos.visualization.payments.PaymentContainer.processPayment(PaymentContainer.java:347)
- at ru.crystals.pos.visualization.payments.cash.CashPaymentContainer.enter(CashPaymentContainer.java:94)
- at ru.crystals.pos.visualization.components.CompositeContainer.enter(CompositeContainer.java:96)
- at ru.crystals.pos.visualization.check.CheckContainer.enter(CheckContainer.java:1892)
- at ru.crystals.pos.visualization.components.MainWindow.enter(MainWindow.java:1086)
- at ru.crystals.pos.visualization.Factory.eventControlKey(Factory.java:526)
- at ru.crystals.pos.techprocess.TechProcessImpl.eventControlKey(TechProcessImpl.java:4360)
- at ru.crystals.pos.CashEventSource.sentOldKey(CashEventSource.java:167)
- at ru.crystals.pos.CashEventSource.process(CashEventSource.java:138)
- at ru.crystals.pos.CashEventSource.processEvent(CashEventSource.java:118)
- at ru.crystals.pos.CashEventSource.run(CashEventSource.java:101)
- at ru.crystals.pos.InternalCashPoolExecutorImpl.lambda$submit$2(InternalCashPoolExecutorImpl.java:115)
- at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
- at java.util.concurrent.FutureTask.run(FutureTask.java:266)
- at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
- at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
- at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
- at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
- at java.lang.Thread.run(Thread.java:745)
- Caused by: com.sun.xml.internal.ws.client.ClientTransportException: HTTP transport error: java.net.UnknownHostException: vhhypdk5wd01.hec.ru.globusgrp.org
- at com.sun.xml.internal.ws.transport.http.client.HttpClientTransport.getOutput(HttpClientTransport.java:117)
- at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:208)
- at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:130)
- at com.sun.xml.internal.ws.transport.DeferredTransportPipe.processRequest(DeferredTransportPipe.java:95)
- at com.sun.xml.internal.ws.api.pipe.Fiber.__doRun(Fiber.java:1121)
- at com.sun.xml.internal.ws.api.pipe.Fiber._doRun(Fiber.java:1035)
- at com.sun.xml.internal.ws.api.pipe.Fiber.doRun(Fiber.java:1004)
- at com.sun.xml.internal.ws.api.pipe.Fiber.runSync(Fiber.java:862)
- at com.sun.xml.internal.ws.client.Stub.process(Stub.java:448)
- at com.sun.xml.internal.ws.client.sei.SEIStub.doProcess(SEIStub.java:178)
- at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:93)
- at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:77)
- at com.sun.xml.internal.ws.client.sei.SEIStub.invoke(SEIStub.java:147)
- at com.sun.proxy.$Proxy214.posReceiptCSI(Unknown Source)
- at ru.crystals.api.plugins.globus.client.loyalty.SapLoyaltyClient.sendReceipts(SapLoyaltyClient.java:38)
- ... 36 more
- Caused by: java.net.UnknownHostException: vhhypdk5wd01.hec.ru.globusgrp.org
- at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184)
- at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
- at java.net.Socket.connect(Socket.java:589)
- at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:668)
- at sun.net.NetworkClient.doConnect(NetworkClient.java:175)
- at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
- at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
- at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:264)
- at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:367)
- at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191)
- at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1181)
- at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1032)
- at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177)
- at sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(HttpURLConnection.java:1316)
- at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1291)
- at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:250)
- at com.sun.xml.internal.ws.transport.http.client.HttpClientTransport.getOutput(HttpClientTransport.java:104)
- ... 50 more
- 14.08 17:50:07.185 DEBUG [GlobusCardPlugin] Searching card "2037215727383", POS operation mode SALE
- 14.08 17:50:07.185 DEBUG [GlobusCardPlugin] [SapCardClientPosProxy] Card info request via proxy for card "2037215727383" as FULL with force refresh false
- 14.08 17:50:07.186 DEBUG [GlobusCardPlugin] [SapCardClientPosProxy] No cached entry for CachedResponseMapKey{fullInfo=true, cardNumber='2037215727383'}, making a real call to the processing
- 14.08 17:50:07.186 DEBUG [GlobusCardPlugin] [SapCardClient] Sending card request...
- 14.08 17:50:07.211 DEBUG [GlobusCardPlugin] [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/">
- <SOAP-ENV:Header/>
- <S:Body>
- <ns2:ZNEW_POS_MT_Request xmlns:ns2="urn:sap-com:document:sap:soap:functions:pos">
- <Request>
- <OperationHeader>
- <OperationDate>2019-08-14</OperationDate>
- <OperationTime>17:50:07</OperationTime>
- <OperationTimeZone>MSK03</OperationTimeZone>
- <CashierId>1</CashierId>
- <NumberShiftId>25</NumberShiftId>
- <TypeTerminalId>1</TypeTerminalId>
- <TerminalId>1</TerminalId>
- <RetailStoreId>3388</RetailStoreId>
- </OperationHeader>
- <LoyaltyIdentifier>
- <Type>01</Type>
- <Id>2037215727383</Id>
- </LoyaltyIdentifier>
- </Request>
- </ns2:ZNEW_POS_MT_Request>
- </S:Body>
- </S:Envelope>
- 14.08 17:50:16.059 ERROR [GlobusCardPlugin] [SapCardClient] Received HTTP response code 0
- 14.08 17:50:16.060 ERROR [GlobusCardPlugin] [SapCardClientPosProxy] Failed to get response from SAP, caching result as a null response
- 14.08 17:50:16.060 ERROR [GlobusCardPlugin]
- ru.crystals.api.plugins.globus.client.NetworkException: com.sun.xml.internal.ws.client.ClientTransportException: HTTP transport error: java.net.UnknownHostException: vhhypdk5wd01.hec.ru.globusgrp.org
- at ru.crystals.api.plugins.globus.client.SapCardClient.getCardInfo(SapCardClient.java:47)
- at ru.crystals.api.plugins.globus.client.SapCardClientPosProxy.sendRequestAndCacheResult(SapCardClientPosProxy.java:65)
- at ru.crystals.api.plugins.globus.client.SapCardClientPosProxy.getCardInfo(SapCardClientPosProxy.java:51)
- at ru.crystals.api.plugins.globus.client.SapCardClientPosProxy.getCardInfo(SapCardClientPosProxy.java:33)
- at ru.crystals.api.plugins.globus.cards.GlobusCardPlugin.searchCard(GlobusCardPlugin.java:92)
- at ru.crystals.pos.cards.service.search.SetApiCardFinder.findCard(SetApiCardFinder.java:50)
- at ru.crystals.pos.cards.service.search.CardFinderChain.findCard(CardFinderChain.java:48)
- at ru.crystals.pos.cards.service.CardsServiceImpl.getCardTypeEntity(CardsServiceImpl.java:399)
- at ru.crystals.pos.cards.service.CardsServiceImpl.getCardType(CardsServiceImpl.java:507)
- at ru.crystals.pos.techprocess.TechProcessSearch.lambda$getCardType$0(TechProcessSearch.java:359)
- at ru.crystals.pos.techprocess.TechProcessSearch.tryGetCardTypeNotFromCardRange(TechProcessSearch.java:377)
- at ru.crystals.pos.techprocess.TechProcessSearch.getCardType(TechProcessSearch.java:359)
- at ru.crystals.pos.techprocess.TechProcessSearch.searchCard(TechProcessSearch.java:264)
- at ru.crystals.pos.techprocess.TechProcessImpl.searchCard(TechProcessImpl.java:4220)
- at ru.crystals.pos.visualization.search.SearchProductContainer.searchCouponAndDiscountCard(SearchProductContainer.java:251)
- at ru.crystals.pos.visualization.search.SearchProductContainer.search(SearchProductContainer.java:453)
- at ru.crystals.pos.visualization.check.CheckContainer.addPositionByBarcode(CheckContainer.java:2199)
- at ru.crystals.pos.visualization.check.CheckContainer.barcode(CheckContainer.java:2114)
- at ru.crystals.pos.visualization.check.CheckContainer.barcode(CheckContainer.java:2075)
- at ru.crystals.pos.visualization.components.MainWindow.barcode(MainWindow.java:1127)
- at ru.crystals.pos.visualization.Factory.eventBarcode(Factory.java:796)
- at ru.crystals.pos.techprocess.TechProcessImpl.eventBarcodeScanner(TechProcessImpl.java:4315)
- at ru.crystals.pos.CashEventSource.process(CashEventSource.java:308)
- at ru.crystals.pos.CashEventSource.processEvent(CashEventSource.java:120)
- at ru.crystals.pos.CashEventSource.run(CashEventSource.java:101)
- at ru.crystals.pos.InternalCashPoolExecutorImpl.lambda$submit$2(InternalCashPoolExecutorImpl.java:115)
- at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
- at java.util.concurrent.FutureTask.run(FutureTask.java:266)
- at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
- at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
- at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
- at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
- at java.lang.Thread.run(Thread.java:745)
- Caused by: com.sun.xml.internal.ws.client.ClientTransportException: HTTP transport error: java.net.UnknownHostException: vhhypdk5wd01.hec.ru.globusgrp.org
- at com.sun.xml.internal.ws.transport.http.client.HttpClientTransport.getOutput(HttpClientTransport.java:117)
- at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:208)
- at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:130)
- at com.sun.xml.internal.ws.transport.DeferredTransportPipe.processRequest(DeferredTransportPipe.java:95)
- at com.sun.xml.internal.ws.api.pipe.Fiber.__doRun(Fiber.java:1121)
- at com.sun.xml.internal.ws.api.pipe.Fiber._doRun(Fiber.java:1035)
- at com.sun.xml.internal.ws.api.pipe.Fiber.doRun(Fiber.java:1004)
- at com.sun.xml.internal.ws.api.pipe.Fiber.runSync(Fiber.java:862)
- at com.sun.xml.internal.ws.client.Stub.process(Stub.java:448)
- at com.sun.xml.internal.ws.client.sei.SEIStub.doProcess(SEIStub.java:178)
- at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:93)
- at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:77)
- at com.sun.xml.internal.ws.client.sei.SEIStub.invoke(SEIStub.java:147)
- at com.sun.proxy.$Proxy212.getCardNKS(Unknown Source)
- at ru.crystals.api.plugins.globus.client.SapCardClient.getCardInfo(SapCardClient.java:40)
- ... 32 more
- Caused by: java.net.UnknownHostException: vhhypdk5wd01.hec.ru.globusgrp.org
- at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184)
- at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
- at java.net.Socket.connect(Socket.java:589)
- at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:668)
- at sun.net.NetworkClient.doConnect(NetworkClient.java:175)
- at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
- at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
- at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:264)
- at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:367)
- at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191)
- at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1181)
- at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1032)
- at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177)
- at sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(HttpURLConnection.java:1316)
- at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1291)
- at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:250)
- at com.sun.xml.internal.ws.transport.http.client.HttpClientTransport.getOutput(HttpClientTransport.java:104)
- ... 46 more
- 14.08 17:50:21.439 DEBUG [GlobusCardPlugin] [SapCardClientPosProxy] Card info request via proxy for card "2037215727383" as SHORT with force refresh true
- 14.08 17:50:21.439 DEBUG [GlobusCardPlugin] [SapCardClient] Sending card request...
- 14.08 17:50:21.445 DEBUG [GlobusCardPlugin] [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/">
- <SOAP-ENV:Header/>
- <S:Body>
- <ns2:ZNEW_POS_MT_Request xmlns:ns2="urn:sap-com:document:sap:soap:functions:pos">
- <Request>
- <OperationHeader>
- <OperationDate>2019-08-14</OperationDate>
- <OperationTime>17:50:21</OperationTime>
- <OperationTimeZone>MSK03</OperationTimeZone>
- <CashierId>1</CashierId>
- <NumberShiftId>25</NumberShiftId>
- <TypeTerminalId>1</TypeTerminalId>
- <TerminalId>1</TerminalId>
- <RetailStoreId>3388</RetailStoreId>
- <RepeatCall>1</RepeatCall>
- </OperationHeader>
- <LoyaltyIdentifier>
- <Type>01</Type>
- <Id>2037215727383</Id>
- </LoyaltyIdentifier>
- </Request>
- </ns2:ZNEW_POS_MT_Request>
- </S:Body>
- </S:Envelope>
- 14.08 17:50:21.447 ERROR [GlobusCardPlugin] [SapCardClient] Received HTTP response code 0
- 14.08 17:50:21.447 ERROR [GlobusCardPlugin] [SapCardClientPosProxy] Failed to get response from SAP, caching result as a null response
- 14.08 17:50:21.447 ERROR [GlobusCardPlugin] Failed to refresh card info
- ru.crystals.api.plugins.globus.client.NetworkException: com.sun.xml.internal.ws.client.ClientTransportException: HTTP transport error: java.net.UnknownHostException: vhhypdk5wd01.hec.ru.globusgrp.org
- at ru.crystals.api.plugins.globus.client.SapCardClient.getCardInfo(SapCardClient.java:47)
- at ru.crystals.api.plugins.globus.client.SapCardClientPosProxy.sendRequestAndCacheResult(SapCardClientPosProxy.java:65)
- at ru.crystals.api.plugins.globus.client.SapCardClientPosProxy.getCardInfo(SapCardClientPosProxy.java:46)
- at ru.crystals.api.plugins.globus.client.SapCardClientPosProxy.getCardInfo(SapCardClientPosProxy.java:33)
- at ru.crystals.api.plugins.globus.client.SapCardClientPosProxy.getShortCardInfo(SapCardClientPosProxy.java:109)
- at ru.crystals.api.plugins.globus.loyalty.GlobusLoyaltyPlugin.doDiscount(GlobusLoyaltyPlugin.java:87)
- at ru.crystals.pos.loyal.SetApiPluginLoyProvider.process(SetApiPluginLoyProvider.java:171)
- at ru.crystals.loyal.providers.LoyProvidersRegistryImpl.process(LoyProvidersRegistryImpl.java:124)
- at ru.crystals.pos.loyal.cash.service.LoyalServiceImpl.calcDiscounts(LoyalServiceImpl.java:780)
- at ru.crystals.pos.loyal.cash.service.LoyalServiceImpl.doLoyalty(LoyalServiceImpl.java:709)
- at ru.crystals.pos.loyal.cash.service.LoyalServiceImpl.doDiscount(LoyalServiceImpl.java:820)
- at ru.crystals.pos.loyal.bridge.service.LoyalBridgeServiceImpl.doDiscount(LoyalBridgeServiceImpl.java:162)
- at ru.crystals.pos.techprocess.TechProcessImpl.applyDiscountsAndGetResult(TechProcessImpl.java:3784)
- at ru.crystals.pos.techprocess.TechProcessImpl.subtotalScenario(TechProcessImpl.java:3354)
- at ru.crystals.pos.visualization.check.CheckContainer.startSubtotalScenario(CheckContainer.java:1541)
- at ru.crystals.pos.visualization.check.CheckContainer.subtotalProcessPurchaseState(CheckContainer.java:1513)
- at ru.crystals.pos.visualization.check.CheckContainer.subtotal(CheckContainer.java:1410)
- at ru.crystals.pos.visualization.components.MainWindow.subTotal(MainWindow.java:798)
- at ru.crystals.pos.visualization.Factory.eventFunctionKey(Factory.java:582)
- at ru.crystals.pos.techprocess.TechProcessImpl.eventFunctionKey(TechProcessImpl.java:4389)
- at ru.crystals.pos.CashEventSource.sentOldKey(CashEventSource.java:165)
- at ru.crystals.pos.CashEventSource.process(CashEventSource.java:138)
- at ru.crystals.pos.CashEventSource.processEvent(CashEventSource.java:118)
- at ru.crystals.pos.CashEventSource.run(CashEventSource.java:101)
- at ru.crystals.pos.InternalCashPoolExecutorImpl.lambda$submit$2(InternalCashPoolExecutorImpl.java:115)
- at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
- at java.util.concurrent.FutureTask.run(FutureTask.java:266)
- at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
- at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
- at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
- at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
- at java.lang.Thread.run(Thread.java:745)
- Caused by: com.sun.xml.internal.ws.client.ClientTransportException: HTTP transport error: java.net.UnknownHostException: vhhypdk5wd01.hec.ru.globusgrp.org
- at com.sun.xml.internal.ws.transport.http.client.HttpClientTransport.getOutput(HttpClientTransport.java:117)
- at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:208)
- at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:130)
- at com.sun.xml.internal.ws.transport.DeferredTransportPipe.processRequest(DeferredTransportPipe.java:95)
- at com.sun.xml.internal.ws.api.pipe.Fiber.__doRun(Fiber.java:1121)
- at com.sun.xml.internal.ws.api.pipe.Fiber._doRun(Fiber.java:1035)
- at com.sun.xml.internal.ws.api.pipe.Fiber.doRun(Fiber.java:1004)
- at com.sun.xml.internal.ws.api.pipe.Fiber.runSync(Fiber.java:862)
- at com.sun.xml.internal.ws.client.Stub.process(Stub.java:448)
- at com.sun.xml.internal.ws.client.sei.SEIStub.doProcess(SEIStub.java:178)
- at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:93)
- at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:77)
- at com.sun.xml.internal.ws.client.sei.SEIStub.invoke(SEIStub.java:147)
- at com.sun.proxy.$Proxy212.getCardNKS(Unknown Source)
- at ru.crystals.api.plugins.globus.client.SapCardClient.getCardInfo(SapCardClient.java:40)
- ... 31 more
- Caused by: java.net.UnknownHostException: vhhypdk5wd01.hec.ru.globusgrp.org
- at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184)
- at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
- at java.net.Socket.connect(Socket.java:589)
- at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:668)
- at sun.net.NetworkClient.doConnect(NetworkClient.java:175)
- at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
- at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
- at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:264)
- at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:367)
- at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191)
- at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1181)
- at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1032)
- at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177)
- at sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(HttpURLConnection.java:1316)
- at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1291)
- at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:250)
- at com.sun.xml.internal.ws.transport.http.client.HttpClientTransport.getOutput(HttpClientTransport.java:104)
- ... 45 more
- 14.08 17:50:21.454 DEBUG [GlobusCardPlugin] [SapCardClientPosProxy] Card info request via proxy for card "2037215727383" as SHORT with force refresh true
- 14.08 17:50:21.454 DEBUG [GlobusCardPlugin] [SapCardClient] Sending card request...
- 14.08 17:50:21.462 DEBUG [GlobusCardPlugin] [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/">
- <SOAP-ENV:Header/>
- <S:Body>
- <ns2:ZNEW_POS_MT_Request xmlns:ns2="urn:sap-com:document:sap:soap:functions:pos">
- <Request>
- <OperationHeader>
- <OperationDate>2019-08-14</OperationDate>
- <OperationTime>17:50:21</OperationTime>
- <OperationTimeZone>MSK03</OperationTimeZone>
- <CashierId>1</CashierId>
- <NumberShiftId>25</NumberShiftId>
- <TypeTerminalId>1</TypeTerminalId>
- <TerminalId>1</TerminalId>
- <RetailStoreId>3388</RetailStoreId>
- <RepeatCall>1</RepeatCall>
- </OperationHeader>
- <LoyaltyIdentifier>
- <Type>01</Type>
- <Id>2037215727383</Id>
- </LoyaltyIdentifier>
- </Request>
- </ns2:ZNEW_POS_MT_Request>
- </S:Body>
- </S:Envelope>
- 14.08 17:50:21.462 ERROR [GlobusCardPlugin] [SapCardClient] Received HTTP response code 0
- 14.08 17:50:21.462 ERROR [GlobusCardPlugin] [SapCardClientPosProxy] Failed to get response from SAP, caching result as a null response
- 14.08 17:50:21.462 ERROR [GlobusCardPlugin] Failed to refresh card info
- ru.crystals.api.plugins.globus.client.NetworkException: com.sun.xml.internal.ws.client.ClientTransportException: HTTP transport error: java.net.UnknownHostException: vhhypdk5wd01.hec.ru.globusgrp.org
- at ru.crystals.api.plugins.globus.client.SapCardClient.getCardInfo(SapCardClient.java:47)
- at ru.crystals.api.plugins.globus.client.SapCardClientPosProxy.sendRequestAndCacheResult(SapCardClientPosProxy.java:65)
- at ru.crystals.api.plugins.globus.client.SapCardClientPosProxy.getCardInfo(SapCardClientPosProxy.java:46)
- at ru.crystals.api.plugins.globus.client.SapCardClientPosProxy.getCardInfo(SapCardClientPosProxy.java:33)
- at ru.crystals.api.plugins.globus.client.SapCardClientPosProxy.getShortCardInfo(SapCardClientPosProxy.java:109)
- at ru.crystals.api.plugins.globus.loyalty.PromoActionsHolder.getAvailableActions(PromoActionsHolder.java:54)
- at ru.crystals.api.plugins.globus.loyalty.GlobusLoyaltyPlugin.resolve(GlobusLoyaltyPlugin.java:109)
- at ru.crystals.pos.loyal.SetApiPluginLoyProvider.lambda$onDiscountCalculationStarted$0(SetApiPluginLoyProvider.java:218)
- at ru.crystalservice.setv6.discounts.plugins.ExternalSystemResolutionCondition.isConditionExecuted(ExternalSystemResolutionCondition.java:28)
- at ru.crystals.loyal.calculation.DiscountCalculationUtils.executeConditionPlugin(DiscountCalculationUtils.java:1788)
- at ru.crystals.loyal.calculation.DiscountCalculationUtils.lambda$areConditionsMet$10(DiscountCalculationUtils.java:1769)
- at java.util.stream.MatchOps$1MatchSink.accept(MatchOps.java:90)
- at java.util.ArrayList$ArrayListSpliterator.tryAdvance(ArrayList.java:1351)
- at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
- at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
- at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
- at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
- at java.util.stream.MatchOps$MatchOp.evaluateSequential(MatchOps.java:230)
- at java.util.stream.MatchOps$MatchOp.evaluateSequential(MatchOps.java:196)
- at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
- at java.util.stream.ReferencePipeline.allMatch(ReferencePipeline.java:454)
- at ru.crystals.loyal.calculation.DiscountCalculationUtils.areConditionsMet(DiscountCalculationUtils.java:1769)
- at ru.crystals.loyal.calculation.AdvertisingActionUtils.conditionsMet(AdvertisingActionUtils.java:290)
- at ru.crystals.loyal.calculation.AdvertisingActionUtils.getBonusDiscountActions(AdvertisingActionUtils.java:336)
- at ru.crystals.loyal.calculation.AdvertisingActionUtils.getChargedAlreadyBonusDiscountActions(AdvertisingActionUtils.java:475)
- at ru.crystals.loyal.calculation.CycleProcessing.calculate(CycleProcessing.java:254)
- at ru.crystals.loyal.calculation.DoProcessing.doDiscount(DoProcessing.java:57)
- at ru.crystals.loyal.providers.ClassicSetLoyProvider.process(ClassicSetLoyProvider.java:106)
- at ru.crystals.loyal.providers.LoyProvidersRegistryImpl.process(LoyProvidersRegistryImpl.java:124)
- at ru.crystals.pos.loyal.cash.service.LoyalServiceImpl.calcDiscounts(LoyalServiceImpl.java:780)
- at ru.crystals.pos.loyal.cash.service.LoyalServiceImpl.doLoyalty(LoyalServiceImpl.java:709)
- at ru.crystals.pos.loyal.cash.service.LoyalServiceImpl.doDiscount(LoyalServiceImpl.java:820)
- at ru.crystals.pos.loyal.bridge.service.LoyalBridgeServiceImpl.doDiscount(LoyalBridgeServiceImpl.java:162)
- at ru.crystals.pos.techprocess.TechProcessImpl.applyDiscountsAndGetResult(TechProcessImpl.java:3784)
- at ru.crystals.pos.techprocess.TechProcessImpl.subtotalScenario(TechProcessImpl.java:3354)
- at ru.crystals.pos.visualization.check.CheckContainer.startSubtotalScenario(CheckContainer.java:1541)
- at ru.crystals.pos.visualization.check.CheckContainer.subtotalProcessPurchaseState(CheckContainer.java:1513)
- at ru.crystals.pos.visualization.check.CheckContainer.subtotal(CheckContainer.java:1410)
- at ru.crystals.pos.visualization.components.MainWindow.subTotal(MainWindow.java:798)
- at ru.crystals.pos.visualization.Factory.eventFunctionKey(Factory.java:582)
- at ru.crystals.pos.techprocess.TechProcessImpl.eventFunctionKey(TechProcessImpl.java:4389)
- at ru.crystals.pos.CashEventSource.sentOldKey(CashEventSource.java:165)
- at ru.crystals.pos.CashEventSource.process(CashEventSource.java:138)
- at ru.crystals.pos.CashEventSource.processEvent(CashEventSource.java:118)
- at ru.crystals.pos.CashEventSource.run(CashEventSource.java:101)
- at ru.crystals.pos.InternalCashPoolExecutorImpl.lambda$submit$2(InternalCashPoolExecutorImpl.java:115)
- at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
- at java.util.concurrent.FutureTask.run(FutureTask.java:266)
- at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
- at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
- at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
- at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
- at java.lang.Thread.run(Thread.java:745)
- Caused by: com.sun.xml.internal.ws.client.ClientTransportException: HTTP transport error: java.net.UnknownHostException: vhhypdk5wd01.hec.ru.globusgrp.org
- at com.sun.xml.internal.ws.transport.http.client.HttpClientTransport.getOutput(HttpClientTransport.java:117)
- at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:208)
- at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:130)
- at com.sun.xml.internal.ws.transport.DeferredTransportPipe.processRequest(DeferredTransportPipe.java:95)
- at com.sun.xml.internal.ws.api.pipe.Fiber.__doRun(Fiber.java:1121)
- at com.sun.xml.internal.ws.api.pipe.Fiber._doRun(Fiber.java:1035)
- at com.sun.xml.internal.ws.api.pipe.Fiber.doRun(Fiber.java:1004)
- at com.sun.xml.internal.ws.api.pipe.Fiber.runSync(Fiber.java:862)
- at com.sun.xml.internal.ws.client.Stub.process(Stub.java:448)
- at com.sun.xml.internal.ws.client.sei.SEIStub.doProcess(SEIStub.java:178)
- at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:93)
- at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:77)
- at com.sun.xml.internal.ws.client.sei.SEIStub.invoke(SEIStub.java:147)
- at com.sun.proxy.$Proxy212.getCardNKS(Unknown Source)
- at ru.crystals.api.plugins.globus.client.SapCardClient.getCardInfo(SapCardClient.java:40)
- ... 52 more
- Caused by: java.net.UnknownHostException: vhhypdk5wd01.hec.ru.globusgrp.org
- at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184)
- at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
- at java.net.Socket.connect(Socket.java:589)
- at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:668)
- at sun.net.NetworkClient.doConnect(NetworkClient.java:175)
- at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
- at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
- at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:264)
- at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:367)
- at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191)
- at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1181)
- at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1032)
- at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177)
- at sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(HttpURLConnection.java:1316)
- at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1291)
- at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:250)
- at com.sun.xml.internal.ws.transport.http.client.HttpClientTransport.getOutput(HttpClientTransport.java:104)
- ... 66 more
- 14.08 17:50:21.464 INFO [GlobusLoyaltyPlugin] Active card is not found in SAP
- 14.08 17:50:25.301 INFO [GlobusCardPlugin] Fiscalization called, clearing caches...
- 14.08 17:50:25.301 INFO [GlobusCardPlugin] [SapCardClientPosProxy] Clearing cache data for cards
- CachedResponseMapKey{fullInfo=false, cardNumber='2037215727383'}
- CachedResponseMapKey{fullInfo=true, cardNumber='2037215727383'}
- 14.08 17:50:25.301 INFO [GlobusCardPlugin] Done clearing caches
- 14.08 17:50:25.307 DEBUG [GlobusLoyaltyPlugin] eventBeforeReceiptFiscalized called for receipt 18
- 14.08 17:50:25.312 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/">
- <SOAP-ENV:Header/>
- <S:Body>
- <ns2:ZNEW_POS_R_MT_Request xmlns:ns2="urn:sap-com:document:sap:soap:functions:pos">
- <Request>
- <item>
- <RequestHeader>
- <OperationDate>2019-08-14</OperationDate>
- <OperationTime>17:50:16</OperationTime>
- <OperationTimeZone>MSK03</OperationTimeZone>
- <CashierId>1</CashierId>
- <TerminalId>1</TerminalId>
- <RetailStoreId>3388</RetailStoreId>
- <NumberShiftId>25</NumberShiftId>
- <TypeTerminalId>1</TypeTerminalId>
- <ReceiptNumber>18</ReceiptNumber>
- </RequestHeader>
- <OperationData>
- <QrCode>t=20190814T175000&s=1000.00&fn=9999078902001730&i=229&fp=1365916366&n=1</QrCode>
- <OperationType>01</OperationType>
- <LoyaltyCardNumber>2037215727383</LoyaltyCardNumber>
- <OfflineProcessing>false</OfflineProcessing>
- </OperationData>
- <ReceiptHeader>
- <ReceiptSum>1000.00</ReceiptSum>
- <ReceiptSumWithDiscount>1000.00</ReceiptSumWithDiscount>
- </ReceiptHeader>
- <ReceiptItems>
- <item>
- <ItemNumber>1</ItemNumber>
- <ProductId>4690207112482</ProductId>
- <Quantity>1</Quantity>
- <QuantityUnit>шт</QuantityUnit>
- <Price>1000.00</Price>
- <ItemTotalSumWithDiscount>1000.00</ItemTotalSumWithDiscount>
- <DepartmentCode>520701</DepartmentCode>
- </item>
- </ReceiptItems>
- <PromoActionsApplied/>
- <Payments>
- <item>
- <PaymentType>01</PaymentType>
- <Amount>1000.00</Amount>
- </item>
- </Payments>
- </item>
- </Request>
- </ns2:ZNEW_POS_R_MT_Request>
- </S:Body>
- </S:Envelope>
- 14.08 17:50:25.313 ERROR [GlobusLoyaltyPlugin] [SapLoyaltyClient] Received HTTP response code 0
- 14.08 17:50:25.313 ERROR [GlobusLoyaltyPlugin] Failed to send receipt 18 to SAP. Scheduling it to postponed queue
- ru.crystals.api.plugins.globus.client.NetworkException: com.sun.xml.internal.ws.client.ClientTransportException: HTTP transport error: java.net.UnknownHostException: vhhypdk5wd01.hec.ru.globusgrp.org
- at ru.crystals.api.plugins.globus.client.loyalty.SapLoyaltyClient.sendReceipts(SapLoyaltyClient.java:44)
- at ru.crystals.api.plugins.globus.loyalty.GlobusLoyaltyPlugin.onReceiptFiscalized(GlobusLoyaltyPlugin.java:152)
- at ru.crystals.pos.loyal.SetApiPluginLoyProvider.purchaseFiscalized(SetApiPluginLoyProvider.java:399)
- at ru.crystals.loyal.providers.LoyProvidersRegistryImpl.purchaseFiscalized(LoyProvidersRegistryImpl.java:362)
- at ru.crystals.pos.loyal.cash.service.LoyalServiceImpl.purchaseFiscalized(LoyalServiceImpl.java:1539)
- at ru.crystals.pos.loyal.bridge.service.LoyalBridgeServiceImpl.purchaseFiscalized(LoyalBridgeServiceImpl.java:189)
- at ru.crystals.pos.techprocess.ExternalProcessingsImpl.purchaseFiscalized(ExternalProcessingsImpl.java:212)
- at ru.crystals.pos.techprocess.TechProcessShift.printCheck(TechProcessShift.java:1795)
- at ru.crystals.pos.techprocess.TechProcessShift.fiscalizeCheck(TechProcessShift.java:1542)
- at ru.crystals.pos.techprocess.TechProcessShiftProxy.fiscalizeCheck(TechProcessShiftProxy.java:701)
- at ru.crystals.pos.techprocess.TechProcessImpl.fiscalizeCheck(TechProcessImpl.java:944)
- at ru.crystals.pos.visualization.check.CheckContainer.paymentComplete(CheckContainer.java:2700)
- at ru.crystals.pos.visualization.components.MainWindow.paymentComplete(MainWindow.java:845)
- at ru.crystals.pos.visualization.Factory.eventPaymentComplete(Factory.java:869)
- at ru.crystals.pos.techprocess.TechProcessImpl.paymentComplete(TechProcessImpl.java:4482)
- at ru.crystals.pos.check.service.CheckServiceImpl.addPayment(CheckServiceImpl.java:3977)
- at ru.crystals.pos.techprocess.TechProcessImpl.addPayment(TechProcessImpl.java:3932)
- at ru.crystals.pos.visualization.payments.PaymentContainer.doProcessPayment(PaymentContainer.java:387)
- at ru.crystals.pos.visualization.payments.PaymentContainer.processPayment(PaymentContainer.java:347)
- at ru.crystals.pos.visualization.payments.cash.CashPaymentContainer.enter(CashPaymentContainer.java:94)
- at ru.crystals.pos.visualization.components.CompositeContainer.enter(CompositeContainer.java:96)
- at ru.crystals.pos.visualization.check.CheckContainer.enter(CheckContainer.java:1892)
- at ru.crystals.pos.visualization.components.MainWindow.enter(MainWindow.java:1086)
- at ru.crystals.pos.visualization.Factory.eventControlKey(Factory.java:526)
- at ru.crystals.pos.techprocess.TechProcessImpl.eventControlKey(TechProcessImpl.java:4360)
- at ru.crystals.pos.CashEventSource.sentOldKey(CashEventSource.java:167)
- at ru.crystals.pos.CashEventSource.process(CashEventSource.java:138)
- at ru.crystals.pos.CashEventSource.processEvent(CashEventSource.java:118)
- at ru.crystals.pos.CashEventSource.run(CashEventSource.java:101)
- at ru.crystals.pos.InternalCashPoolExecutorImpl.lambda$submit$2(InternalCashPoolExecutorImpl.java:115)
- at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
- at java.util.concurrent.FutureTask.run(FutureTask.java:266)
- at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
- at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
- at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
- at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
- at java.lang.Thread.run(Thread.java:745)
- Caused by: com.sun.xml.internal.ws.client.ClientTransportException: HTTP transport error: java.net.UnknownHostException: vhhypdk5wd01.hec.ru.globusgrp.org
- at com.sun.xml.internal.ws.transport.http.client.HttpClientTransport.getOutput(HttpClientTransport.java:117)
- at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:208)
- at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:130)
- at com.sun.xml.internal.ws.transport.DeferredTransportPipe.processRequest(DeferredTransportPipe.java:124)
- at com.sun.xml.internal.ws.api.pipe.Fiber.__doRun(Fiber.java:1121)
- at com.sun.xml.internal.ws.api.pipe.Fiber._doRun(Fiber.java:1035)
- at com.sun.xml.internal.ws.api.pipe.Fiber.doRun(Fiber.java:1004)
- at com.sun.xml.internal.ws.api.pipe.Fiber.runSync(Fiber.java:862)
- at com.sun.xml.internal.ws.client.Stub.process(Stub.java:448)
- at com.sun.xml.internal.ws.client.sei.SEIStub.doProcess(SEIStub.java:178)
- at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:93)
- at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:77)
- at com.sun.xml.internal.ws.client.sei.SEIStub.invoke(SEIStub.java:147)
- at com.sun.proxy.$Proxy214.posReceiptCSI(Unknown Source)
- at ru.crystals.api.plugins.globus.client.loyalty.SapLoyaltyClient.sendReceipts(SapLoyaltyClient.java:38)
- ... 36 more
- Caused by: java.net.UnknownHostException: vhhypdk5wd01.hec.ru.globusgrp.org
- at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184)
- at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
- at java.net.Socket.connect(Socket.java:589)
- at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:668)
- at sun.net.NetworkClient.doConnect(NetworkClient.java:175)
- at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
- at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
- at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:264)
- at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:367)
- at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191)
- at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1181)
- at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1032)
- at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177)
- at sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(HttpURLConnection.java:1316)
- at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1291)
- at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:250)
- at com.sun.xml.internal.ws.transport.http.client.HttpClientTransport.getOutput(HttpClientTransport.java:104)
- ... 50 more
- 14.08 17:50:29.836 DEBUG [GlobusCardPlugin] Searching card "2037215727383", POS operation mode SALE
- 14.08 17:50:29.837 DEBUG [GlobusCardPlugin] [SapCardClientPosProxy] Card info request via proxy for card "2037215727383" as FULL with force refresh false
- 14.08 17:50:29.837 DEBUG [GlobusCardPlugin] [SapCardClientPosProxy] No cached entry for CachedResponseMapKey{fullInfo=true, cardNumber='2037215727383'}, making a real call to the processing
- 14.08 17:50:29.837 DEBUG [GlobusCardPlugin] [SapCardClient] Sending card request...
- 14.08 17:50:29.855 DEBUG [GlobusCardPlugin] [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/">
- <SOAP-ENV:Header/>
- <S:Body>
- <ns2:ZNEW_POS_MT_Request xmlns:ns2="urn:sap-com:document:sap:soap:functions:pos">
- <Request>
- <OperationHeader>
- <OperationDate>2019-08-14</OperationDate>
- <OperationTime>17:50:29</OperationTime>
- <OperationTimeZone>MSK03</OperationTimeZone>
- <CashierId>1</CashierId>
- <NumberShiftId>25</NumberShiftId>
- <TypeTerminalId>1</TypeTerminalId>
- <TerminalId>1</TerminalId>
- <RetailStoreId>3388</RetailStoreId>
- </OperationHeader>
- <LoyaltyIdentifier>
- <Type>01</Type>
- <Id>2037215727383</Id>
- </LoyaltyIdentifier>
- </Request>
- </ns2:ZNEW_POS_MT_Request>
- </S:Body>
- </S:Envelope>
- 14.08 17:50:39.053 ERROR [GlobusCardPlugin] [SapCardClient] Received HTTP response code 0
- 14.08 17:50:39.056 ERROR [GlobusCardPlugin] [SapCardClientPosProxy] Failed to get response from SAP, caching result as a null response
- 14.08 17:50:39.056 ERROR [GlobusCardPlugin]
- ru.crystals.api.plugins.globus.client.NetworkException: com.sun.xml.internal.ws.client.ClientTransportException: HTTP transport error: java.net.UnknownHostException: vhhypdk5wd01.hec.ru.globusgrp.org
- at ru.crystals.api.plugins.globus.client.SapCardClient.getCardInfo(SapCardClient.java:47)
- at ru.crystals.api.plugins.globus.client.SapCardClientPosProxy.sendRequestAndCacheResult(SapCardClientPosProxy.java:65)
- at ru.crystals.api.plugins.globus.client.SapCardClientPosProxy.getCardInfo(SapCardClientPosProxy.java:51)
- at ru.crystals.api.plugins.globus.client.SapCardClientPosProxy.getCardInfo(SapCardClientPosProxy.java:33)
- at ru.crystals.api.plugins.globus.cards.GlobusCardPlugin.searchCard(GlobusCardPlugin.java:92)
- at ru.crystals.pos.cards.service.search.SetApiCardFinder.findCard(SetApiCardFinder.java:50)
- at ru.crystals.pos.cards.service.search.CardFinderChain.findCard(CardFinderChain.java:48)
- at ru.crystals.pos.cards.service.CardsServiceImpl.getCardTypeEntity(CardsServiceImpl.java:399)
- at ru.crystals.pos.cards.service.CardsServiceImpl.getCardType(CardsServiceImpl.java:507)
- at ru.crystals.pos.techprocess.TechProcessSearch.lambda$getCardType$0(TechProcessSearch.java:359)
- at ru.crystals.pos.techprocess.TechProcessSearch.tryGetCardTypeNotFromCardRange(TechProcessSearch.java:377)
- at ru.crystals.pos.techprocess.TechProcessSearch.getCardType(TechProcessSearch.java:359)
- at ru.crystals.pos.techprocess.TechProcessSearch.searchCard(TechProcessSearch.java:264)
- at ru.crystals.pos.techprocess.TechProcessImpl.searchCard(TechProcessImpl.java:4220)
- at ru.crystals.pos.visualization.search.SearchProductContainer.searchCouponAndDiscountCard(SearchProductContainer.java:251)
- at ru.crystals.pos.visualization.search.SearchProductContainer.search(SearchProductContainer.java:453)
- at ru.crystals.pos.visualization.check.CheckContainer.addPositionByBarcode(CheckContainer.java:2199)
- at ru.crystals.pos.visualization.check.CheckContainer.barcode(CheckContainer.java:2114)
- at ru.crystals.pos.visualization.check.CheckContainer.barcode(CheckContainer.java:2075)
- at ru.crystals.pos.visualization.components.MainWindow.barcode(MainWindow.java:1127)
- at ru.crystals.pos.visualization.Factory.eventBarcode(Factory.java:796)
- at ru.crystals.pos.techprocess.TechProcessImpl.eventBarcodeScanner(TechProcessImpl.java:4315)
- at ru.crystals.pos.CashEventSource.process(CashEventSource.java:308)
- at ru.crystals.pos.CashEventSource.processEvent(CashEventSource.java:120)
- at ru.crystals.pos.CashEventSource.run(CashEventSource.java:101)
- at ru.crystals.pos.InternalCashPoolExecutorImpl.lambda$submit$2(InternalCashPoolExecutorImpl.java:115)
- at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
- at java.util.concurrent.FutureTask.run(FutureTask.java:266)
- at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
- at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
- at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
- at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
- at java.lang.Thread.run(Thread.java:745)
- Caused by: com.sun.xml.internal.ws.client.ClientTransportException: HTTP transport error: java.net.UnknownHostException: vhhypdk5wd01.hec.ru.globusgrp.org
- at com.sun.xml.internal.ws.transport.http.client.HttpClientTransport.getOutput(HttpClientTransport.java:117)
- at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:208)
- at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:130)
- at com.sun.xml.internal.ws.transport.DeferredTransportPipe.processRequest(DeferredTransportPipe.java:95)
- at com.sun.xml.internal.ws.api.pipe.Fiber.__doRun(Fiber.java:1121)
- at com.sun.xml.internal.ws.api.pipe.Fiber._doRun(Fiber.java:1035)
- at com.sun.xml.internal.ws.api.pipe.Fiber.doRun(Fiber.java:1004)
- at com.sun.xml.internal.ws.api.pipe.Fiber.runSync(Fiber.java:862)
- at com.sun.xml.internal.ws.client.Stub.process(Stub.java:448)
- at com.sun.xml.internal.ws.client.sei.SEIStub.doProcess(SEIStub.java:178)
- at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:93)
- at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:77)
- at com.sun.xml.internal.ws.client.sei.SEIStub.invoke(SEIStub.java:147)
- at com.sun.proxy.$Proxy212.getCardNKS(Unknown Source)
- at ru.crystals.api.plugins.globus.client.SapCardClient.getCardInfo(SapCardClient.java:40)
- ... 32 more
- Caused by: java.net.UnknownHostException: vhhypdk5wd01.hec.ru.globusgrp.org
- at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184)
- at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
- at java.net.Socket.connect(Socket.java:589)
- at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:668)
- at sun.net.NetworkClient.doConnect(NetworkClient.java:175)
- at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
- at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
- at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:264)
- at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:367)
- at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191)
- at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1181)
- at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1032)
- at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177)
- at sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(HttpURLConnection.java:1316)
- at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1291)
- at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:250)
- at com.sun.xml.internal.ws.transport.http.client.HttpClientTransport.getOutput(HttpClientTransport.java:104)
- ... 46 more
- 14.08 17:50:47.936 DEBUG [GlobusCardPlugin] [SapCardClientPosProxy] Card info request via proxy for card "2037215727383" as SHORT with force refresh true
- 14.08 17:50:47.936 DEBUG [GlobusCardPlugin] [SapCardClient] Sending card request...
- 14.08 17:50:47.944 DEBUG [GlobusCardPlugin] [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/">
- <SOAP-ENV:Header/>
- <S:Body>
- <ns2:ZNEW_POS_MT_Request xmlns:ns2="urn:sap-com:document:sap:soap:functions:pos">
- <Request>
- <OperationHeader>
- <OperationDate>2019-08-14</OperationDate>
- <OperationTime>17:50:47</OperationTime>
- <OperationTimeZone>MSK03</OperationTimeZone>
- <CashierId>1</CashierId>
- <NumberShiftId>25</NumberShiftId>
- <TypeTerminalId>1</TypeTerminalId>
- <TerminalId>1</TerminalId>
- <RetailStoreId>3388</RetailStoreId>
- <RepeatCall>1</RepeatCall>
- </OperationHeader>
- <LoyaltyIdentifier>
- <Type>01</Type>
- <Id>2037215727383</Id>
- </LoyaltyIdentifier>
- </Request>
- </ns2:ZNEW_POS_MT_Request>
- </S:Body>
- </S:Envelope>
- 14.08 17:50:47.945 ERROR [GlobusCardPlugin] [SapCardClient] Received HTTP response code 0
- 14.08 17:50:47.945 ERROR [GlobusCardPlugin] [SapCardClientPosProxy] Failed to get response from SAP, caching result as a null response
- 14.08 17:50:47.945 ERROR [GlobusCardPlugin] Failed to refresh card info
- ru.crystals.api.plugins.globus.client.NetworkException: com.sun.xml.internal.ws.client.ClientTransportException: HTTP transport error: java.net.UnknownHostException: vhhypdk5wd01.hec.ru.globusgrp.org
- at ru.crystals.api.plugins.globus.client.SapCardClient.getCardInfo(SapCardClient.java:47)
- at ru.crystals.api.plugins.globus.client.SapCardClientPosProxy.sendRequestAndCacheResult(SapCardClientPosProxy.java:65)
- at ru.crystals.api.plugins.globus.client.SapCardClientPosProxy.getCardInfo(SapCardClientPosProxy.java:46)
- at ru.crystals.api.plugins.globus.client.SapCardClientPosProxy.getCardInfo(SapCardClientPosProxy.java:33)
- at ru.crystals.api.plugins.globus.client.SapCardClientPosProxy.getShortCardInfo(SapCardClientPosProxy.java:109)
- at ru.crystals.api.plugins.globus.loyalty.GlobusLoyaltyPlugin.doDiscount(GlobusLoyaltyPlugin.java:87)
- at ru.crystals.pos.loyal.SetApiPluginLoyProvider.process(SetApiPluginLoyProvider.java:171)
- at ru.crystals.loyal.providers.LoyProvidersRegistryImpl.process(LoyProvidersRegistryImpl.java:124)
- at ru.crystals.pos.loyal.cash.service.LoyalServiceImpl.calcDiscounts(LoyalServiceImpl.java:780)
- at ru.crystals.pos.loyal.cash.service.LoyalServiceImpl.doLoyalty(LoyalServiceImpl.java:709)
- at ru.crystals.pos.loyal.cash.service.LoyalServiceImpl.doDiscount(LoyalServiceImpl.java:820)
- at ru.crystals.pos.loyal.bridge.service.LoyalBridgeServiceImpl.doDiscount(LoyalBridgeServiceImpl.java:162)
- at ru.crystals.pos.techprocess.TechProcessImpl.applyDiscountsAndGetResult(TechProcessImpl.java:3784)
- at ru.crystals.pos.techprocess.TechProcessImpl.subtotalScenario(TechProcessImpl.java:3354)
- at ru.crystals.pos.visualization.check.CheckContainer.startSubtotalScenario(CheckContainer.java:1541)
- at ru.crystals.pos.visualization.check.CheckContainer.subtotalProcessPurchaseState(CheckContainer.java:1513)
- at ru.crystals.pos.visualization.check.CheckContainer.subtotal(CheckContainer.java:1410)
- at ru.crystals.pos.visualization.components.MainWindow.subTotal(MainWindow.java:798)
- at ru.crystals.pos.visualization.Factory.eventFunctionKey(Factory.java:582)
- at ru.crystals.pos.techprocess.TechProcessImpl.eventFunctionKey(TechProcessImpl.java:4389)
- at ru.crystals.pos.CashEventSource.sentOldKey(CashEventSource.java:165)
- at ru.crystals.pos.CashEventSource.process(CashEventSource.java:138)
- at ru.crystals.pos.CashEventSource.processEvent(CashEventSource.java:118)
- at ru.crystals.pos.CashEventSource.run(CashEventSource.java:101)
- at ru.crystals.pos.InternalCashPoolExecutorImpl.lambda$submit$2(InternalCashPoolExecutorImpl.java:115)
- at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
- at java.util.concurrent.FutureTask.run(FutureTask.java:266)
- at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
- at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
- at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
- at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
- at java.lang.Thread.run(Thread.java:745)
- Caused by: com.sun.xml.internal.ws.client.ClientTransportException: HTTP transport error: java.net.UnknownHostException: vhhypdk5wd01.hec.ru.globusgrp.org
- at com.sun.xml.internal.ws.transport.http.client.HttpClientTransport.getOutput(HttpClientTransport.java:117)
- at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:208)
- at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:130)
- at com.sun.xml.internal.ws.transport.DeferredTransportPipe.processRequest(DeferredTransportPipe.java:95)
- at com.sun.xml.internal.ws.api.pipe.Fiber.__doRun(Fiber.java:1121)
- at com.sun.xml.internal.ws.api.pipe.Fiber._doRun(Fiber.java:1035)
- at com.sun.xml.internal.ws.api.pipe.Fiber.doRun(Fiber.java:1004)
- at com.sun.xml.internal.ws.api.pipe.Fiber.runSync(Fiber.java:862)
- at com.sun.xml.internal.ws.client.Stub.process(Stub.java:448)
- at com.sun.xml.internal.ws.client.sei.SEIStub.doProcess(SEIStub.java:178)
- at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:93)
- at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:77)
- at com.sun.xml.internal.ws.client.sei.SEIStub.invoke(SEIStub.java:147)
- at com.sun.proxy.$Proxy212.getCardNKS(Unknown Source)
- at ru.crystals.api.plugins.globus.client.SapCardClient.getCardInfo(SapCardClient.java:40)
- ... 31 more
- Caused by: java.net.UnknownHostException: vhhypdk5wd01.hec.ru.globusgrp.org
- at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184)
- at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
- at java.net.Socket.connect(Socket.java:589)
- at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:668)
- at sun.net.NetworkClient.doConnect(NetworkClient.java:175)
- at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
- at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
- at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:264)
- at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:367)
- at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191)
- at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1181)
- at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1032)
- at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177)
- at sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(HttpURLConnection.java:1316)
- at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1291)
- at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:250)
- at com.sun.xml.internal.ws.transport.http.client.HttpClientTransport.getOutput(HttpClientTransport.java:104)
- ... 45 more
- 14.08 17:50:47.952 DEBUG [GlobusCardPlugin] [SapCardClientPosProxy] Card info request via proxy for card "2037215727383" as SHORT with force refresh true
- 14.08 17:50:47.952 DEBUG [GlobusCardPlugin] [SapCardClient] Sending card request...
- 14.08 17:50:47.960 DEBUG [GlobusCardPlugin] [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/">
- <SOAP-ENV:Header/>
- <S:Body>
- <ns2:ZNEW_POS_MT_Request xmlns:ns2="urn:sap-com:document:sap:soap:functions:pos">
- <Request>
- <OperationHeader>
- <OperationDate>2019-08-14</OperationDate>
- <OperationTime>17:50:47</OperationTime>
- <OperationTimeZone>MSK03</OperationTimeZone>
- <CashierId>1</CashierId>
- <NumberShiftId>25</NumberShiftId>
- <TypeTerminalId>1</TypeTerminalId>
- <TerminalId>1</TerminalId>
- <RetailStoreId>3388</RetailStoreId>
- <RepeatCall>1</RepeatCall>
- </OperationHeader>
- <LoyaltyIdentifier>
- <Type>01</Type>
- <Id>2037215727383</Id>
- </LoyaltyIdentifier>
- </Request>
- </ns2:ZNEW_POS_MT_Request>
- </S:Body>
- </S:Envelope>
- 14.08 17:50:47.960 ERROR [GlobusCardPlugin] [SapCardClient] Received HTTP response code 0
- 14.08 17:50:47.960 ERROR [GlobusCardPlugin] [SapCardClientPosProxy] Failed to get response from SAP, caching result as a null response
- 14.08 17:50:47.960 ERROR [GlobusCardPlugin] Failed to refresh card info
- ru.crystals.api.plugins.globus.client.NetworkException: com.sun.xml.internal.ws.client.ClientTransportException: HTTP transport error: java.net.UnknownHostException: vhhypdk5wd01.hec.ru.globusgrp.org
- at ru.crystals.api.plugins.globus.client.SapCardClient.getCardInfo(SapCardClient.java:47)
- at ru.crystals.api.plugins.globus.client.SapCardClientPosProxy.sendRequestAndCacheResult(SapCardClientPosProxy.java:65)
- at ru.crystals.api.plugins.globus.client.SapCardClientPosProxy.getCardInfo(SapCardClientPosProxy.java:46)
- at ru.crystals.api.plugins.globus.client.SapCardClientPosProxy.getCardInfo(SapCardClientPosProxy.java:33)
- at ru.crystals.api.plugins.globus.client.SapCardClientPosProxy.getShortCardInfo(SapCardClientPosProxy.java:109)
- at ru.crystals.api.plugins.globus.loyalty.PromoActionsHolder.getAvailableActions(PromoActionsHolder.java:54)
- at ru.crystals.api.plugins.globus.loyalty.GlobusLoyaltyPlugin.resolve(GlobusLoyaltyPlugin.java:109)
- at ru.crystals.pos.loyal.SetApiPluginLoyProvider.lambda$onDiscountCalculationStarted$0(SetApiPluginLoyProvider.java:218)
- at ru.crystalservice.setv6.discounts.plugins.ExternalSystemResolutionCondition.isConditionExecuted(ExternalSystemResolutionCondition.java:28)
- at ru.crystals.loyal.calculation.DiscountCalculationUtils.executeConditionPlugin(DiscountCalculationUtils.java:1788)
- at ru.crystals.loyal.calculation.DiscountCalculationUtils.lambda$areConditionsMet$10(DiscountCalculationUtils.java:1769)
- at java.util.stream.MatchOps$1MatchSink.accept(MatchOps.java:90)
- at java.util.ArrayList$ArrayListSpliterator.tryAdvance(ArrayList.java:1351)
- at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
- at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
- at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
- at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
- at java.util.stream.MatchOps$MatchOp.evaluateSequential(MatchOps.java:230)
- at java.util.stream.MatchOps$MatchOp.evaluateSequential(MatchOps.java:196)
- at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
- at java.util.stream.ReferencePipeline.allMatch(ReferencePipeline.java:454)
- at ru.crystals.loyal.calculation.DiscountCalculationUtils.areConditionsMet(DiscountCalculationUtils.java:1769)
- at ru.crystals.loyal.calculation.AdvertisingActionUtils.conditionsMet(AdvertisingActionUtils.java:290)
- at ru.crystals.loyal.calculation.AdvertisingActionUtils.getBonusDiscountActions(AdvertisingActionUtils.java:336)
- at ru.crystals.loyal.calculation.AdvertisingActionUtils.getChargedAlreadyBonusDiscountActions(AdvertisingActionUtils.java:475)
- at ru.crystals.loyal.calculation.CycleProcessing.calculate(CycleProcessing.java:254)
- at ru.crystals.loyal.calculation.DoProcessing.doDiscount(DoProcessing.java:57)
- at ru.crystals.loyal.providers.ClassicSetLoyProvider.process(ClassicSetLoyProvider.java:106)
- at ru.crystals.loyal.providers.LoyProvidersRegistryImpl.process(LoyProvidersRegistryImpl.java:124)
- at ru.crystals.pos.loyal.cash.service.LoyalServiceImpl.calcDiscounts(LoyalServiceImpl.java:780)
- at ru.crystals.pos.loyal.cash.service.LoyalServiceImpl.doLoyalty(LoyalServiceImpl.java:709)
- at ru.crystals.pos.loyal.cash.service.LoyalServiceImpl.doDiscount(LoyalServiceImpl.java:820)
- at ru.crystals.pos.loyal.bridge.service.LoyalBridgeServiceImpl.doDiscount(LoyalBridgeServiceImpl.java:162)
- at ru.crystals.pos.techprocess.TechProcessImpl.applyDiscountsAndGetResult(TechProcessImpl.java:3784)
- at ru.crystals.pos.techprocess.TechProcessImpl.subtotalScenario(TechProcessImpl.java:3354)
- at ru.crystals.pos.visualization.check.CheckContainer.startSubtotalScenario(CheckContainer.java:1541)
- at ru.crystals.pos.visualization.check.CheckContainer.subtotalProcessPurchaseState(CheckContainer.java:1513)
- at ru.crystals.pos.visualization.check.CheckContainer.subtotal(CheckContainer.java:1410)
- at ru.crystals.pos.visualization.components.MainWindow.subTotal(MainWindow.java:798)
- at ru.crystals.pos.visualization.Factory.eventFunctionKey(Factory.java:582)
- at ru.crystals.pos.techprocess.TechProcessImpl.eventFunctionKey(TechProcessImpl.java:4389)
- at ru.crystals.pos.CashEventSource.sentOldKey(CashEventSource.java:165)
- at ru.crystals.pos.CashEventSource.process(CashEventSource.java:138)
- at ru.crystals.pos.CashEventSource.processEvent(CashEventSource.java:118)
- at ru.crystals.pos.CashEventSource.run(CashEventSource.java:101)
- at ru.crystals.pos.InternalCashPoolExecutorImpl.lambda$submit$2(InternalCashPoolExecutorImpl.java:115)
- at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
- at java.util.concurrent.FutureTask.run(FutureTask.java:266)
- at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
- at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
- at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
- at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
- at java.lang.Thread.run(Thread.java:745)
- Caused by: com.sun.xml.internal.ws.client.ClientTransportException: HTTP transport error: java.net.UnknownHostException: vhhypdk5wd01.hec.ru.globusgrp.org
- at com.sun.xml.internal.ws.transport.http.client.HttpClientTransport.getOutput(HttpClientTransport.java:117)
- at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:208)
- at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:130)
- at com.sun.xml.internal.ws.transport.DeferredTransportPipe.processRequest(DeferredTransportPipe.java:95)
- at com.sun.xml.internal.ws.api.pipe.Fiber.__doRun(Fiber.java:1121)
- at com.sun.xml.internal.ws.api.pipe.Fiber._doRun(Fiber.java:1035)
- at com.sun.xml.internal.ws.api.pipe.Fiber.doRun(Fiber.java:1004)
- at com.sun.xml.internal.ws.api.pipe.Fiber.runSync(Fiber.java:862)
- at com.sun.xml.internal.ws.client.Stub.process(Stub.java:448)
- at com.sun.xml.internal.ws.client.sei.SEIStub.doProcess(SEIStub.java:178)
- at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:93)
- at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:77)
- at com.sun.xml.internal.ws.client.sei.SEIStub.invoke(SEIStub.java:147)
- at com.sun.proxy.$Proxy212.getCardNKS(Unknown Source)
- at ru.crystals.api.plugins.globus.client.SapCardClient.getCardInfo(SapCardClient.java:40)
- ... 52 more
- Caused by: java.net.UnknownHostException: vhhypdk5wd01.hec.ru.globusgrp.org
- at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184)
- at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
- at java.net.Socket.connect(Socket.java:589)
- at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:668)
- at sun.net.NetworkClient.doConnect(NetworkClient.java:175)
- at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
- at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
- at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:264)
- at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:367)
- at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191)
- at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1181)
- at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1032)
- at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177)
- at sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(HttpURLConnection.java:1316)
- at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1291)
- at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:250)
- at com.sun.xml.internal.ws.transport.http.client.HttpClientTransport.getOutput(HttpClientTransport.java:104)
- ... 66 more
- 14.08 17:50:47.961 INFO [GlobusLoyaltyPlugin] Active card is not found in SAP
- 14.08 17:50:52.401 INFO [GlobusCardPlugin] Fiscalization called, clearing caches...
- 14.08 17:50:52.401 INFO [GlobusCardPlugin] [SapCardClientPosProxy] Clearing cache data for cards
- CachedResponseMapKey{fullInfo=false, cardNumber='2037215727383'}
- CachedResponseMapKey{fullInfo=true, cardNumber='2037215727383'}
- 14.08 17:50:52.401 INFO [GlobusCardPlugin] Done clearing caches
- 14.08 17:50:52.408 DEBUG [GlobusLoyaltyPlugin] eventBeforeReceiptFiscalized called for receipt 19
- 14.08 17:50:52.417 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/">
- <SOAP-ENV:Header/>
- <S:Body>
- <ns2:ZNEW_POS_R_MT_Request xmlns:ns2="urn:sap-com:document:sap:soap:functions:pos">
- <Request>
- <item>
- <RequestHeader>
- <OperationDate>2019-08-14</OperationDate>
- <OperationTime>17:50:39</OperationTime>
- <OperationTimeZone>MSK03</OperationTimeZone>
- <CashierId>1</CashierId>
- <TerminalId>1</TerminalId>
- <RetailStoreId>3388</RetailStoreId>
- <NumberShiftId>25</NumberShiftId>
- <TypeTerminalId>1</TypeTerminalId>
- <ReceiptNumber>19</ReceiptNumber>
- </RequestHeader>
- <OperationData>
- <QrCode>t=20190814T175000&s=1000.00&fn=9999078902001730&i=230&fp=1814208458&n=1</QrCode>
- <OperationType>01</OperationType>
- <LoyaltyCardNumber>2037215727383</LoyaltyCardNumber>
- <OfflineProcessing>false</OfflineProcessing>
- </OperationData>
- <ReceiptHeader>
- <ReceiptSum>1000.00</ReceiptSum>
- <ReceiptSumWithDiscount>1000.00</ReceiptSumWithDiscount>
- </ReceiptHeader>
- <ReceiptItems>
- <item>
- <ItemNumber>1</ItemNumber>
- <ProductId>4690207112482</ProductId>
- <Quantity>1</Quantity>
- <QuantityUnit>шт</QuantityUnit>
- <Price>1000.00</Price>
- <ItemTotalSumWithDiscount>1000.00</ItemTotalSumWithDiscount>
- <DepartmentCode>520701</DepartmentCode>
- </item>
- </ReceiptItems>
- <PromoActionsApplied/>
- <Payments>
- <item>
- <PaymentType>01</PaymentType>
- <Amount>1000.00</Amount>
- </item>
- </Payments>
- </item>
- </Request>
- </ns2:ZNEW_POS_R_MT_Request>
- </S:Body>
- </S:Envelope>
- 14.08 17:50:58.875 INFO [GlobusLoyaltyPlugin] 4 feedback to send, 2 picked, 2 allowed
- 14.08 17:50:58.875 INFO [GlobusLoyaltyPlugin] Packing feedback with id 4519
- 14.08 17:50:58.876 INFO [GlobusLoyaltyPlugin] Packing feedback with id 4521
- 14.08 17:50:58.888 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/">
- <SOAP-ENV:Header/>
- <S:Body>
- <ns2:ZNEW_POS_R_MT_Request xmlns:ns2="urn:sap-com:document:sap:soap:functions:pos">
- <Request>
- <item>
- <RequestHeader>
- <OperationDate>2019-08-14</OperationDate>
- <OperationTime>17:48:32</OperationTime>
- <OperationTimeZone>MSK03</OperationTimeZone>
- <CashierId>1</CashierId>
- <TerminalId>1</TerminalId>
- <RetailStoreId>3388</RetailStoreId>
- <NumberShiftId>25</NumberShiftId>
- <TypeTerminalId>1</TypeTerminalId>
- <ReceiptNumber>15</ReceiptNumber>
- </RequestHeader>
- <OperationData>
- <QrCode>t=20190814T174900&s=1000.00&fn=9999078902001730&i=226&fp=3335158334&n=1</QrCode>
- <OperationType>01</OperationType>
- <LoyaltyCardNumber>2037215727383</LoyaltyCardNumber>
- <OfflineProcessing>true</OfflineProcessing>
- </OperationData>
- <ReceiptHeader>
- <ReceiptSum>1000.00</ReceiptSum>
- <ReceiptSumWithDiscount>1000.00</ReceiptSumWithDiscount>
- </ReceiptHeader>
- <ReceiptItems>
- <item>
- <ItemNumber>1</ItemNumber>
- <ProductId>4690207112482</ProductId>
- <Quantity>1</Quantity>
- <QuantityUnit>шт</QuantityUnit>
- <Price>1000.00</Price>
- <ItemTotalSumWithDiscount>1000.00</ItemTotalSumWithDiscount>
- <DepartmentCode>520701</DepartmentCode>
- </item>
- </ReceiptItems>
- <PromoActionsApplied/>
- <Payments>
- <item>
- <PaymentType>01</PaymentType>
- <Amount>1000.00</Amount>
- </item>
- </Payments>
- </item>
- <item>
- <RequestHeader>
- <OperationDate>2019-08-14</OperationDate>
- <OperationTime>17:49:46</OperationTime>
- <OperationTimeZone>MSK03</OperationTimeZone>
- <CashierId>1</CashierId>
- <TerminalId>1</TerminalId>
- <RetailStoreId>3388</RetailStoreId>
- <NumberShiftId>25</NumberShiftId>
- <TypeTerminalId>1</TypeTerminalId>
- <ReceiptNumber>17</ReceiptNumber>
- </RequestHeader>
- <OperationData>
- <QrCode>t=20190814T175000&s=1000.00&fn=9999078902001730&i=228&fp=3789831918&n=1</QrCode>
- <OperationType>01</OperationType>
- <LoyaltyCardNumber>2037215727383</LoyaltyCardNumber>
- <OfflineProcessing>true</OfflineProcessing>
- </OperationData>
- <ReceiptHeader>
- <ReceiptSum>1000.00</ReceiptSum>
- <ReceiptSumWithDiscount>1000.00</ReceiptSumWithDiscount>
- </ReceiptHeader>
- <ReceiptItems>
- <item>
- <ItemNumber>1</ItemNumber>
- <ProductId>4690207112482</ProductId>
- <Quantity>1</Quantity>
- <QuantityUnit>шт</QuantityUnit>
- <Price>1000.00</Price>
- <ItemTotalSumWithDiscount>1000.00</ItemTotalSumWithDiscount>
- <DepartmentCode>520701</DepartmentCode>
- </item>
- </ReceiptItems>
- <PromoActionsApplied/>
- <Payments>
- <item>
- <PaymentType>01</PaymentType>
- <Amount>1000.00</Amount>
- </item>
- </Payments>
- </item>
- </Request>
- </ns2:ZNEW_POS_R_MT_Request>
- </S:Body>
- </S:Envelope>
- 14.08 17:51:01.574 ERROR [GlobusLoyaltyPlugin] [SapLoyaltyClient] Received HTTP response code 0
- 14.08 17:51:01.576 ERROR [GlobusLoyaltyPlugin] Failed to send receipt 19 to SAP. Scheduling it to postponed queue
- ru.crystals.api.plugins.globus.client.NetworkException: com.sun.xml.internal.ws.client.ClientTransportException: HTTP transport error: java.net.UnknownHostException: vhhypdk5wd01.hec.ru.globusgrp.org
- at ru.crystals.api.plugins.globus.client.loyalty.SapLoyaltyClient.sendReceipts(SapLoyaltyClient.java:44)
- at ru.crystals.api.plugins.globus.loyalty.GlobusLoyaltyPlugin.onReceiptFiscalized(GlobusLoyaltyPlugin.java:152)
- at ru.crystals.pos.loyal.SetApiPluginLoyProvider.purchaseFiscalized(SetApiPluginLoyProvider.java:399)
- at ru.crystals.loyal.providers.LoyProvidersRegistryImpl.purchaseFiscalized(LoyProvidersRegistryImpl.java:362)
- at ru.crystals.pos.loyal.cash.service.LoyalServiceImpl.purchaseFiscalized(LoyalServiceImpl.java:1539)
- at ru.crystals.pos.loyal.bridge.service.LoyalBridgeServiceImpl.purchaseFiscalized(LoyalBridgeServiceImpl.java:189)
- at ru.crystals.pos.techprocess.ExternalProcessingsImpl.purchaseFiscalized(ExternalProcessingsImpl.java:212)
- at ru.crystals.pos.techprocess.TechProcessShift.printCheck(TechProcessShift.java:1795)
- at ru.crystals.pos.techprocess.TechProcessShift.fiscalizeCheck(TechProcessShift.java:1542)
- at ru.crystals.pos.techprocess.TechProcessShiftProxy.fiscalizeCheck(TechProcessShiftProxy.java:701)
- at ru.crystals.pos.techprocess.TechProcessImpl.fiscalizeCheck(TechProcessImpl.java:944)
- at ru.crystals.pos.visualization.check.CheckContainer.paymentComplete(CheckContainer.java:2700)
- at ru.crystals.pos.visualization.components.MainWindow.paymentComplete(MainWindow.java:845)
- at ru.crystals.pos.visualization.Factory.eventPaymentComplete(Factory.java:869)
- at ru.crystals.pos.techprocess.TechProcessImpl.paymentComplete(TechProcessImpl.java:4482)
- at ru.crystals.pos.check.service.CheckServiceImpl.addPayment(CheckServiceImpl.java:3977)
- at ru.crystals.pos.techprocess.TechProcessImpl.addPayment(TechProcessImpl.java:3932)
- at ru.crystals.pos.visualization.payments.PaymentContainer.doProcessPayment(PaymentContainer.java:387)
- at ru.crystals.pos.visualization.payments.PaymentContainer.processPayment(PaymentContainer.java:347)
- at ru.crystals.pos.visualization.payments.cash.CashPaymentContainer.enter(CashPaymentContainer.java:94)
- at ru.crystals.pos.visualization.components.CompositeContainer.enter(CompositeContainer.java:96)
- at ru.crystals.pos.visualization.check.CheckContainer.enter(CheckContainer.java:1892)
- at ru.crystals.pos.visualization.components.MainWindow.enter(MainWindow.java:1086)
- at ru.crystals.pos.visualization.Factory.eventControlKey(Factory.java:526)
- at ru.crystals.pos.techprocess.TechProcessImpl.eventControlKey(TechProcessImpl.java:4360)
- at ru.crystals.pos.CashEventSource.sentOldKey(CashEventSource.java:167)
- at ru.crystals.pos.CashEventSource.process(CashEventSource.java:138)
- at ru.crystals.pos.CashEventSource.processEvent(CashEventSource.java:118)
- at ru.crystals.pos.CashEventSource.run(CashEventSource.java:101)
- at ru.crystals.pos.InternalCashPoolExecutorImpl.lambda$submit$2(InternalCashPoolExecutorImpl.java:115)
- at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
- at java.util.concurrent.FutureTask.run(FutureTask.java:266)
- at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
- at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
- at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
- at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
- at java.lang.Thread.run(Thread.java:745)
- Caused by: com.sun.xml.internal.ws.client.ClientTransportException: HTTP transport error: java.net.UnknownHostException: vhhypdk5wd01.hec.ru.globusgrp.org
- at com.sun.xml.internal.ws.transport.http.client.HttpClientTransport.getOutput(HttpClientTransport.java:117)
- at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:208)
- at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:130)
- at com.sun.xml.internal.ws.transport.DeferredTransportPipe.processRequest(DeferredTransportPipe.java:95)
- at com.sun.xml.internal.ws.api.pipe.Fiber.__doRun(Fiber.java:1121)
- at com.sun.xml.internal.ws.api.pipe.Fiber._doRun(Fiber.java:1035)
- at com.sun.xml.internal.ws.api.pipe.Fiber.doRun(Fiber.java:1004)
- at com.sun.xml.internal.ws.api.pipe.Fiber.runSync(Fiber.java:862)
- at com.sun.xml.internal.ws.client.Stub.process(Stub.java:448)
- at com.sun.xml.internal.ws.client.sei.SEIStub.doProcess(SEIStub.java:178)
- at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:93)
- at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:77)
- at com.sun.xml.internal.ws.client.sei.SEIStub.invoke(SEIStub.java:147)
- at com.sun.proxy.$Proxy214.posReceiptCSI(Unknown Source)
- at ru.crystals.api.plugins.globus.client.loyalty.SapLoyaltyClient.sendReceipts(SapLoyaltyClient.java:38)
- ... 36 more
- Caused by: java.net.UnknownHostException: vhhypdk5wd01.hec.ru.globusgrp.org
- at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184)
- at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
- at java.net.Socket.connect(Socket.java:589)
- at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:668)
- at sun.net.NetworkClient.doConnect(NetworkClient.java:175)
- at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
- at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
- at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:264)
- at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:367)
- at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191)
- at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1181)
- at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1032)
- at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177)
- at sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(HttpURLConnection.java:1316)
- at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1291)
- at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:250)
- at com.sun.xml.internal.ws.transport.http.client.HttpClientTransport.getOutput(HttpClientTransport.java:104)
- ... 50 more
- 14.08 17:51:01.574 ERROR [GlobusLoyaltyPlugin] [SapLoyaltyClient] Received HTTP response code 0
- 14.08 17:51:01.582 ERROR [GlobusLoyaltyPlugin] Failed to send feedback
- ru.crystals.api.plugins.globus.client.NetworkException: com.sun.xml.internal.ws.client.ClientTransportException: HTTP transport error: java.net.UnknownHostException: vhhypdk5wd01.hec.ru.globusgrp.org
- at ru.crystals.api.plugins.globus.client.loyalty.SapLoyaltyClient.sendReceipts(SapLoyaltyClient.java:44)
- at ru.crystals.api.plugins.globus.loyalty.FeedbackRoutine.onSendFeedback(FeedbackRoutine.java:91)
- at ru.crystals.api.plugins.globus.loyalty.FeedbackRoutine.sendStaleFeedback(FeedbackRoutine.java:61)
- at ru.crystals.api.plugins.globus.loyalty.GlobusLoyaltyPlugin.onSendFeedback(GlobusLoyaltyPlugin.java:206)
- at ru.crystals.pos.loyal.setapi.SetApiLoyFeedbackSender.sendFeedback(SetApiLoyFeedbackSender.java:88)
- at ru.crystals.pos.loyal.setapi.SetApiLoyFeedbackSender.sendFeedback(SetApiLoyFeedbackSender.java:76)
- at ru.crystals.pos.loyal.SetApiPluginLoyProvider.sendFeedback(SetApiPluginLoyProvider.java:412)
- at ru.crystals.loyal.providers.SendFeedbackTask.doSendFeedback(SendFeedbackTask.java:78)
- at ru.crystals.loyal.providers.SendFeedbackTask.run(SendFeedbackTask.java:54)
- at ru.crystals.pos.InternalCashPoolExecutorImpl.lambda$submit$2(InternalCashPoolExecutorImpl.java:115)
- at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
- at java.util.concurrent.FutureTask.run(FutureTask.java:266)
- at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
- at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
- at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
- at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
- at java.lang.Thread.run(Thread.java:745)
- Caused by: com.sun.xml.internal.ws.client.ClientTransportException: HTTP transport error: java.net.UnknownHostException: vhhypdk5wd01.hec.ru.globusgrp.org
- at com.sun.xml.internal.ws.transport.http.client.HttpClientTransport.getOutput(HttpClientTransport.java:117)
- at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:208)
- at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:130)
- at com.sun.xml.internal.ws.transport.DeferredTransportPipe.processRequest(DeferredTransportPipe.java:124)
- at com.sun.xml.internal.ws.api.pipe.Fiber.__doRun(Fiber.java:1121)
- at com.sun.xml.internal.ws.api.pipe.Fiber._doRun(Fiber.java:1035)
- at com.sun.xml.internal.ws.api.pipe.Fiber.doRun(Fiber.java:1004)
- at com.sun.xml.internal.ws.api.pipe.Fiber.runSync(Fiber.java:862)
- at com.sun.xml.internal.ws.client.Stub.process(Stub.java:448)
- at com.sun.xml.internal.ws.client.sei.SEIStub.doProcess(SEIStub.java:178)
- at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:93)
- at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:77)
- at com.sun.xml.internal.ws.client.sei.SEIStub.invoke(SEIStub.java:147)
- at com.sun.proxy.$Proxy214.posReceiptCSI(Unknown Source)
- at ru.crystals.api.plugins.globus.client.loyalty.SapLoyaltyClient.sendReceipts(SapLoyaltyClient.java:38)
- ... 16 more
- Caused by: java.net.UnknownHostException: vhhypdk5wd01.hec.ru.globusgrp.org
- at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184)
- at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
- at java.net.Socket.connect(Socket.java:589)
- at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:668)
- at sun.net.NetworkClient.doConnect(NetworkClient.java:175)
- at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
- at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
- at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:264)
- at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:367)
- at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191)
- at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1181)
- at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1032)
- at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177)
- at sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(HttpURLConnection.java:1316)
- at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1291)
- at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:250)
- at com.sun.xml.internal.ws.transport.http.client.HttpClientTransport.getOutput(HttpClientTransport.java:104)
- ... 30 more
- 14.08 17:51:01.584 ERROR [GlobusLoyaltyPlugin] Failed to send feedback: SAP has responded with error
- 14.08 17:51:06.979 DEBUG [GlobusCardPlugin] [SapCardClientPosProxy] Card info request via proxy for card "null" as FULL with force refresh true
- 14.08 17:51:06.979 DEBUG [GlobusCardPlugin] [SapCardClient] Sending card request...
- 14.08 17:51:06.984 DEBUG [GlobusCardPlugin] [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/">
- <SOAP-ENV:Header/>
- <S:Body>
- <ns2:ZNEW_POS_MT_Request xmlns:ns2="urn:sap-com:document:sap:soap:functions:pos">
- <Request>
- <OperationHeader>
- <OperationDate>2019-08-14</OperationDate>
- <OperationTime>17:51:06</OperationTime>
- <OperationTimeZone>MSK03</OperationTimeZone>
- <CashierId>1</CashierId>
- <NumberShiftId>25</NumberShiftId>
- <TypeTerminalId>1</TypeTerminalId>
- <TerminalId>1</TerminalId>
- <RetailStoreId>3388</RetailStoreId>
- </OperationHeader>
- <LoyaltyIdentifier>
- <Type>01</Type>
- </LoyaltyIdentifier>
- </Request>
- </ns2:ZNEW_POS_MT_Request>
- </S:Body>
- </S:Envelope>
- 14.08 17:51:06.984 ERROR [GlobusCardPlugin] [SapCardClient] Received HTTP response code 0
- 14.08 17:51:06.984 ERROR [GlobusCardPlugin] [SapCardClientPosProxy] Failed to get response from SAP, caching result as a null response
- 14.08 17:51:06.984 ERROR [GlobusCardPlugin] Failed to refresh card info
- ru.crystals.api.plugins.globus.client.NetworkException: com.sun.xml.internal.ws.client.ClientTransportException: HTTP transport error: java.net.UnknownHostException: vhhypdk5wd01.hec.ru.globusgrp.org
- at ru.crystals.api.plugins.globus.client.SapCardClient.getCardInfo(SapCardClient.java:47)
- at ru.crystals.api.plugins.globus.client.SapCardClientPosProxy.sendRequestAndCacheResult(SapCardClientPosProxy.java:65)
- at ru.crystals.api.plugins.globus.client.SapCardClientPosProxy.getCardInfo(SapCardClientPosProxy.java:46)
- at ru.crystals.api.plugins.globus.client.SapCardClientPosProxy.getCardInfo(SapCardClientPosProxy.java:33)
- at ru.crystals.api.plugins.globus.client.SapCardClientPosProxy.getShortCardInfo(SapCardClientPosProxy.java:111)
- at ru.crystals.api.plugins.globus.loyalty.PromoActionsHolder.getAvailableActions(PromoActionsHolder.java:54)
- at ru.crystals.api.plugins.globus.loyalty.GlobusLoyaltyPlugin.resolve(GlobusLoyaltyPlugin.java:109)
- at ru.crystals.pos.loyal.SetApiPluginLoyProvider.lambda$onDiscountCalculationStarted$0(SetApiPluginLoyProvider.java:218)
- at ru.crystalservice.setv6.discounts.plugins.ExternalSystemResolutionCondition.isConditionExecuted(ExternalSystemResolutionCondition.java:28)
- at ru.crystals.loyal.calculation.DiscountCalculationUtils.executeConditionPlugin(DiscountCalculationUtils.java:1788)
- at ru.crystals.loyal.calculation.DiscountCalculationUtils.lambda$areConditionsMet$10(DiscountCalculationUtils.java:1769)
- at java.util.stream.MatchOps$1MatchSink.accept(MatchOps.java:90)
- at java.util.ArrayList$ArrayListSpliterator.tryAdvance(ArrayList.java:1351)
- at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
- at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
- at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
- at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
- at java.util.stream.MatchOps$MatchOp.evaluateSequential(MatchOps.java:230)
- at java.util.stream.MatchOps$MatchOp.evaluateSequential(MatchOps.java:196)
- at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
- at java.util.stream.ReferencePipeline.allMatch(ReferencePipeline.java:454)
- at ru.crystals.loyal.calculation.DiscountCalculationUtils.areConditionsMet(DiscountCalculationUtils.java:1769)
- at ru.crystals.loyal.calculation.AdvertisingActionUtils.conditionsMet(AdvertisingActionUtils.java:290)
- at ru.crystals.loyal.calculation.AdvertisingActionUtils.getBonusDiscountActions(AdvertisingActionUtils.java:336)
- at ru.crystals.loyal.calculation.AdvertisingActionUtils.getChargedAlreadyBonusDiscountActions(AdvertisingActionUtils.java:475)
- at ru.crystals.loyal.calculation.CycleProcessing.calculate(CycleProcessing.java:254)
- at ru.crystals.loyal.calculation.DoProcessing.doDiscount(DoProcessing.java:57)
- at ru.crystals.loyal.providers.ClassicSetLoyProvider.process(ClassicSetLoyProvider.java:106)
- at ru.crystals.loyal.providers.LoyProvidersRegistryImpl.process(LoyProvidersRegistryImpl.java:124)
- at ru.crystals.pos.loyal.cash.service.LoyalServiceImpl.calcDiscounts(LoyalServiceImpl.java:780)
- at ru.crystals.pos.loyal.cash.service.LoyalServiceImpl.doLoyalty(LoyalServiceImpl.java:709)
- at ru.crystals.pos.loyal.cash.service.LoyalServiceImpl.doDiscount(LoyalServiceImpl.java:820)
- at ru.crystals.pos.loyal.bridge.service.LoyalBridgeServiceImpl.doDiscount(LoyalBridgeServiceImpl.java:162)
- at ru.crystals.pos.techprocess.TechProcessImpl.applyDiscountsAndGetResult(TechProcessImpl.java:3784)
- at ru.crystals.pos.techprocess.TechProcessImpl.subtotalScenario(TechProcessImpl.java:3354)
- at ru.crystals.pos.visualization.check.CheckContainer.startSubtotalScenario(CheckContainer.java:1541)
- at ru.crystals.pos.visualization.check.CheckContainer.subtotalProcessPurchaseState(CheckContainer.java:1513)
- at ru.crystals.pos.visualization.check.CheckContainer.subtotal(CheckContainer.java:1410)
- at ru.crystals.pos.visualization.components.MainWindow.subTotal(MainWindow.java:798)
- at ru.crystals.pos.visualization.Factory.eventFunctionKey(Factory.java:582)
- at ru.crystals.pos.techprocess.TechProcessImpl.eventFunctionKey(TechProcessImpl.java:4389)
- at ru.crystals.pos.CashEventSource.sentOldKey(CashEventSource.java:165)
- at ru.crystals.pos.CashEventSource.process(CashEventSource.java:138)
- at ru.crystals.pos.CashEventSource.processEvent(CashEventSource.java:118)
- at ru.crystals.pos.CashEventSource.run(CashEventSource.java:101)
- at ru.crystals.pos.InternalCashPoolExecutorImpl.lambda$submit$2(InternalCashPoolExecutorImpl.java:115)
- at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
- at java.util.concurrent.FutureTask.run(FutureTask.java:266)
- at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
- at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
- at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
- at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
- at java.lang.Thread.run(Thread.java:745)
- Caused by: com.sun.xml.internal.ws.client.ClientTransportException: HTTP transport error: java.net.UnknownHostException: vhhypdk5wd01.hec.ru.globusgrp.org
- at com.sun.xml.internal.ws.transport.http.client.HttpClientTransport.getOutput(HttpClientTransport.java:117)
- at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:208)
- at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:130)
- at com.sun.xml.internal.ws.transport.DeferredTransportPipe.processRequest(DeferredTransportPipe.java:124)
- at com.sun.xml.internal.ws.api.pipe.Fiber.__doRun(Fiber.java:1121)
- at com.sun.xml.internal.ws.api.pipe.Fiber._doRun(Fiber.java:1035)
- at com.sun.xml.internal.ws.api.pipe.Fiber.doRun(Fiber.java:1004)
- at com.sun.xml.internal.ws.api.pipe.Fiber.runSync(Fiber.java:862)
- at com.sun.xml.internal.ws.client.Stub.process(Stub.java:448)
- at com.sun.xml.internal.ws.client.sei.SEIStub.doProcess(SEIStub.java:178)
- at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:93)
- at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:77)
- at com.sun.xml.internal.ws.client.sei.SEIStub.invoke(SEIStub.java:147)
- at com.sun.proxy.$Proxy212.getCardNKS(Unknown Source)
- at ru.crystals.api.plugins.globus.client.SapCardClient.getCardInfo(SapCardClient.java:40)
- ... 52 more
- Caused by: java.net.UnknownHostException: vhhypdk5wd01.hec.ru.globusgrp.org
- at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184)
- at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
- at java.net.Socket.connect(Socket.java:589)
- at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:668)
- at sun.net.NetworkClient.doConnect(NetworkClient.java:175)
- at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
- at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
- at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:264)
- at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:367)
- at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191)
- at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1181)
- at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1032)
- at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177)
- at sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(HttpURLConnection.java:1316)
- at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1291)
- at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:250)
- at com.sun.xml.internal.ws.transport.http.client.HttpClientTransport.getOutput(HttpClientTransport.java:104)
- ... 66 more
- 14.08 17:51:06.986 INFO [GlobusLoyaltyPlugin] Active card is not found in SAP
- 14.08 17:51:10.440 DEBUG [GlobusCardPlugin] Searching card "2037215727383", POS operation mode SALE
- 14.08 17:51:10.440 DEBUG [GlobusCardPlugin] [SapCardClientPosProxy] Card info request via proxy for card "2037215727383" as FULL with force refresh false
- 14.08 17:51:10.440 DEBUG [GlobusCardPlugin] [SapCardClientPosProxy] No cached entry for CachedResponseMapKey{fullInfo=true, cardNumber='2037215727383'}, making a real call to the processing
- 14.08 17:51:10.440 DEBUG [GlobusCardPlugin] [SapCardClient] Sending card request...
- 14.08 17:51:10.451 DEBUG [GlobusCardPlugin] [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/">
- <SOAP-ENV:Header/>
- <S:Body>
- <ns2:ZNEW_POS_MT_Request xmlns:ns2="urn:sap-com:document:sap:soap:functions:pos">
- <Request>
- <OperationHeader>
- <OperationDate>2019-08-14</OperationDate>
- <OperationTime>17:51:10</OperationTime>
- <OperationTimeZone>MSK03</OperationTimeZone>
- <CashierId>1</CashierId>
- <NumberShiftId>25</NumberShiftId>
- <TypeTerminalId>1</TypeTerminalId>
- <TerminalId>1</TerminalId>
- <RetailStoreId>3388</RetailStoreId>
- </OperationHeader>
- <LoyaltyIdentifier>
- <Type>01</Type>
- <Id>2037215727383</Id>
- </LoyaltyIdentifier>
- </Request>
- </ns2:ZNEW_POS_MT_Request>
- </S:Body>
- </S:Envelope>
- 14.08 17:51:10.451 ERROR [GlobusCardPlugin] [SapCardClient] Received HTTP response code 0
- 14.08 17:51:10.451 ERROR [GlobusCardPlugin] [SapCardClientPosProxy] Failed to get response from SAP, caching result as a null response
- 14.08 17:51:10.451 ERROR [GlobusCardPlugin]
- ru.crystals.api.plugins.globus.client.NetworkException: com.sun.xml.internal.ws.client.ClientTransportException: HTTP transport error: java.net.UnknownHostException: vhhypdk5wd01.hec.ru.globusgrp.org
- at ru.crystals.api.plugins.globus.client.SapCardClient.getCardInfo(SapCardClient.java:47)
- at ru.crystals.api.plugins.globus.client.SapCardClientPosProxy.sendRequestAndCacheResult(SapCardClientPosProxy.java:65)
- at ru.crystals.api.plugins.globus.client.SapCardClientPosProxy.getCardInfo(SapCardClientPosProxy.java:51)
- at ru.crystals.api.plugins.globus.client.SapCardClientPosProxy.getCardInfo(SapCardClientPosProxy.java:33)
- at ru.crystals.api.plugins.globus.cards.GlobusCardPlugin.searchCard(GlobusCardPlugin.java:92)
- at ru.crystals.pos.cards.service.search.SetApiCardFinder.findCard(SetApiCardFinder.java:50)
- at ru.crystals.pos.cards.service.search.CardFinderChain.findCard(CardFinderChain.java:48)
- at ru.crystals.pos.cards.service.CardsServiceImpl.getCardTypeEntity(CardsServiceImpl.java:399)
- at ru.crystals.pos.cards.service.CardsServiceImpl.getCardType(CardsServiceImpl.java:507)
- at ru.crystals.pos.techprocess.TechProcessSearch.lambda$getCardType$0(TechProcessSearch.java:359)
- at ru.crystals.pos.techprocess.TechProcessSearch.tryGetCardTypeNotFromCardRange(TechProcessSearch.java:377)
- at ru.crystals.pos.techprocess.TechProcessSearch.getCardType(TechProcessSearch.java:359)
- at ru.crystals.pos.techprocess.TechProcessSearch.searchCard(TechProcessSearch.java:264)
- at ru.crystals.pos.techprocess.TechProcessImpl.searchCard(TechProcessImpl.java:4220)
- at ru.crystals.pos.visualization.check.CheckContainer.searchCardByBarcode(CheckContainer.java:2035)
- at ru.crystals.pos.visualization.check.CheckContainer.barcodeInAddPayment(CheckContainer.java:2306)
- at ru.crystals.pos.visualization.check.CheckContainer.processBarcodeOnAddPayment(CheckContainer.java:2167)
- at ru.crystals.pos.visualization.check.CheckContainer.barcode(CheckContainer.java:2101)
- at ru.crystals.pos.visualization.check.CheckContainer.barcode(CheckContainer.java:2075)
- at ru.crystals.pos.visualization.components.MainWindow.barcode(MainWindow.java:1127)
- at ru.crystals.pos.visualization.Factory.eventBarcode(Factory.java:796)
- at ru.crystals.pos.techprocess.TechProcessImpl.eventBarcodeScanner(TechProcessImpl.java:4315)
- at ru.crystals.pos.CashEventSource.process(CashEventSource.java:308)
- at ru.crystals.pos.CashEventSource.processEvent(CashEventSource.java:120)
- at ru.crystals.pos.CashEventSource.run(CashEventSource.java:101)
- at ru.crystals.pos.InternalCashPoolExecutorImpl.lambda$submit$2(InternalCashPoolExecutorImpl.java:115)
- at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
- at java.util.concurrent.FutureTask.run(FutureTask.java:266)
- at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
- at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
- at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
- at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
- at java.lang.Thread.run(Thread.java:745)
- Caused by: com.sun.xml.internal.ws.client.ClientTransportException: HTTP transport error: java.net.UnknownHostException: vhhypdk5wd01.hec.ru.globusgrp.org
- at com.sun.xml.internal.ws.transport.http.client.HttpClientTransport.getOutput(HttpClientTransport.java:117)
- at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:208)
- at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:130)
- at com.sun.xml.internal.ws.transport.DeferredTransportPipe.processRequest(DeferredTransportPipe.java:95)
- at com.sun.xml.internal.ws.api.pipe.Fiber.__doRun(Fiber.java:1121)
- at com.sun.xml.internal.ws.api.pipe.Fiber._doRun(Fiber.java:1035)
- at com.sun.xml.internal.ws.api.pipe.Fiber.doRun(Fiber.java:1004)
- at com.sun.xml.internal.ws.api.pipe.Fiber.runSync(Fiber.java:862)
- at com.sun.xml.internal.ws.client.Stub.process(Stub.java:448)
- at com.sun.xml.internal.ws.client.sei.SEIStub.doProcess(SEIStub.java:178)
- at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:93)
- at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:77)
- at com.sun.xml.internal.ws.client.sei.SEIStub.invoke(SEIStub.java:147)
- at com.sun.proxy.$Proxy212.getCardNKS(Unknown Source)
- at ru.crystals.api.plugins.globus.client.SapCardClient.getCardInfo(SapCardClient.java:40)
- ... 32 more
- Caused by: java.net.UnknownHostException: vhhypdk5wd01.hec.ru.globusgrp.org
- at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184)
- at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
- at java.net.Socket.connect(Socket.java:589)
- at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:668)
- at sun.net.NetworkClient.doConnect(NetworkClient.java:175)
- at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
- at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
- at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:264)
- at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:367)
- at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191)
- at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1181)
- at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1032)
- at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177)
- at sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(HttpURLConnection.java:1316)
- at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1291)
- at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:250)
- at com.sun.xml.internal.ws.transport.http.client.HttpClientTransport.getOutput(HttpClientTransport.java:104)
- ... 46 more
- 14.08 17:51:13.121 DEBUG [GlobusCardPlugin] [SapCardClientPosProxy] Card info request via proxy for card "2037215727383" as SHORT with force refresh true
- 14.08 17:51:13.121 DEBUG [GlobusCardPlugin] [SapCardClient] Sending card request...
- 14.08 17:51:13.126 DEBUG [GlobusCardPlugin] [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/">
- <SOAP-ENV:Header/>
- <S:Body>
- <ns2:ZNEW_POS_MT_Request xmlns:ns2="urn:sap-com:document:sap:soap:functions:pos">
- <Request>
- <OperationHeader>
- <OperationDate>2019-08-14</OperationDate>
- <OperationTime>17:51:13</OperationTime>
- <OperationTimeZone>MSK03</OperationTimeZone>
- <CashierId>1</CashierId>
- <NumberShiftId>25</NumberShiftId>
- <TypeTerminalId>1</TypeTerminalId>
- <TerminalId>1</TerminalId>
- <RetailStoreId>3388</RetailStoreId>
- <RepeatCall>1</RepeatCall>
- </OperationHeader>
- <LoyaltyIdentifier>
- <Type>01</Type>
- <Id>2037215727383</Id>
- </LoyaltyIdentifier>
- </Request>
- </ns2:ZNEW_POS_MT_Request>
- </S:Body>
- </S:Envelope>
- 14.08 17:51:23.034 ERROR [GlobusCardPlugin] [SapCardClient] Received HTTP response code 0
- 14.08 17:51:23.034 ERROR [GlobusCardPlugin] [SapCardClientPosProxy] Failed to get response from SAP, caching result as a null response
- 14.08 17:51:23.035 ERROR [GlobusCardPlugin] Failed to refresh card info
- ru.crystals.api.plugins.globus.client.NetworkException: com.sun.xml.internal.ws.client.ClientTransportException: HTTP transport error: java.net.UnknownHostException: vhhypdk5wd01.hec.ru.globusgrp.org
- at ru.crystals.api.plugins.globus.client.SapCardClient.getCardInfo(SapCardClient.java:47)
- at ru.crystals.api.plugins.globus.client.SapCardClientPosProxy.sendRequestAndCacheResult(SapCardClientPosProxy.java:65)
- at ru.crystals.api.plugins.globus.client.SapCardClientPosProxy.getCardInfo(SapCardClientPosProxy.java:46)
- at ru.crystals.api.plugins.globus.client.SapCardClientPosProxy.getCardInfo(SapCardClientPosProxy.java:33)
- at ru.crystals.api.plugins.globus.client.SapCardClientPosProxy.getShortCardInfo(SapCardClientPosProxy.java:109)
- at ru.crystals.api.plugins.globus.loyalty.GlobusLoyaltyPlugin.doDiscount(GlobusLoyaltyPlugin.java:87)
- at ru.crystals.pos.loyal.SetApiPluginLoyProvider.process(SetApiPluginLoyProvider.java:171)
- at ru.crystals.loyal.providers.LoyProvidersRegistryImpl.process(LoyProvidersRegistryImpl.java:124)
- at ru.crystals.pos.loyal.cash.service.LoyalServiceImpl.calcDiscounts(LoyalServiceImpl.java:780)
- at ru.crystals.pos.loyal.cash.service.LoyalServiceImpl.doLoyalty(LoyalServiceImpl.java:709)
- at ru.crystals.pos.loyal.cash.service.LoyalServiceImpl.doDiscount(LoyalServiceImpl.java:820)
- at ru.crystals.pos.loyal.bridge.service.LoyalBridgeServiceImpl.doDiscount(LoyalBridgeServiceImpl.java:162)
- at ru.crystals.pos.techprocess.TechProcessImpl.applyDiscountsAndGetResult(TechProcessImpl.java:3784)
- at ru.crystals.pos.techprocess.TechProcessImpl.subtotalScenario(TechProcessImpl.java:3354)
- at ru.crystals.pos.visualization.check.CheckContainer.startSubtotalScenario(CheckContainer.java:1541)
- at ru.crystals.pos.visualization.check.CheckContainer.subtotalProcessPurchaseState(CheckContainer.java:1524)
- at ru.crystals.pos.visualization.check.CheckContainer.subtotal(CheckContainer.java:1421)
- at ru.crystals.pos.visualization.check.CheckContainer.eventAddCardAfterSubtotal(CheckContainer.java:1592)
- at ru.crystals.pos.visualization.Factory.eventAddCardAfterSubtotal(Factory.java:1596)
- at ru.crystals.pos.techprocess.TechProcessEventsImpl.sendEventAddCardAfterSubtotal(TechProcessEventsImpl.java:916)
- at ru.crystals.pos.techprocess.TechProcessSearch.addCard(TechProcessSearch.java:136)
- at ru.crystals.pos.techprocess.TechProcessSearch.searchCard(TechProcessSearch.java:305)
- at ru.crystals.pos.techprocess.TechProcessImpl.searchCard(TechProcessImpl.java:4220)
- at ru.crystals.pos.visualization.check.CheckContainer.searchCardByBarcode(CheckContainer.java:2035)
- at ru.crystals.pos.visualization.check.CheckContainer.barcodeInAddPayment(CheckContainer.java:2306)
- at ru.crystals.pos.visualization.check.CheckContainer.processBarcodeOnAddPayment(CheckContainer.java:2167)
- at ru.crystals.pos.visualization.check.CheckContainer.barcode(CheckContainer.java:2101)
- at ru.crystals.pos.visualization.check.CheckContainer.barcode(CheckContainer.java:2075)
- at ru.crystals.pos.visualization.components.MainWindow.barcode(MainWindow.java:1127)
- at ru.crystals.pos.visualization.Factory.eventBarcode(Factory.java:796)
- at ru.crystals.pos.techprocess.TechProcessImpl.eventBarcodeScanner(TechProcessImpl.java:4315)
- at ru.crystals.pos.CashEventSource.process(CashEventSource.java:308)
- at ru.crystals.pos.CashEventSource.processEvent(CashEventSource.java:120)
- at ru.crystals.pos.CashEventSource.run(CashEventSource.java:101)
- at ru.crystals.pos.InternalCashPoolExecutorImpl.lambda$submit$2(InternalCashPoolExecutorImpl.java:115)
- at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
- at java.util.concurrent.FutureTask.run(FutureTask.java:266)
- at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
- at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
- at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
- at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
- at java.lang.Thread.run(Thread.java:745)
- Caused by: com.sun.xml.internal.ws.client.ClientTransportException: HTTP transport error: java.net.UnknownHostException: vhhypdk5wd01.hec.ru.globusgrp.org
- at com.sun.xml.internal.ws.transport.http.client.HttpClientTransport.getOutput(HttpClientTransport.java:117)
- at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:208)
- at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:130)
- at com.sun.xml.internal.ws.transport.DeferredTransportPipe.processRequest(DeferredTransportPipe.java:95)
- at com.sun.xml.internal.ws.api.pipe.Fiber.__doRun(Fiber.java:1121)
- at com.sun.xml.internal.ws.api.pipe.Fiber._doRun(Fiber.java:1035)
- at com.sun.xml.internal.ws.api.pipe.Fiber.doRun(Fiber.java:1004)
- at com.sun.xml.internal.ws.api.pipe.Fiber.runSync(Fiber.java:862)
- at com.sun.xml.internal.ws.client.Stub.process(Stub.java:448)
- at com.sun.xml.internal.ws.client.sei.SEIStub.doProcess(SEIStub.java:178)
- at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:93)
- at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:77)
- at com.sun.xml.internal.ws.client.sei.SEIStub.invoke(SEIStub.java:147)
- at com.sun.proxy.$Proxy212.getCardNKS(Unknown Source)
- at ru.crystals.api.plugins.globus.client.SapCardClient.getCardInfo(SapCardClient.java:40)
- ... 41 more
- Caused by: java.net.UnknownHostException: vhhypdk5wd01.hec.ru.globusgrp.org
- at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184)
- at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
- at java.net.Socket.connect(Socket.java:589)
- at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:668)
- at sun.net.NetworkClient.doConnect(NetworkClient.java:175)
- at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
- at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
- at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:264)
- at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:367)
- at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191)
- at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1181)
- at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1032)
- at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177)
- at sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(HttpURLConnection.java:1316)
- at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1291)
- at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:250)
- at com.sun.xml.internal.ws.transport.http.client.HttpClientTransport.getOutput(HttpClientTransport.java:104)
- ... 55 more
- 14.08 17:51:23.040 DEBUG [GlobusCardPlugin] [SapCardClientPosProxy] Card info request via proxy for card "2037215727383" as SHORT with force refresh true
- 14.08 17:51:23.041 DEBUG [GlobusCardPlugin] [SapCardClient] Sending card request...
- 14.08 17:51:23.050 DEBUG [GlobusCardPlugin] [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/">
- <SOAP-ENV:Header/>
- <S:Body>
- <ns2:ZNEW_POS_MT_Request xmlns:ns2="urn:sap-com:document:sap:soap:functions:pos">
- <Request>
- <OperationHeader>
- <OperationDate>2019-08-14</OperationDate>
- <OperationTime>17:51:23</OperationTime>
- <OperationTimeZone>MSK03</OperationTimeZone>
- <CashierId>1</CashierId>
- <NumberShiftId>25</NumberShiftId>
- <TypeTerminalId>1</TypeTerminalId>
- <TerminalId>1</TerminalId>
- <RetailStoreId>3388</RetailStoreId>
- <RepeatCall>1</RepeatCall>
- </OperationHeader>
- <LoyaltyIdentifier>
- <Type>01</Type>
- <Id>2037215727383</Id>
- </LoyaltyIdentifier>
- </Request>
- </ns2:ZNEW_POS_MT_Request>
- </S:Body>
- </S:Envelope>
- 14.08 17:51:23.051 ERROR [GlobusCardPlugin] [SapCardClient] Received HTTP response code 0
- 14.08 17:51:23.051 ERROR [GlobusCardPlugin] [SapCardClientPosProxy] Failed to get response from SAP, caching result as a null response
- 14.08 17:51:23.051 ERROR [GlobusCardPlugin] Failed to refresh card info
- ru.crystals.api.plugins.globus.client.NetworkException: com.sun.xml.internal.ws.client.ClientTransportException: HTTP transport error: java.net.UnknownHostException: vhhypdk5wd01.hec.ru.globusgrp.org
- at ru.crystals.api.plugins.globus.client.SapCardClient.getCardInfo(SapCardClient.java:47)
- at ru.crystals.api.plugins.globus.client.SapCardClientPosProxy.sendRequestAndCacheResult(SapCardClientPosProxy.java:65)
- at ru.crystals.api.plugins.globus.client.SapCardClientPosProxy.getCardInfo(SapCardClientPosProxy.java:46)
- at ru.crystals.api.plugins.globus.client.SapCardClientPosProxy.getCardInfo(SapCardClientPosProxy.java:33)
- at ru.crystals.api.plugins.globus.client.SapCardClientPosProxy.getShortCardInfo(SapCardClientPosProxy.java:109)
- at ru.crystals.api.plugins.globus.loyalty.PromoActionsHolder.getAvailableActions(PromoActionsHolder.java:54)
- at ru.crystals.api.plugins.globus.loyalty.GlobusLoyaltyPlugin.resolve(GlobusLoyaltyPlugin.java:109)
- at ru.crystals.pos.loyal.SetApiPluginLoyProvider.lambda$onDiscountCalculationStarted$0(SetApiPluginLoyProvider.java:218)
- at ru.crystalservice.setv6.discounts.plugins.ExternalSystemResolutionCondition.isConditionExecuted(ExternalSystemResolutionCondition.java:28)
- at ru.crystals.loyal.calculation.DiscountCalculationUtils.executeConditionPlugin(DiscountCalculationUtils.java:1788)
- at ru.crystals.loyal.calculation.DiscountCalculationUtils.lambda$areConditionsMet$10(DiscountCalculationUtils.java:1769)
- at java.util.stream.MatchOps$1MatchSink.accept(MatchOps.java:90)
- at java.util.ArrayList$ArrayListSpliterator.tryAdvance(ArrayList.java:1351)
- at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
- at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
- at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
- at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
- at java.util.stream.MatchOps$MatchOp.evaluateSequential(MatchOps.java:230)
- at java.util.stream.MatchOps$MatchOp.evaluateSequential(MatchOps.java:196)
- at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
- at java.util.stream.ReferencePipeline.allMatch(ReferencePipeline.java:454)
- at ru.crystals.loyal.calculation.DiscountCalculationUtils.areConditionsMet(DiscountCalculationUtils.java:1769)
- at ru.crystals.loyal.calculation.AdvertisingActionUtils.conditionsMet(AdvertisingActionUtils.java:290)
- at ru.crystals.loyal.calculation.AdvertisingActionUtils.getBonusDiscountActions(AdvertisingActionUtils.java:336)
- at ru.crystals.loyal.calculation.AdvertisingActionUtils.getChargedAlreadyBonusDiscountActions(AdvertisingActionUtils.java:475)
- at ru.crystals.loyal.calculation.CycleProcessing.calculate(CycleProcessing.java:254)
- at ru.crystals.loyal.calculation.DoProcessing.doDiscount(DoProcessing.java:57)
- at ru.crystals.loyal.providers.ClassicSetLoyProvider.process(ClassicSetLoyProvider.java:106)
- at ru.crystals.loyal.providers.LoyProvidersRegistryImpl.process(LoyProvidersRegistryImpl.java:124)
- at ru.crystals.pos.loyal.cash.service.LoyalServiceImpl.calcDiscounts(LoyalServiceImpl.java:780)
- at ru.crystals.pos.loyal.cash.service.LoyalServiceImpl.doLoyalty(LoyalServiceImpl.java:709)
- at ru.crystals.pos.loyal.cash.service.LoyalServiceImpl.doDiscount(LoyalServiceImpl.java:820)
- at ru.crystals.pos.loyal.bridge.service.LoyalBridgeServiceImpl.doDiscount(LoyalBridgeServiceImpl.java:162)
- at ru.crystals.pos.techprocess.TechProcessImpl.applyDiscountsAndGetResult(TechProcessImpl.java:3784)
- at ru.crystals.pos.techprocess.TechProcessImpl.subtotalScenario(TechProcessImpl.java:3354)
- at ru.crystals.pos.visualization.check.CheckContainer.startSubtotalScenario(CheckContainer.java:1541)
- at ru.crystals.pos.visualization.check.CheckContainer.subtotalProcessPurchaseState(CheckContainer.java:1524)
- at ru.crystals.pos.visualization.check.CheckContainer.subtotal(CheckContainer.java:1421)
- at ru.crystals.pos.visualization.check.CheckContainer.eventAddCardAfterSubtotal(CheckContainer.java:1592)
- at ru.crystals.pos.visualization.Factory.eventAddCardAfterSubtotal(Factory.java:1596)
- at ru.crystals.pos.techprocess.TechProcessEventsImpl.sendEventAddCardAfterSubtotal(TechProcessEventsImpl.java:916)
- at ru.crystals.pos.techprocess.TechProcessSearch.addCard(TechProcessSearch.java:136)
- at ru.crystals.pos.techprocess.TechProcessSearch.searchCard(TechProcessSearch.java:305)
- at ru.crystals.pos.techprocess.TechProcessImpl.searchCard(TechProcessImpl.java:4220)
- at ru.crystals.pos.visualization.check.CheckContainer.searchCardByBarcode(CheckContainer.java:2035)
- at ru.crystals.pos.visualization.check.CheckContainer.barcodeInAddPayment(CheckContainer.java:2306)
- at ru.crystals.pos.visualization.check.CheckContainer.processBarcodeOnAddPayment(CheckContainer.java:2167)
- at ru.crystals.pos.visualization.check.CheckContainer.barcode(CheckContainer.java:2101)
- at ru.crystals.pos.visualization.check.CheckContainer.barcode(CheckContainer.java:2075)
- at ru.crystals.pos.visualization.components.MainWindow.barcode(MainWindow.java:1127)
- at ru.crystals.pos.visualization.Factory.eventBarcode(Factory.java:796)
- at ru.crystals.pos.techprocess.TechProcessImpl.eventBarcodeScanner(TechProcessImpl.java:4315)
- at ru.crystals.pos.CashEventSource.process(CashEventSource.java:308)
- at ru.crystals.pos.CashEventSource.processEvent(CashEventSource.java:120)
- at ru.crystals.pos.CashEventSource.run(CashEventSource.java:101)
- at ru.crystals.pos.InternalCashPoolExecutorImpl.lambda$submit$2(InternalCashPoolExecutorImpl.java:115)
- at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
- at java.util.concurrent.FutureTask.run(FutureTask.java:266)
- at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
- at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
- at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
- at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
- at java.lang.Thread.run(Thread.java:745)
- Caused by: com.sun.xml.internal.ws.client.ClientTransportException: HTTP transport error: java.net.UnknownHostException: vhhypdk5wd01.hec.ru.globusgrp.org
- at com.sun.xml.internal.ws.transport.http.client.HttpClientTransport.getOutput(HttpClientTransport.java:117)
- at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:208)
- at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:130)
- at com.sun.xml.internal.ws.transport.DeferredTransportPipe.processRequest(DeferredTransportPipe.java:95)
- at com.sun.xml.internal.ws.api.pipe.Fiber.__doRun(Fiber.java:1121)
- at com.sun.xml.internal.ws.api.pipe.Fiber._doRun(Fiber.java:1035)
- at com.sun.xml.internal.ws.api.pipe.Fiber.doRun(Fiber.java:1004)
- at com.sun.xml.internal.ws.api.pipe.Fiber.runSync(Fiber.java:862)
- at com.sun.xml.internal.ws.client.Stub.process(Stub.java:448)
- at com.sun.xml.internal.ws.client.sei.SEIStub.doProcess(SEIStub.java:178)
- at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:93)
- at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:77)
- at com.sun.xml.internal.ws.client.sei.SEIStub.invoke(SEIStub.java:147)
- at com.sun.proxy.$Proxy212.getCardNKS(Unknown Source)
- at ru.crystals.api.plugins.globus.client.SapCardClient.getCardInfo(SapCardClient.java:40)
- ... 62 more
- Caused by: java.net.UnknownHostException: vhhypdk5wd01.hec.ru.globusgrp.org
- at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184)
- at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
- at java.net.Socket.connect(Socket.java:589)
- at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:668)
- at sun.net.NetworkClient.doConnect(NetworkClient.java:175)
- at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
- at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
- at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:264)
- at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:367)
- at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191)
- at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1181)
- at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1032)
- at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177)
- at sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(HttpURLConnection.java:1316)
- at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1291)
- at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:250)
- at com.sun.xml.internal.ws.transport.http.client.HttpClientTransport.getOutput(HttpClientTransport.java:104)
- ... 76 more
- 14.08 17:51:23.054 INFO [GlobusLoyaltyPlugin] Active card is not found in SAP
- 14.08 17:51:28.560 INFO [GlobusCardPlugin] Fiscalization called, clearing caches...
- 14.08 17:51:28.560 INFO [GlobusCardPlugin] [SapCardClientPosProxy] Clearing cache data for cards
- CachedResponseMapKey{fullInfo=true, cardNumber='null'}
- CachedResponseMapKey{fullInfo=false, cardNumber='2037215727383'}
- CachedResponseMapKey{fullInfo=true, cardNumber='2037215727383'}
- 14.08 17:51:28.560 INFO [GlobusCardPlugin] Done clearing caches
- 14.08 17:51:28.566 DEBUG [GlobusLoyaltyPlugin] eventBeforeReceiptFiscalized called for receipt 20
- 14.08 17:51:28.571 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/">
- <SOAP-ENV:Header/>
- <S:Body>
- <ns2:ZNEW_POS_R_MT_Request xmlns:ns2="urn:sap-com:document:sap:soap:functions:pos">
- <Request>
- <item>
- <RequestHeader>
- <OperationDate>2019-08-14</OperationDate>
- <OperationTime>17:51:06</OperationTime>
- <OperationTimeZone>MSK03</OperationTimeZone>
- <CashierId>1</CashierId>
- <TerminalId>1</TerminalId>
- <RetailStoreId>3388</RetailStoreId>
- <NumberShiftId>25</NumberShiftId>
- <TypeTerminalId>1</TypeTerminalId>
- <ReceiptNumber>20</ReceiptNumber>
- </RequestHeader>
- <OperationData>
- <QrCode>t=20190814T175100&s=1000.00&fn=9999078902001730&i=231&fp=2192085726&n=1</QrCode>
- <OperationType>01</OperationType>
- <LoyaltyCardNumber>2037215727383</LoyaltyCardNumber>
- <OfflineProcessing>false</OfflineProcessing>
- </OperationData>
- <ReceiptHeader>
- <ReceiptSum>1000.00</ReceiptSum>
- <ReceiptSumWithDiscount>1000.00</ReceiptSumWithDiscount>
- </ReceiptHeader>
- <ReceiptItems>
- <item>
- <ItemNumber>1</ItemNumber>
- <ProductId>4690207112482</ProductId>
- <Quantity>1</Quantity>
- <QuantityUnit>шт</QuantityUnit>
- <Price>1000.00</Price>
- <ItemTotalSumWithDiscount>1000.00</ItemTotalSumWithDiscount>
- <DepartmentCode>520701</DepartmentCode>
- </item>
- </ReceiptItems>
- <PromoActionsApplied/>
- <Payments>
- <item>
- <PaymentType>01</PaymentType>
- <Amount>1000.00</Amount>
- </item>
- </Payments>
- </item>
- </Request>
- </ns2:ZNEW_POS_R_MT_Request>
- </S:Body>
- </S:Envelope>
- 14.08 17:51:28.572 ERROR [GlobusLoyaltyPlugin] [SapLoyaltyClient] Received HTTP response code 0
- 14.08 17:51:28.572 ERROR [GlobusLoyaltyPlugin] Failed to send receipt 20 to SAP. Scheduling it to postponed queue
- ru.crystals.api.plugins.globus.client.NetworkException: com.sun.xml.internal.ws.client.ClientTransportException: HTTP transport error: java.net.UnknownHostException: vhhypdk5wd01.hec.ru.globusgrp.org
- at ru.crystals.api.plugins.globus.client.loyalty.SapLoyaltyClient.sendReceipts(SapLoyaltyClient.java:44)
- at ru.crystals.api.plugins.globus.loyalty.GlobusLoyaltyPlugin.onReceiptFiscalized(GlobusLoyaltyPlugin.java:152)
- at ru.crystals.pos.loyal.SetApiPluginLoyProvider.purchaseFiscalized(SetApiPluginLoyProvider.java:399)
- at ru.crystals.loyal.providers.LoyProvidersRegistryImpl.purchaseFiscalized(LoyProvidersRegistryImpl.java:362)
- at ru.crystals.pos.loyal.cash.service.LoyalServiceImpl.purchaseFiscalized(LoyalServiceImpl.java:1539)
- at ru.crystals.pos.loyal.bridge.service.LoyalBridgeServiceImpl.purchaseFiscalized(LoyalBridgeServiceImpl.java:189)
- at ru.crystals.pos.techprocess.ExternalProcessingsImpl.purchaseFiscalized(ExternalProcessingsImpl.java:212)
- at ru.crystals.pos.techprocess.TechProcessShift.printCheck(TechProcessShift.java:1795)
- at ru.crystals.pos.techprocess.TechProcessShift.fiscalizeCheck(TechProcessShift.java:1542)
- at ru.crystals.pos.techprocess.TechProcessShiftProxy.fiscalizeCheck(TechProcessShiftProxy.java:701)
- at ru.crystals.pos.techprocess.TechProcessImpl.fiscalizeCheck(TechProcessImpl.java:944)
- at ru.crystals.pos.visualization.check.CheckContainer.paymentComplete(CheckContainer.java:2700)
- at ru.crystals.pos.visualization.components.MainWindow.paymentComplete(MainWindow.java:845)
- at ru.crystals.pos.visualization.Factory.eventPaymentComplete(Factory.java:869)
- at ru.crystals.pos.techprocess.TechProcessImpl.paymentComplete(TechProcessImpl.java:4482)
- at ru.crystals.pos.check.service.CheckServiceImpl.addPayment(CheckServiceImpl.java:3977)
- at ru.crystals.pos.techprocess.TechProcessImpl.addPayment(TechProcessImpl.java:3932)
- at ru.crystals.pos.visualization.payments.PaymentContainer.doProcessPayment(PaymentContainer.java:387)
- at ru.crystals.pos.visualization.payments.PaymentContainer.processPayment(PaymentContainer.java:347)
- at ru.crystals.pos.visualization.payments.cash.CashPaymentContainer.enter(CashPaymentContainer.java:94)
- at ru.crystals.pos.visualization.components.CompositeContainer.enter(CompositeContainer.java:96)
- at ru.crystals.pos.visualization.check.CheckContainer.enter(CheckContainer.java:1892)
- at ru.crystals.pos.visualization.components.MainWindow.enter(MainWindow.java:1086)
- at ru.crystals.pos.visualization.Factory.eventControlKey(Factory.java:526)
- at ru.crystals.pos.techprocess.TechProcessImpl.eventControlKey(TechProcessImpl.java:4360)
- at ru.crystals.pos.CashEventSource.sentOldKey(CashEventSource.java:167)
- at ru.crystals.pos.CashEventSource.process(CashEventSource.java:138)
- at ru.crystals.pos.CashEventSource.processEvent(CashEventSource.java:118)
- at ru.crystals.pos.CashEventSource.run(CashEventSource.java:101)
- at ru.crystals.pos.InternalCashPoolExecutorImpl.lambda$submit$2(InternalCashPoolExecutorImpl.java:115)
- at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
- at java.util.concurrent.FutureTask.run(FutureTask.java:266)
- at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
- at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
- at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
- at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
- at java.lang.Thread.run(Thread.java:745)
- Caused by: com.sun.xml.internal.ws.client.ClientTransportException: HTTP transport error: java.net.UnknownHostException: vhhypdk5wd01.hec.ru.globusgrp.org
- at com.sun.xml.internal.ws.transport.http.client.HttpClientTransport.getOutput(HttpClientTransport.java:117)
- at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:208)
- at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:130)
- at com.sun.xml.internal.ws.transport.DeferredTransportPipe.processRequest(DeferredTransportPipe.java:95)
- at com.sun.xml.internal.ws.api.pipe.Fiber.__doRun(Fiber.java:1121)
- at com.sun.xml.internal.ws.api.pipe.Fiber._doRun(Fiber.java:1035)
- at com.sun.xml.internal.ws.api.pipe.Fiber.doRun(Fiber.java:1004)
- at com.sun.xml.internal.ws.api.pipe.Fiber.runSync(Fiber.java:862)
- at com.sun.xml.internal.ws.client.Stub.process(Stub.java:448)
- at com.sun.xml.internal.ws.client.sei.SEIStub.doProcess(SEIStub.java:178)
- at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:93)
- at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:77)
- at com.sun.xml.internal.ws.client.sei.SEIStub.invoke(SEIStub.java:147)
- at com.sun.proxy.$Proxy214.posReceiptCSI(Unknown Source)
- at ru.crystals.api.plugins.globus.client.loyalty.SapLoyaltyClient.sendReceipts(SapLoyaltyClient.java:38)
- ... 36 more
- Caused by: java.net.UnknownHostException: vhhypdk5wd01.hec.ru.globusgrp.org
- at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184)
- at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
- at java.net.Socket.connect(Socket.java:589)
- at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:668)
- at sun.net.NetworkClient.doConnect(NetworkClient.java:175)
- at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
- at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
- at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:264)
- at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:367)
- at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191)
- at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1181)
- at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1032)
- at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177)
- at sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(HttpURLConnection.java:1316)
- at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1291)
- at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:250)
- at com.sun.xml.internal.ws.transport.http.client.HttpClientTransport.getOutput(HttpClientTransport.java:104)
- ... 50 more
- 14.08 17:51:58.734 WARN [GlobusLoyaltyPlugin] Feedback sending forbidden: there were 2 failed attempts to send feedback. Next try after 14.08.2019 17:54:01
- 14.08 17:52:58.669 WARN [GlobusLoyaltyPlugin] Feedback sending forbidden: there were 2 failed attempts to send feedback. Next try after 14.08.2019 17:54:01
- 14.08 17:53:58.694 WARN [GlobusLoyaltyPlugin] Feedback sending forbidden: there were 2 failed attempts to send feedback. Next try after 14.08.2019 17:54:01
- 14.08 17:54:58.730 INFO [GlobusLoyaltyPlugin] 5 feedback to send, 2 picked, 2 allowed
- 14.08 17:54:58.730 INFO [GlobusLoyaltyPlugin] Packing feedback with id 4520
- 14.08 17:54:58.730 INFO [GlobusLoyaltyPlugin] Packing feedback with id 4521
- 14.08 17:54:58.745 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/">
- <SOAP-ENV:Header/>
- <S:Body>
- <ns2:ZNEW_POS_R_MT_Request xmlns:ns2="urn:sap-com:document:sap:soap:functions:pos">
- <Request>
- <item>
- <RequestHeader>
- <OperationDate>2019-08-14</OperationDate>
- <OperationTime>17:49:17</OperationTime>
- <OperationTimeZone>MSK03</OperationTimeZone>
- <CashierId>1</CashierId>
- <TerminalId>1</TerminalId>
- <RetailStoreId>3388</RetailStoreId>
- <NumberShiftId>25</NumberShiftId>
- <TypeTerminalId>1</TypeTerminalId>
- <ReceiptNumber>16</ReceiptNumber>
- </RequestHeader>
- <OperationData>
- <QrCode>t=20190814T174900&s=1000.00&fn=9999078902001730&i=227&fp=2284740598&n=1</QrCode>
- <OperationType>01</OperationType>
- <LoyaltyCardNumber>2037215727383</LoyaltyCardNumber>
- <OfflineProcessing>true</OfflineProcessing>
- </OperationData>
- <ReceiptHeader>
- <ReceiptSum>1000.00</ReceiptSum>
- <ReceiptSumWithDiscount>1000.00</ReceiptSumWithDiscount>
- </ReceiptHeader>
- <ReceiptItems>
- <item>
- <ItemNumber>1</ItemNumber>
- <ProductId>4690207112482</ProductId>
- <Quantity>1</Quantity>
- <QuantityUnit>шт</QuantityUnit>
- <Price>1000.00</Price>
- <ItemTotalSumWithDiscount>1000.00</ItemTotalSumWithDiscount>
- <DepartmentCode>520701</DepartmentCode>
- </item>
- </ReceiptItems>
- <PromoActionsApplied/>
- <Payments>
- <item>
- <PaymentType>01</PaymentType>
- <Amount>1000.00</Amount>
- </item>
- </Payments>
- </item>
- <item>
- <RequestHeader>
- <OperationDate>2019-08-14</OperationDate>
- <OperationTime>17:49:46</OperationTime>
- <OperationTimeZone>MSK03</OperationTimeZone>
- <CashierId>1</CashierId>
- <TerminalId>1</TerminalId>
- <RetailStoreId>3388</RetailStoreId>
- <NumberShiftId>25</NumberShiftId>
- <TypeTerminalId>1</TypeTerminalId>
- <ReceiptNumber>17</ReceiptNumber>
- </RequestHeader>
- <OperationData>
- <QrCode>t=20190814T175000&s=1000.00&fn=9999078902001730&i=228&fp=3789831918&n=1</QrCode>
- <OperationType>01</OperationType>
- <LoyaltyCardNumber>2037215727383</LoyaltyCardNumber>
- <OfflineProcessing>true</OfflineProcessing>
- </OperationData>
- <ReceiptHeader>
- <ReceiptSum>1000.00</ReceiptSum>
- <ReceiptSumWithDiscount>1000.00</ReceiptSumWithDiscount>
- </ReceiptHeader>
- <ReceiptItems>
- <item>
- <ItemNumber>1</ItemNumber>
- <ProductId>4690207112482</ProductId>
- <Quantity>1</Quantity>
- <QuantityUnit>шт</QuantityUnit>
- <Price>1000.00</Price>
- <ItemTotalSumWithDiscount>1000.00</ItemTotalSumWithDiscount>
- <DepartmentCode>520701</DepartmentCode>
- </item>
- </ReceiptItems>
- <PromoActionsApplied/>
- <Payments>
- <item>
- <PaymentType>01</PaymentType>
- <Amount>1000.00</Amount>
- </item>
- </Payments>
- </item>
- </Request>
- </ns2:ZNEW_POS_R_MT_Request>
- </S:Body>
- </S:Envelope>
- 14.08 17:54:59.232 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/">
- <soap-env:Header/>
- <soap-env:Body>
- <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">
- <Response>
- <LoyaltyIdentifier>
- <Type/>
- <TypeCard/>
- <TypeCardName/>
- <Id/>
- <Status/>
- <StatusName/>
- </LoyaltyIdentifier>
- <BonusAccountInfo/>
- <Messages/>
- <ReceiptMessages/>
- </Response>
- </n0:ZNEW_POS_R_MT_Response>
- </soap-env:Body>
- </soap-env:Envelope>
- 14.08 17:54:59.234 INFO [GlobusLoyaltyPlugin] Successfully sent feedback pack to SAP
- 14.08 17:54:59.239 INFO [GlobusLoyaltyPlugin] Feedback 4520 has been processed and will be removed
- 14.08 17:54:59.239 INFO [GlobusLoyaltyPlugin] Feedback 4521 has been processed and will be removed
- 14.08 17:55:58.744 INFO [GlobusLoyaltyPlugin] 4 feedback to send, 2 picked, 2 allowed
- 14.08 17:55:58.745 INFO [GlobusLoyaltyPlugin] Packing feedback with id 4522
- 14.08 17:55:58.745 INFO [GlobusLoyaltyPlugin] Packing feedback with id 4523
- 14.08 17:55:58.756 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/">
- <SOAP-ENV:Header/>
- <S:Body>
- <ns2:ZNEW_POS_R_MT_Request xmlns:ns2="urn:sap-com:document:sap:soap:functions:pos">
- <Request>
- <item>
- <RequestHeader>
- <OperationDate>2019-08-14</OperationDate>
- <OperationTime>17:50:16</OperationTime>
- <OperationTimeZone>MSK03</OperationTimeZone>
- <CashierId>1</CashierId>
- <TerminalId>1</TerminalId>
- <RetailStoreId>3388</RetailStoreId>
- <NumberShiftId>25</NumberShiftId>
- <TypeTerminalId>1</TypeTerminalId>
- <ReceiptNumber>18</ReceiptNumber>
- </RequestHeader>
- <OperationData>
- <QrCode>t=20190814T175000&s=1000.00&fn=9999078902001730&i=229&fp=1365916366&n=1</QrCode>
- <OperationType>01</OperationType>
- <LoyaltyCardNumber>2037215727383</LoyaltyCardNumber>
- <OfflineProcessing>true</OfflineProcessing>
- </OperationData>
- <ReceiptHeader>
- <ReceiptSum>1000.00</ReceiptSum>
- <ReceiptSumWithDiscount>1000.00</ReceiptSumWithDiscount>
- </ReceiptHeader>
- <ReceiptItems>
- <item>
- <ItemNumber>1</ItemNumber>
- <ProductId>4690207112482</ProductId>
- <Quantity>1</Quantity>
- <QuantityUnit>шт</QuantityUnit>
- <Price>1000.00</Price>
- <ItemTotalSumWithDiscount>1000.00</ItemTotalSumWithDiscount>
- <DepartmentCode>520701</DepartmentCode>
- </item>
- </ReceiptItems>
- <PromoActionsApplied/>
- <Payments>
- <item>
- <PaymentType>01</PaymentType>
- <Amount>1000.00</Amount>
- </item>
- </Payments>
- </item>
- <item>
- <RequestHeader>
- <OperationDate>2019-08-14</OperationDate>
- <OperationTime>17:50:39</OperationTime>
- <OperationTimeZone>MSK03</OperationTimeZone>
- <CashierId>1</CashierId>
- <TerminalId>1</TerminalId>
- <RetailStoreId>3388</RetailStoreId>
- <NumberShiftId>25</NumberShiftId>
- <TypeTerminalId>1</TypeTerminalId>
- <ReceiptNumber>19</ReceiptNumber>
- </RequestHeader>
- <OperationData>
- <QrCode>t=20190814T175000&s=1000.00&fn=9999078902001730&i=230&fp=1814208458&n=1</QrCode>
- <OperationType>01</OperationType>
- <LoyaltyCardNumber>2037215727383</LoyaltyCardNumber>
- <OfflineProcessing>true</OfflineProcessing>
- </OperationData>
- <ReceiptHeader>
- <ReceiptSum>1000.00</ReceiptSum>
- <ReceiptSumWithDiscount>1000.00</ReceiptSumWithDiscount>
- </ReceiptHeader>
- <ReceiptItems>
- <item>
- <ItemNumber>1</ItemNumber>
- <ProductId>4690207112482</ProductId>
- <Quantity>1</Quantity>
- <QuantityUnit>шт</QuantityUnit>
- <Price>1000.00</Price>
- <ItemTotalSumWithDiscount>1000.00</ItemTotalSumWithDiscount>
- <DepartmentCode>520701</DepartmentCode>
- </item>
- </ReceiptItems>
- <PromoActionsApplied/>
- <Payments>
- <item>
- <PaymentType>01</PaymentType>
- <Amount>1000.00</Amount>
- </item>
- </Payments>
- </item>
- </Request>
- </ns2:ZNEW_POS_R_MT_Request>
- </S:Body>
- </S:Envelope>
- 14.08 17:55:58.907 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/">
- <soap-env:Header/>
- <soap-env:Body>
- <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">
- <Response>
- <LoyaltyIdentifier>
- <Type/>
- <TypeCard/>
- <TypeCardName/>
- <Id/>
- <Status/>
- <StatusName/>
- </LoyaltyIdentifier>
- <BonusAccountInfo/>
- <Messages/>
- <ReceiptMessages/>
- </Response>
- </n0:ZNEW_POS_R_MT_Response>
- </soap-env:Body>
- </soap-env:Envelope>
- 14.08 17:55:58.908 INFO [GlobusLoyaltyPlugin] Successfully sent feedback pack to SAP
- 14.08 17:55:58.908 INFO [GlobusLoyaltyPlugin] Feedback 4522 has been processed and will be removed
- 14.08 17:55:58.908 INFO [GlobusLoyaltyPlugin] Feedback 4523 has been processed and will be removed
- 14.08 17:56:58.762 INFO [GlobusLoyaltyPlugin] 2 feedback to send, 2 picked, 2 allowed
- 14.08 17:56:58.763 INFO [GlobusLoyaltyPlugin] Packing feedback with id 4524
- 14.08 17:56:58.763 INFO [GlobusLoyaltyPlugin] Packing feedback with id 4519
- 14.08 17:56:58.775 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/">
- <SOAP-ENV:Header/>
- <S:Body>
- <ns2:ZNEW_POS_R_MT_Request xmlns:ns2="urn:sap-com:document:sap:soap:functions:pos">
- <Request>
- <item>
- <RequestHeader>
- <OperationDate>2019-08-14</OperationDate>
- <OperationTime>17:51:06</OperationTime>
- <OperationTimeZone>MSK03</OperationTimeZone>
- <CashierId>1</CashierId>
- <TerminalId>1</TerminalId>
- <RetailStoreId>3388</RetailStoreId>
- <NumberShiftId>25</NumberShiftId>
- <TypeTerminalId>1</TypeTerminalId>
- <ReceiptNumber>20</ReceiptNumber>
- </RequestHeader>
- <OperationData>
- <QrCode>t=20190814T175100&s=1000.00&fn=9999078902001730&i=231&fp=2192085726&n=1</QrCode>
- <OperationType>01</OperationType>
- <LoyaltyCardNumber>2037215727383</LoyaltyCardNumber>
- <OfflineProcessing>true</OfflineProcessing>
- </OperationData>
- <ReceiptHeader>
- <ReceiptSum>1000.00</ReceiptSum>
- <ReceiptSumWithDiscount>1000.00</ReceiptSumWithDiscount>
- </ReceiptHeader>
- <ReceiptItems>
- <item>
- <ItemNumber>1</ItemNumber>
- <ProductId>4690207112482</ProductId>
- <Quantity>1</Quantity>
- <QuantityUnit>шт</QuantityUnit>
- <Price>1000.00</Price>
- <ItemTotalSumWithDiscount>1000.00</ItemTotalSumWithDiscount>
- <DepartmentCode>520701</DepartmentCode>
- </item>
- </ReceiptItems>
- <PromoActionsApplied/>
- <Payments>
- <item>
- <PaymentType>01</PaymentType>
- <Amount>1000.00</Amount>
- </item>
- </Payments>
- </item>
- <item>
- <RequestHeader>
- <OperationDate>2019-08-14</OperationDate>
- <OperationTime>17:48:32</OperationTime>
- <OperationTimeZone>MSK03</OperationTimeZone>
- <CashierId>1</CashierId>
- <TerminalId>1</TerminalId>
- <RetailStoreId>3388</RetailStoreId>
- <NumberShiftId>25</NumberShiftId>
- <TypeTerminalId>1</TypeTerminalId>
- <ReceiptNumber>15</ReceiptNumber>
- </RequestHeader>
- <OperationData>
- <QrCode>t=20190814T174900&s=1000.00&fn=9999078902001730&i=226&fp=3335158334&n=1</QrCode>
- <OperationType>01</OperationType>
- <LoyaltyCardNumber>2037215727383</LoyaltyCardNumber>
- <OfflineProcessing>true</OfflineProcessing>
- </OperationData>
- <ReceiptHeader>
- <ReceiptSum>1000.00</ReceiptSum>
- <ReceiptSumWithDiscount>1000.00</ReceiptSumWithDiscount>
- </ReceiptHeader>
- <ReceiptItems>
- <item>
- <ItemNumber>1</ItemNumber>
- <ProductId>4690207112482</ProductId>
- <Quantity>1</Quantity>
- <QuantityUnit>шт</QuantityUnit>
- <Price>1000.00</Price>
- <ItemTotalSumWithDiscount>1000.00</ItemTotalSumWithDiscount>
- <DepartmentCode>520701</DepartmentCode>
- </item>
- </ReceiptItems>
- <PromoActionsApplied/>
- <Payments>
- <item>
- <PaymentType>01</PaymentType>
- <Amount>1000.00</Amount>
- </item>
- </Payments>
- </item>
- </Request>
- </ns2:ZNEW_POS_R_MT_Request>
- </S:Body>
- </S:Envelope>
- 14.08 17:56:58.916 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/">
- <soap-env:Header/>
- <soap-env:Body>
- <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">
- <Response>
- <LoyaltyIdentifier>
- <Type/>
- <TypeCard/>
- <TypeCardName/>
- <Id/>
- <Status/>
- <StatusName/>
- </LoyaltyIdentifier>
- <BonusAccountInfo/>
- <Messages/>
- <ReceiptMessages/>
- </Response>
- </n0:ZNEW_POS_R_MT_Response>
- </soap-env:Body>
- </soap-env:Envelope>
- 14.08 17:56:58.918 INFO [GlobusLoyaltyPlugin] Successfully sent feedback pack to SAP
- 14.08 17:56:58.918 INFO [GlobusLoyaltyPlugin] Feedback 4524 has been processed and will be removed
- 14.08 17:56:58.918 INFO [GlobusLoyaltyPlugin] Feedback 4519 has been processed and will be removed
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement