This is an automated email from the ASF dual-hosted git repository.

jleroux pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 3155906  Improved: small typo in trunk (OFBIZ-11952)
3155906 is described below

commit 3155906740ae7bef8de1d1318056b07fdcd2f80a
Author: Jacques Le Roux <jacques.le.r...@les7arts.com>
AuthorDate: Thu Aug 13 09:16:20 2020 +0200

    Improved: small typo in trunk (OFBIZ-11952)
    
    I also replaced tabs by spaces in 
applications/product/servicedef/services.xml
    
    Thanks: Alex Bodnaru
---
 applications/product/servicedef/services.xml |  2 +-
 framework/service/dtd/services.xsd           | 14 +++++++-------
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/applications/product/servicedef/services.xml 
b/applications/product/servicedef/services.xml
index 6fe8a0c..fe60e1f 100644
--- a/applications/product/servicedef/services.xml
+++ b/applications/product/servicedef/services.xml
@@ -213,7 +213,7 @@ under the License.
         <attribute name="statusId" type="String" mode="IN" optional="false"/>
     </service>
 
-    <service name="findProductById" engine="java"  auth="true" export="true" 
action="get"
+    <service name="findProductById" engine="java"  auth="true" export="true" 
action="GET"
         location="org.apache.ofbiz.product.product.ProductServices" 
invoke="findProductById">
         <description>Finds productId(s) corresponding to a product reference, 
productId or a GoodIdentification idValue</description>
         <attribute type="String" mode="IN" name="idToFind" optional="false"/>
diff --git a/framework/service/dtd/services.xsd 
b/framework/service/dtd/services.xsd
index 5a1450b..fe0339b 100644
--- a/framework/service/dtd/services.xsd
+++ b/framework/service/dtd/services.xsd
@@ -67,18 +67,18 @@ under the License.
         <xs:attribute name="validate" type="xs:boolean" default="true"/>
         <xs:attribute name="default-entity-name" type="xs:string"/>
         <xs:attribute name="action">
-               <xs:annotation>
+            <xs:annotation>
                 <xs:documentation>
                     Specifies the HTTP method name this service can be called 
using REST interface. For now only POST and GET are supported. 
                     Services that have export=true and have action attribute 
defined can be called using REST interface. 
                 </xs:documentation>
             </xs:annotation>
-               <xs:simpleType>
-                       <xs:restriction base="xs:string">
-                               <xs:enumeration value="POST"/>
-                               <xs:enumeration value="GET"/>
-                       </xs:restriction>
-                       </xs:simpleType>
+              <xs:simpleType>
+                <xs:restriction base="xs:string">
+                      <xs:enumeration value="POST"/>
+                      <xs:enumeration value="GET"/>
+                </xs:restriction>
+              </xs:simpleType>
         </xs:attribute>
         <xs:attribute name="use-transaction" type="xs:boolean" default="true">
             <xs:annotation>

Reply via email to