[ 
https://issues.apache.org/jira/browse/OFBIZ-1745?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12595912#action_12595912
 ] 

Jacques Le Roux commented on OFBIZ-1745:
----------------------------------------

As you can see here 
https://lamouline.myvnc.com:18443/ordermgr/control/orderview?orderId=WSCO10022 
I got it working without  problems in trunk.
I tried also in release4.0 (I saw later that you were asking about release4.0) 
and got an issue not related to gift-card but it seems to uspsRateInquire 
service (though I did not ask for USPS but DHL shipment)
The error message was "This gift card no longer has any value." but in the log 
I see 
008-05-11 15:35:18,965 (TP-Processor8) [       UspsServices.java:1325:INFO ] 
USPS XML request string: <RateV2Request PASSWORD="999999999999" 
USERID="000000000000"><Package 
ID="0"><Service>Express</Service><ZipOrigination>84058</ZipOrigination><ZipDestination>84057</ZipDestination><Pounds>4</Pounds><Ounces>0</Ounces><Size>Regular</Size><Machinable>False</Machinable></Package></RateV2Request>
2008-05-11 15:35:18,978 (http-0.0.0.0-8080-Processor4) 
[ControlEventListener.java:62 :INFO ] Creating session: 
91FE54624C019461710E41EF1BE435B2.jvm1
2008-05-11 15:35:18,980 (http-0.0.0.0-8080-Processor4) [ 
UspsMockApiServlet.java:70 :ERROR] Unsupported API [RateV2]
2008-05-11 15:35:18,984 (TP-Processor8) [       UspsServices.java:1347:INFO ] 
USPS response: 
2008-05-11 15:35:19,026 (TP-Processor8) [       UspsServices.java:191:INFO ] 
---- exception report ----------------------------------------------------------
Exception: org.ofbiz.shipment.thirdparty.usps.UspsRequestException
Message: Error reading request Document from a String: Premature end of file.
---- stack trace ---------------------------------------------------------------
org.ofbiz.shipment.thirdparty.usps.UspsRequestException: Error reading request 
Document from a String: Premature end of file.
[snip...]

I gave up at this stage...

> gift card processer error
> -------------------------
>
>                 Key: OFBIZ-1745
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1745
>             Project: OFBiz
>          Issue Type: Bug
>          Components: accounting
>    Affects Versions: Release Branch 4.0
>         Environment: windows
>            Reporter: bj_zhou
>             Fix For: Release Branch 4.0
>
>
> 2008-04-10 00:57:53,843 (http-0.0.0.0-8443-Processor3) [       
> ModelService.java:481:ERROR] [ModelService.validate] : {ofbGcProcessor} : 
> (IN) Required test error: org.ofbiz.service.ServiceValidationException: The 
> following required parameter is missing:: [IN] 
> [ofbGcProcessor.billToParty]The following required parameter is missing:: 
> [IN] [ofbGcProcessor.giftCard]The following required parameter is missing:: 
> [IN] [ofbGcProcessor.orderId]The following required parameter is missing:: 
> [IN] [ofbGcProcessor.orderItems]
> 2008-04-10 00:57:53,843 (http-0.0.0.0-8443-Processor3) [  
> ServiceDispatcher.java:333:ERROR] 
> ---- exception report 
> ----------------------------------------------------------
> Incoming context (in runSync : ofbGcProcessor) does not match expected 
> requirements
> Exception: org.ofbiz.service.ServiceValidationException
> Message: The following required parameter is missing:: [IN] 
> [ofbGcProcessor.billToParty]The following required parameter is missing:: 
> [IN] [ofbGcProcessor.giftCard]The following required parameter is missing:: 
> [IN] [ofbGcProcessor.orderId]The following required parameter is missing:: 
> [IN] [ofbGcProcessor.orderItems]
> ---- stack trace 
> ---------------------------------------------------------------
> org.ofbiz.service.ServiceValidationException: The following required 
> parameter is missing:: [IN] [ofbGcProcessor.billToParty]The following 
> required parameter is missing:: [IN] [ofbGcProcessor.giftCard]The following 
> required parameter is missing:: [IN] [ofbGcProcessor.orderId]The following 
> required parameter is missing:: [IN] [ofbGcProcessor.orderItems]
> org.ofbiz.service.ModelService.validate(ModelService.java:523)
> org.ofbiz.service.ModelService.validate(ModelService.java:478)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:331)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:166)
> org.ofbiz.accounting.payment.PaymentGatewayServices.capturePayment(PaymentGatewayServices.java:1541)
> org.ofbiz.accounting.payment.PaymentGatewayServices.capturePayment(PaymentGatewayServices.java:1447)
> org.ofbiz.accounting.payment.PaymentGatewayServices.captureOrderPayments(PaymentGatewayServices.java:1179)
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> java.lang.reflect.Method.invoke(Method.java:585)
> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:94)
> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
> org.ofbiz.accounting.payment.PaymentGatewayServices.capturePaymentsByInvoice(PaymentGatewayServices.java:986)
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> java.lang.reflect.Method.invoke(Method.java:585)
> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:94)
> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
> org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:113)
> org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:141)
> org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:158)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:463)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
> org.ofbiz.order.order.OrderServices.checkDigitalItemFulfillment(OrderServices.java:2739)
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> java.lang.reflect.Method.invoke(Method.java:585)
> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:94)
> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
> org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:113)
> org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:141)
> org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:158)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:383)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
> org.ofbiz.order.order.OrderChangeHelper.orderStatusChanges(OrderChangeHelper.java:171)
> org.ofbiz.order.order.OrderChangeHelper.approveOrder(OrderChangeHelper.java:77)
> org.ofbiz.order.shoppingcart.CheckOutHelper.processPayment(CheckOutHelper.java:996)
> org.ofbiz.order.shoppingcart.CheckOutEvents.processPayment(CheckOutEvents.java:540)
> org.ofbiz.order.shoppingcart.CheckOutEvents.processPayment(CheckOutEvents.java:504)
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> java.lang.reflect.Method.invoke(Method.java:585)
> org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:91)
> org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:77)
> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:381)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:381)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
> java.lang.Thread.run(Thread.java:595)
> --------------------------------------------------------------------------------
> 2008-04-10 00:57:53,843 (http-0.0.0.0-8443-Processor3) [  
> ServiceDispatcher.java:396:DEBUG] [[Sync service failed...- total:0.0,since 
> last(Begin):0.0]] - 'ecommerce / ofbGcProcessor'

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to