svn commit: r755954 - in /ofbiz/trunk/specialpurpose/webpos/servicedef: services.xml services_manager.xml services_payment.xml services_promo.xml

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r755954 - in /ofbiz/trunk/specialpurpose/webpos/servicedef: services.xml services_manager.xml services_payment.xml services_promo.xml

jleroux@apache.org
Author: jleroux
Date: Thu Mar 19 12:00:14 2009
New Revision: 755954

URL: http://svn.apache.org/viewvc?rev=755954&view=rev
Log:
webpos component
Following best practice.
Changed location="org/ofbiz/......... to location="component:// in the service location attribute.

Modified:
    ofbiz/trunk/specialpurpose/webpos/servicedef/services.xml
    ofbiz/trunk/specialpurpose/webpos/servicedef/services_manager.xml
    ofbiz/trunk/specialpurpose/webpos/servicedef/services_payment.xml
    ofbiz/trunk/specialpurpose/webpos/servicedef/services_promo.xml

Modified: ofbiz/trunk/specialpurpose/webpos/servicedef/services.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/webpos/servicedef/services.xml?rev=755954&r1=755953&r2=755954&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/webpos/servicedef/services.xml (original)
+++ ofbiz/trunk/specialpurpose/webpos/servicedef/services.xml Thu Mar 19 12:00:14 2009
@@ -23,7 +23,7 @@
     <version>1.0</version>
     
     <service name="FindProducts" engine="simple"
-             location="org/ofbiz/webpos/WebPosServices.xml" invoke="FindProducts">
+             location="component://webpos/script/org/ofbiz/webpos/WebPosServices.xml" invoke="FindProducts">
         <description>Find products by name/description</description>
         <attribute type="String" mode="IN" name="searchBy" optional="false"/>
         <attribute type="String" mode="IN" name="productToSearch" optional="true"/>
@@ -32,7 +32,7 @@
     </service>
     
     <service name="FindProductsByIdentification" engine="simple"
-             location="org/ofbiz/webpos/WebPosServices.xml" invoke="FindProductsByIdentification">
+             location="component://webpos/script/org/ofbiz/webpos/WebPosServices.xml" invoke="FindProductsByIdentification">
         <description>Find products by good identification</description>
         <attribute type="String" mode="IN" name="productGoodIdentification" optional="true"/>
         <attribute type="java.util.List" mode="OUT" name="productsList" optional="true"/>

Modified: ofbiz/trunk/specialpurpose/webpos/servicedef/services_manager.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/webpos/servicedef/services_manager.xml?rev=755954&r1=755953&r2=755954&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/webpos/servicedef/services_manager.xml (original)
+++ ofbiz/trunk/specialpurpose/webpos/servicedef/services_manager.xml Thu Mar 19 12:00:14 2009
@@ -23,13 +23,13 @@
     <version>1.0</version>
     
     <service name="openTerminal" engine="simple" auth="false"
-             location="org/ofbiz/webpos/event/ManagerEvents.xml" invoke="openTerminal">
+             location="component://webpos/script/org/ofbiz/webpos/event/ManagerEvents.xml" invoke="openTerminal">
         <description>Open Terminal</description>
         <attribute name="startingDrawerAmount" type="Double" mode="IN" optional="false"/>
     </service>
     
     <service name="closeTerminal" engine="simple" auth="false"
-             location="org/ofbiz/webpos/event/ManagerEvents.xml" invoke="closeTerminal">
+             location="component://webpos/script/org/ofbiz/webpos/event/ManagerEvents.xml" invoke="closeTerminal">
         <description>Close Terminal</description>
         <attribute name="endingDrawerCashAmount"  type="Double" mode="IN" optional="false"/>
         <attribute name="endingDrawerCheckAmount" type="Double" mode="IN" optional="false"/>
@@ -39,18 +39,18 @@
     </service>
 
     <service name="voidOrder" engine="simple" auth="false"
-             location="org/ofbiz/webpos/event/ManagerEvents.xml" invoke="voidOrder">
+             location="component://webpos/script/org/ofbiz/webpos/event/ManagerEvents.xml" invoke="voidOrder">
         <description>Void Order</description>
         <attribute name="orderId" type="String" mode="IN" optional="false"/>
     </service>
 
     <service name="shutdown" engine="simple" auth="false"
-             location="org/ofbiz/webpos/event/ManagerEvents.xml" invoke="shutdown">
+             location="component://webpos/script/org/ofbiz/webpos/event/ManagerEvents.xml" invoke="shutdown">
         <description>Shutdown</description>        
     </service>
 
     <service name="paidOutAndIn" engine="simple" auth="false"
-             location="org/ofbiz/webpos/event/ManagerEvents.xml" invoke="paidOutAndIn">
+             location="component://webpos/script/org/ofbiz/webpos/event/ManagerEvents.xml" invoke="paidOutAndIn">
         <description>Paid Out and In</description>
         <attribute name="type"         type="String" mode="IN" optional="false"/>
         <attribute name="amountInOut"  type="Double" mode="IN" optional="false"/>
@@ -59,7 +59,7 @@
     </service>
 
     <service name="modifyPrice" engine="simple" auth="false"
-             location="org/ofbiz/webpos/event/ManagerEvents.xml" invoke="modifyPrice">
+             location="component://webpos/script/org/ofbiz/webpos/event/ManagerEvents.xml" invoke="modifyPrice">
         <description>Modify Price</description>
         <attribute name="sku"   type="String" mode="IN" optional="false"/>
         <attribute name="price" type="Double" mode="IN" optional="false"/>

Modified: ofbiz/trunk/specialpurpose/webpos/servicedef/services_payment.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/webpos/servicedef/services_payment.xml?rev=755954&r1=755953&r2=755954&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/webpos/servicedef/services_payment.xml (original)
+++ ofbiz/trunk/specialpurpose/webpos/servicedef/services_payment.xml Thu Mar 19 12:00:14 2009
@@ -23,27 +23,27 @@
     <version>1.0</version>
     
     <service name="payCash" engine="simple" auth="false"
-             location="org/ofbiz/webpos/event/PaymentEvents.xml" invoke="payCash">
+             location="component://webpos/script/org/ofbiz/webpos/event/PaymentEvents.xml" invoke="payCash">
         <description>Pay Cash</description>
         <attribute name="amount" type="String" mode="IN" optional="false"/>
     </service>
 
     <service name="payCheck" engine="simple" auth="false"
-             location="org/ofbiz/webpos/event/PaymentEvents.xml" invoke="payCheck">
+             location="component://webpos/script/org/ofbiz/webpos/event/PaymentEvents.xml" invoke="payCheck">
         <description>Pay Check</description>
         <attribute name="amount" type="String" mode="IN" optional="false"/>
         <attribute name="refNum" type="String" mode="IN" optional="true"/>
     </service>
 
     <service name="payGiftCard" engine="simple" auth="false"
-             location="org/ofbiz/webpos/event/PaymentEvents.xml" invoke="payGiftCard">
+             location="component://webpos/script/org/ofbiz/webpos/event/PaymentEvents.xml" invoke="payGiftCard">
         <description>Pay Gift Card</description>
         <attribute name="amount" type="String" mode="IN" optional="false"/>
         <attribute name="refNum" type="String" mode="IN" optional="true"/>
     </service>
 
     <service name="payCredit" engine="simple" auth="false"
-             location="org/ofbiz/webpos/event/PaymentEvents.xml" invoke="payCredit">
+             location="component://webpos/script/org/ofbiz/webpos/event/PaymentEvents.xml" invoke="payCredit">
         <description>Pay Credit Card</description>
         <attribute name="amount" type="String" mode="IN" optional="false"/>
         <attribute name="refNum" type="String" mode="IN" optional="true"/>
@@ -58,12 +58,12 @@
     </service>
 
     <service name="processSale" engine="simple" auth="false"
-             location="org/ofbiz/webpos/event/PaymentEvents.xml" invoke="processSale">
+             location="component://webpos/script/org/ofbiz/webpos/event/PaymentEvents.xml" invoke="processSale">
         <description>Process Sale</description>
     </service>
 
     <service name="setRefNum" engine="simple" auth="false"
-             location="org/ofbiz/webpos/event/PaymentEvents.xml" invoke="setRefNum">
+             location="component://webpos/script/org/ofbiz/webpos/event/PaymentEvents.xml" invoke="setRefNum">
         <description>Set Payment Refernce Number</description>
         <attribute name="refNumCheck"  type="String" mode="IN" optional="true"/>
         <attribute name="refNumGift"   type="String" mode="IN" optional="true"/>
@@ -71,7 +71,7 @@
     </service>
 
     <service name="clearPayment" engine="simple" auth="false"
-             location="org/ofbiz/webpos/event/PaymentEvents.xml" invoke="clearPayment">
+             location="component://webpos/script/org/ofbiz/webpos/event/PaymentEvents.xml" invoke="clearPayment">
         <description>Clear Payment</description>
         <attribute name="clearCash"   type="String" mode="IN" optional="true"/>
         <attribute name="clearCheck"  type="String" mode="IN" optional="true"/>
@@ -80,7 +80,7 @@
     </service>
 
     <service name="clearAllPayments" engine="simple" auth="false"
-             location="org/ofbiz/webpos/event/PaymentEvents.xml" invoke="clearAllPayments">
+             location="component://webpos/script/org/ofbiz/webpos/event/PaymentEvents.xml" invoke="clearAllPayments">
         <description>Clear All Payments</description>
     </service>
 </services>
\ No newline at end of file

Modified: ofbiz/trunk/specialpurpose/webpos/servicedef/services_promo.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/webpos/servicedef/services_promo.xml?rev=755954&r1=755953&r2=755954&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/webpos/servicedef/services_promo.xml (original)
+++ ofbiz/trunk/specialpurpose/webpos/servicedef/services_promo.xml Thu Mar 19 12:00:14 2009
@@ -23,7 +23,7 @@
     <version>1.0</version>
     
     <service name="addPromoCode" engine="simple" auth="false"
-             location="org/ofbiz/webpos/event/PromoEvents.xml" invoke="addPromoCode">
+             location="component://webpos/script/org/ofbiz/webpos/event/PromoEvents.xml" invoke="addPromoCode">
         <description>Add Promotion Code</description>
         <attribute name="promoCode" type="String" mode="IN" optional="false"/>
     </service>