Advertisement
fedorm

Untitled

Aug 14th, 2019
263
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 13.21 KB | None | 0 0
  1. 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/">
  2.     <SOAP-ENV:Header/>
  3.     <S:Body>
  4.         <ns2:ZNEW_POS_R_MT_Request xmlns:ns2="urn:sap-com:document:sap:soap:functions:pos">
  5.             <Request>
  6.                 <item>
  7.                     <RequestHeader>
  8.                         <OperationDate>2019-08-14</OperationDate>
  9.                         <OperationTime>11:41:27</OperationTime>
  10.                         <OperationTimeZone>MSK03</OperationTimeZone>
  11.                         <CashierId>1</CashierId>
  12.                         <TerminalId>1</TerminalId>
  13.                         <RetailStoreId>3388</RetailStoreId>
  14.                         <NumberShiftId>24</NumberShiftId>
  15.                         <TypeTerminalId>1</TypeTerminalId>
  16.                         <ReceiptNumber>33</ReceiptNumber>
  17.                     </RequestHeader>
  18.                     <OperationData>
  19.                         <QrCode>t=20190814T114100&amp;s=1000.00&amp;fn=9999078902001730&amp;i=208&amp;fp=987376602&amp;n=1</QrCode>
  20.                         <PreviousQrCode>t=20190814T114000&amp;s=1000.00&amp;fn=9999078902001730&amp;i=207&amp;fp=3551536920&amp;n=1</PreviousQrCode>
  21.                         <OperationType>02</OperationType>
  22.                         <LoyaltyCardNumber>2037215727383</LoyaltyCardNumber>
  23.                         <OfflineProcessing>false</OfflineProcessing>
  24.                     </OperationData>
  25.                     <ReceiptHeader>
  26.                         <ReceiptSum>1000.00</ReceiptSum>
  27.                         <ReceiptSumWithDiscount>1000.00</ReceiptSumWithDiscount>
  28.                     </ReceiptHeader>
  29.                     <ReceiptItems>
  30.                         <item>
  31.                             <ItemNumber>1</ItemNumber>
  32.                             <ProductId>4690207112482</ProductId>
  33.                             <Quantity>1</Quantity>
  34.                             <QuantityUnit>шт</QuantityUnit>
  35.                             <Price>1000.00</Price>
  36.                             <ItemTotalSumWithDiscount>1000.00</ItemTotalSumWithDiscount>
  37.                             <DepartmentCode>520701</DepartmentCode>
  38.                         </item>
  39.                     </ReceiptItems>
  40.                     <PromoActionsApplied/>
  41.                     <Payments>
  42.                         <item>
  43.                             <PaymentType>01</PaymentType>
  44.                             <Amount>1000.00</Amount>
  45.                         </item>
  46.                     </Payments>
  47.                 </item>
  48.             </Request>
  49.         </ns2:ZNEW_POS_R_MT_Request>
  50.     </S:Body>
  51. </S:Envelope>
  52.  
  53. 14.08 11:41:41.496 ERROR [GlobusLoyaltyPlugin] [SapLoyaltyClient] Received HTTP response code 0
  54. 14.08 11:41:41.496 ERROR [GlobusLoyaltyPlugin] Failed to send receipt 33 to SAP. Scheduling it to postponed queue
  55. ru.crystals.api.plugins.globus.client.ServiceException: javax.xml.ws.WebServiceException: java.net.SocketTimeoutException: Read timed out
  56.     at ru.crystals.api.plugins.globus.client.loyalty.SapLoyaltyClient.sendReceipts(SapLoyaltyClient.java:46)
  57.     at ru.crystals.api.plugins.globus.loyalty.GlobusLoyaltyPlugin.onReceiptFiscalized(GlobusLoyaltyPlugin.java:152)
  58.     at ru.crystals.pos.loyal.SetApiPluginLoyProvider.purchaseFiscalized(SetApiPluginLoyProvider.java:399)
  59.     at ru.crystals.loyal.providers.LoyProvidersRegistryImpl.purchaseFiscalized(LoyProvidersRegistryImpl.java:362)
  60.     at ru.crystals.pos.loyal.cash.service.LoyalServiceImpl.purchaseFiscalized(LoyalServiceImpl.java:1539)
  61.     at ru.crystals.pos.loyal.bridge.service.LoyalBridgeServiceImpl.purchaseFiscalized(LoyalBridgeServiceImpl.java:189)
  62.     at ru.crystals.pos.techprocess.ExternalProcessingsImpl.purchaseFiscalized(ExternalProcessingsImpl.java:212)
  63.     at ru.crystals.pos.techprocess.TechProcessShift.printCheck(TechProcessShift.java:1795)
  64.     at ru.crystals.pos.techprocess.TechProcessShift.fiscalizeCheck(TechProcessShift.java:1542)
  65.     at ru.crystals.pos.techprocess.TechProcessShiftProxy.fiscalizeReturnCheck(TechProcessShiftProxy.java:719)
  66.     at ru.crystals.pos.techprocess.TechProcessShiftProxy.fiscalizeCheck(TechProcessShiftProxy.java:699)
  67.     at ru.crystals.pos.techprocess.TechProcessImpl.fiscalizeCheck(TechProcessImpl.java:944)
  68.     at ru.crystals.pos.visualization.check.CheckContainer.paymentComplete(CheckContainer.java:2700)
  69.     at ru.crystals.pos.visualization.components.MainWindow.paymentComplete(MainWindow.java:845)
  70.     at ru.crystals.pos.visualization.Factory.eventPaymentComplete(Factory.java:869)
  71.     at ru.crystals.pos.techprocess.TechProcessImpl.paymentComplete(TechProcessImpl.java:4482)
  72.     at ru.crystals.pos.check.service.CheckServiceImpl.addPayment(CheckServiceImpl.java:3977)
  73.     at ru.crystals.pos.techprocess.TechProcessImpl.addPayment(TechProcessImpl.java:3932)
  74.     at ru.crystals.pos.visualization.payments.PaymentContainer.doProcessPayment(PaymentContainer.java:387)
  75.     at ru.crystals.pos.visualization.payments.PaymentContainer.processPayment(PaymentContainer.java:323)
  76.     at ru.crystals.pos.visualization.payments.cash.CashPaymentContainer.enter(CashPaymentContainer.java:94)
  77.     at ru.crystals.pos.visualization.components.CompositeContainer.enter(CompositeContainer.java:96)
  78.     at ru.crystals.pos.visualization.check.CheckContainer.enter(CheckContainer.java:1892)
  79.     at ru.crystals.pos.visualization.components.MainWindow.enter(MainWindow.java:1086)
  80.     at ru.crystals.pos.visualization.Factory.eventControlKey(Factory.java:526)
  81.     at ru.crystals.pos.techprocess.TechProcessImpl.eventControlKey(TechProcessImpl.java:4360)
  82.     at ru.crystals.pos.CashEventSource.sentOldKey(CashEventSource.java:167)
  83.     at ru.crystals.pos.CashEventSource.process(CashEventSource.java:138)
  84.     at ru.crystals.pos.CashEventSource.processEvent(CashEventSource.java:118)
  85.     at ru.crystals.pos.CashEventSource.run(CashEventSource.java:101)
  86.     at ru.crystals.pos.InternalCashPoolExecutorImpl.lambda$submit$2(InternalCashPoolExecutorImpl.java:115)
  87.     at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
  88.     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  89.     at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
  90.     at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
  91.     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
  92.     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
  93.     at java.lang.Thread.run(Thread.java:745)
  94. Caused by: javax.xml.ws.WebServiceException: java.net.SocketTimeoutException: Read timed out
  95.     at com.sun.xml.internal.ws.transport.http.client.HttpClientTransport.readResponseCodeAndMessage(HttpClientTransport.java:195)
  96.     at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.createResponsePacket(HttpTransportPipe.java:226)
  97.     at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:217)
  98.     at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:130)
  99.     at com.sun.xml.internal.ws.transport.DeferredTransportPipe.processRequest(DeferredTransportPipe.java:124)
  100.     at com.sun.xml.internal.ws.api.pipe.Fiber.__doRun(Fiber.java:1121)
  101.     at com.sun.xml.internal.ws.api.pipe.Fiber._doRun(Fiber.java:1035)
  102.     at com.sun.xml.internal.ws.api.pipe.Fiber.doRun(Fiber.java:1004)
  103.     at com.sun.xml.internal.ws.api.pipe.Fiber.runSync(Fiber.java:862)
  104.     at com.sun.xml.internal.ws.client.Stub.process(Stub.java:448)
  105.     at com.sun.xml.internal.ws.client.sei.SEIStub.doProcess(SEIStub.java:178)
  106.     at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:93)
  107.     at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:77)
  108.     at com.sun.xml.internal.ws.client.sei.SEIStub.invoke(SEIStub.java:147)
  109.     at com.sun.proxy.$Proxy217.posReceiptCSI(Unknown Source)
  110.     at ru.crystals.api.plugins.globus.client.loyalty.SapLoyaltyClient.sendReceipts(SapLoyaltyClient.java:38)
  111.     ... 37 more
  112. Caused by: java.net.SocketTimeoutException: Read timed out
  113.     at java.net.SocketInputStream.socketRead0(Native Method)
  114.     at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
  115.     at java.net.SocketInputStream.read(SocketInputStream.java:170)
  116.     at java.net.SocketInputStream.read(SocketInputStream.java:141)
  117.     at sun.security.ssl.InputRecord.readFully(InputRecord.java:465)
  118.     at sun.security.ssl.InputRecord.read(InputRecord.java:503)
  119.     at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:973)
  120.     at sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:930)
  121.     at sun.security.ssl.AppInputStream.read(AppInputStream.java:105)
  122.     at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
  123.     at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)
  124.     at java.io.BufferedInputStream.read(BufferedInputStream.java:345)
  125.     at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:704)
  126.     at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:647)
  127.     at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1569)
  128.     at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1474)
  129.     at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480)
  130.     at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:338)
  131.     at com.sun.xml.internal.ws.transport.http.client.HttpClientTransport.readResponseCodeAndMessage(HttpClientTransport.java:191)
  132.     ... 52 more
  133. 14.08 11:42:25.887 INFO  [GlobusLoyaltyPlugin] 1 feedback to send, 1 picked, 10 allowed
  134. 14.08 11:42:25.887 INFO  [GlobusLoyaltyPlugin] Packing feedback with id 4503
  135. 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/">
  136.     <SOAP-ENV:Header/>
  137.     <S:Body>
  138.         <ns2:ZNEW_POS_R_MT_Request xmlns:ns2="urn:sap-com:document:sap:soap:functions:pos">
  139.             <Request>
  140.                 <item>
  141.                     <RequestHeader>
  142.                         <OperationDate>2019-08-14</OperationDate>
  143.                         <OperationTime>11:41:27</OperationTime>
  144.                         <OperationTimeZone>MSK03</OperationTimeZone>
  145.                         <CashierId>1</CashierId>
  146.                         <TerminalId>1</TerminalId>
  147.                         <RetailStoreId>3388</RetailStoreId>
  148.                         <NumberShiftId>24</NumberShiftId>
  149.                         <TypeTerminalId>1</TypeTerminalId>
  150.                         <ReceiptNumber>33</ReceiptNumber>
  151.                     </RequestHeader>
  152.                     <OperationData>
  153.                         <QrCode>t=20190814T114100&amp;s=1000.00&amp;fn=9999078902001730&amp;i=208&amp;fp=987376602&amp;n=1</QrCode>
  154.                         <PreviousQrCode>t=20190814T114000&amp;s=1000.00&amp;fn=9999078902001730&amp;i=207&amp;fp=3551536920&amp;n=1</PreviousQrCode>
  155.                         <OperationType>02</OperationType>
  156.                         <LoyaltyCardNumber>2037215727383</LoyaltyCardNumber>
  157.                         <OfflineProcessing>true</OfflineProcessing>
  158.                     </OperationData>
  159.                     <ReceiptHeader>
  160.                         <ReceiptSum>1000.00</ReceiptSum>
  161.                         <ReceiptSumWithDiscount>1000.00</ReceiptSumWithDiscount>
  162.                     </ReceiptHeader>
  163.                     <ReceiptItems>
  164.                         <item>
  165.                             <ItemNumber>1</ItemNumber>
  166.                             <ProductId>4690207112482</ProductId>
  167.                             <Quantity>1</Quantity>
  168.                             <QuantityUnit>шт</QuantityUnit>
  169.                             <Price>1000.00</Price>
  170.                             <ItemTotalSumWithDiscount>1000.00</ItemTotalSumWithDiscount>
  171.                             <DepartmentCode>520701</DepartmentCode>
  172.                         </item>
  173.                     </ReceiptItems>
  174.                     <PromoActionsApplied/>
  175.                     <Payments>
  176.                         <item>
  177.                             <PaymentType>01</PaymentType>
  178.                             <Amount>1000.00</Amount>
  179.                         </item>
  180.                     </Payments>
  181.                 </item>
  182.             </Request>
  183.         </ns2:ZNEW_POS_R_MT_Request>
  184.     </S:Body>
  185. </S:Envelope>
  186.  
  187. 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/">
  188.     <soap-env:Header/>
  189.     <soap-env:Body>
  190.         <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">
  191.             <Response>
  192.                 <LoyaltyIdentifier>
  193.                     <Type/>
  194.                     <TypeCard/>
  195.                     <TypeCardName/>
  196.                     <Id/>
  197.                     <Status/>
  198.                     <StatusName/>
  199.                 </LoyaltyIdentifier>
  200.                 <BonusAccountInfo/>
  201.                 <Messages/>
  202.                 <ReceiptMessages/>
  203.             </Response>
  204.         </n0:ZNEW_POS_R_MT_Response>
  205.     </soap-env:Body>
  206. </soap-env:Envelope>
  207.  
  208. 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