[OFBiz] SVN: r6474 - trunk/applications/party/servicedef
jacopo@svn.ofbiz.org
jacopo at svn.ofbiz.org
Sat Jan 7 00:36:11 CST 2006
Author: jacopo
Date: 2006-01-07 00:35:50 -0600 (Sat, 07 Jan 2006)
New Revision: 6474
Modified:
trunk/applications/party/servicedef/services.xml
Log:
Fixed service definition, that I've broken in my last commit that I did to fix an XML validation error.
The problem is that <override> is not good since "statusId" is not a field of Person.
Thanks to Si Chen for this information.
I've fixed this error (and the XML validation error) moving the original <attribute> element before the existing <override> ones.
Now it should work fine.
Modified: trunk/applications/party/servicedef/services.xml
===================================================================
--- trunk/applications/party/servicedef/services.xml 2006-01-06 20:09:21 UTC (rev 6473)
+++ trunk/applications/party/servicedef/services.xml 2006-01-07 06:35:50 UTC (rev 6474)
@@ -48,9 +48,9 @@
<description>Create a Person</description>
<auto-attributes mode="INOUT" include="pk" optional="true"/>
<auto-attributes mode="IN" include="nonpk" optional="true"/>
+ <attribute name="statusId" type="String" mode="IN" optional="true"/>
<override name="firstName" optional="false"/>
<override name="lastName" optional="false"/>
- <override name="statusId" type="String" mode="IN" optional="true"/>
</service>
<service name="createPersonAndUserLogin" engine="simple" require-new-transaction="true"
location="org/ofbiz/party/party/PartySimpleMethods.xml" invoke="createPersonAndUserLogin" auth="false">
More information about the Svn
mailing list