Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 14.08 11:41:31.395 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>11:41:27</OperationTime>
- <OperationTimeZone>MSK03</OperationTimeZone>
- <CashierId>1</CashierId>
- <TerminalId>1</TerminalId>
- <RetailStoreId>3388</RetailStoreId>
- <NumberShiftId>24</NumberShiftId>
- <TypeTerminalId>1</TypeTerminalId>
- <ReceiptNumber>33</ReceiptNumber>
- </RequestHeader>
- <OperationData>
- <QrCode>t=20190814T114100&s=1000.00&fn=9999078902001730&i=208&fp=987376602&n=1</QrCode>
- <PreviousQrCode>t=20190814T114000&s=1000.00&fn=9999078902001730&i=207&fp=3551536920&n=1</PreviousQrCode>
- <OperationType>02</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 11:41:41.496 ERROR [GlobusLoyaltyPlugin] [SapLoyaltyClient] Received HTTP response code 0
- 14.08 11:41:41.496 ERROR [GlobusLoyaltyPlugin] Failed to send receipt 33 to SAP. Scheduling it to postponed queue
- ru.crystals.api.plugins.globus.client.ServiceException: javax.xml.ws.WebServiceException: java.net.SocketTimeoutException: Read timed out
- at ru.crystals.api.plugins.globus.client.loyalty.SapLoyaltyClient.sendReceipts(SapLoyaltyClient.java:46)
- 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.fiscalizeReturnCheck(TechProcessShiftProxy.java:719)
- at ru.crystals.pos.techprocess.TechProcessShiftProxy.fiscalizeCheck(TechProcessShiftProxy.java:699)
- 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:323)
- 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: javax.xml.ws.WebServiceException: java.net.SocketTimeoutException: Read timed out
- at com.sun.xml.internal.ws.transport.http.client.HttpClientTransport.readResponseCodeAndMessage(HttpClientTransport.java:195)
- at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.createResponsePacket(HttpTransportPipe.java:226)
- at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:217)
- 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.$Proxy217.posReceiptCSI(Unknown Source)
- at ru.crystals.api.plugins.globus.client.loyalty.SapLoyaltyClient.sendReceipts(SapLoyaltyClient.java:38)
- ... 37 more
- Caused by: java.net.SocketTimeoutException: Read timed out
- at java.net.SocketInputStream.socketRead0(Native Method)
- at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
- at java.net.SocketInputStream.read(SocketInputStream.java:170)
- at java.net.SocketInputStream.read(SocketInputStream.java:141)
- at sun.security.ssl.InputRecord.readFully(InputRecord.java:465)
- at sun.security.ssl.InputRecord.read(InputRecord.java:503)
- at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:973)
- at sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:930)
- at sun.security.ssl.AppInputStream.read(AppInputStream.java:105)
- at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
- at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)
- at java.io.BufferedInputStream.read(BufferedInputStream.java:345)
- at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:704)
- at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:647)
- at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1569)
- at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1474)
- at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480)
- at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:338)
- at com.sun.xml.internal.ws.transport.http.client.HttpClientTransport.readResponseCodeAndMessage(HttpClientTransport.java:191)
- ... 52 more
- 14.08 11:42:25.887 INFO [GlobusLoyaltyPlugin] 1 feedback to send, 1 picked, 10 allowed
- 14.08 11:42:25.887 INFO [GlobusLoyaltyPlugin] Packing feedback with id 4503
- 14.08 11:42:25.908 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>11:41:27</OperationTime>
- <OperationTimeZone>MSK03</OperationTimeZone>
- <CashierId>1</CashierId>
- <TerminalId>1</TerminalId>
- <RetailStoreId>3388</RetailStoreId>
- <NumberShiftId>24</NumberShiftId>
- <TypeTerminalId>1</TypeTerminalId>
- <ReceiptNumber>33</ReceiptNumber>
- </RequestHeader>
- <OperationData>
- <QrCode>t=20190814T114100&s=1000.00&fn=9999078902001730&i=208&fp=987376602&n=1</QrCode>
- <PreviousQrCode>t=20190814T114000&s=1000.00&fn=9999078902001730&i=207&fp=3551536920&n=1</PreviousQrCode>
- <OperationType>02</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 11:42:26.136 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 11:42:26.138 ERROR [GlobusLoyaltyPlugin] Failed to send feedback: SAP has responded with error
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement