Author: jleroux
Date: Mon Sep 12 09:56:42 2011
New Revision: 1169670

URL: http://svn.apache.org/viewvc?rev=1169670&view=rev
Log:
I did not change simple-methods where processor-name="person" is called (in 
call-map-processor) because I think we want this change only in createPerson 
service. Hopefully with the comment it will be now quite obvious

Modified:
    ofbiz/trunk/applications/party/servicedef/services.xml

Modified: ofbiz/trunk/applications/party/servicedef/services.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/servicedef/services.xml?rev=1169670&r1=1169669&r2=1169670&view=diff
==============================================================================
--- ofbiz/trunk/applications/party/servicedef/services.xml (original)
+++ ofbiz/trunk/applications/party/servicedef/services.xml Mon Sep 12 09:56:42 
2011
@@ -79,9 +79,11 @@ under the License.
         <attribute name="description" type="String" mode="IN" optional="true"/>
         <attribute name="externalId" type="String" mode="IN" optional="true"/>
         <attribute name="statusId" type="String" mode="IN" optional="true"/>
-        <override name="firstName" mode="IN" type="String" optional="false"/>
-        <override name="lastName" mode="IN" type="String" optional="false"/>
-    </service>
+        <!-- First and Last names are here optional. This allows to implement 
simple create user login screen where user is able create account 
+            in system with username and password and then later populate rest 
of the account information. -->
+<!--        <override name="firstName" optional="false"/>
+        <override name="lastName" optional="false"/>
+-->    </service>
     <service name="createPersonAndUserLogin" engine="simple" 
require-new-transaction="true"
             
location="component://party/script/org/ofbiz/party/party/PartySimpleMethods.xml"
 invoke="createPersonAndUserLogin" auth="false">
         <description>Create a Person and UserLogin</description>


Reply via email to