You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ja...@apache.org on 2007/04/26 00:19:19 UTC

svn commit: r532504 - in /ofbiz/trunk/applications/accounting/servicedef: secas.xml services_finaccount.xml services_paymentmethod.xml

Author: jaz
Date: Wed Apr 25 15:19:16 2007
New Revision: 532504

URL: http://svn.apache.org/viewvc?view=rev&rev=532504
Log:
updated service definitions

Modified:
    ofbiz/trunk/applications/accounting/servicedef/secas.xml
    ofbiz/trunk/applications/accounting/servicedef/services_finaccount.xml
    ofbiz/trunk/applications/accounting/servicedef/services_paymentmethod.xml

Modified: ofbiz/trunk/applications/accounting/servicedef/secas.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/servicedef/secas.xml?view=diff&rev=532504&r1=532503&r2=532504
==============================================================================
--- ofbiz/trunk/applications/accounting/servicedef/secas.xml (original)
+++ ofbiz/trunk/applications/accounting/servicedef/secas.xml Wed Apr 25 15:19:16 2007
@@ -105,7 +105,7 @@
     </eca>
     
     <!-- financial account transaction ecas -->
-    <eca service="finAccountWithdraw" event="return">
+    <eca service="finAccountWithdraw" event="return" run-on-error="true">
         <condition field-name="productStoreId" operator="is-not-empty"/>
         <action service="finAccountReplenish" mode="async" run-as-user="system"/>
     </eca>    

Modified: ofbiz/trunk/applications/accounting/servicedef/services_finaccount.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/servicedef/services_finaccount.xml?view=diff&rev=532504&r1=532503&r2=532504
==============================================================================
--- ofbiz/trunk/applications/accounting/servicedef/services_finaccount.xml (original)
+++ ofbiz/trunk/applications/accounting/servicedef/services_finaccount.xml Wed Apr 25 15:19:16 2007
@@ -151,6 +151,11 @@
         <attribute name="processResult" type="Boolean" mode="OUT" optional="false"/>
         <attribute name="referenceNum" type="String" mode="OUT" optional="false"/>
     </service>
+    <service name="finAccountRefund" engine="java"
+            location="org.ofbiz.accounting.finaccount.FinAccountServices" invoke="refundFinAccount" auth="true">
+        <description>Refunds the deposits to a financial account back to the source</description>
+        <attribute name="finAccountId" type="String" mode="IN" optional="false"/> 
+    </service>
     <service name="finAccountReplenish" engine="java"
             location="org.ofbiz.accounting.finaccount.FinAccountPaymentServices" invoke="finAccountReplenish" auth="true">
         <description>Auto-replenish a financial account</description>

Modified: ofbiz/trunk/applications/accounting/servicedef/services_paymentmethod.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/servicedef/services_paymentmethod.xml?view=diff&rev=532504&r1=532503&r2=532504
==============================================================================
--- ofbiz/trunk/applications/accounting/servicedef/services_paymentmethod.xml (original)
+++ ofbiz/trunk/applications/accounting/servicedef/services_paymentmethod.xml Wed Apr 25 15:19:16 2007
@@ -332,7 +332,7 @@
         <attribute name="internalRespMsgs" type="List" mode="IN" optional="true"/>
     </service>
 
-    <service name="processPaymentServiceError" engine="java" require-new-transaction="true"
+    <service name="processPaymentServiceError" engine="java" require-new-transaction="true" max-retry="5"
             location="org.ofbiz.accounting.payment.PaymentGatewayServices" invoke="storePaymentErrorMessage" auth="true">
         <description>Process (store) error messages from payment service failures</description>
         <attribute name="paymentServiceTypeEnumId" type="String" mode="IN" optional="false"/>