You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by swathi <re...@yahoo.com> on 2009/11/02 17:30:41 UTC
services in practice application.
Hi.
In practice application, Writing CRUD operations for Person entity Step -
2,For creating a new person, a service, createPracticePerson is called. In
that service, a simple method , createPracticePerson is invoked from
PracticeServices.xml. <service name="createPracticePerson"
default-entity-name="Person" engine="simple"
location="component://practice/script/org/hotwax/practice/PracticeServices.xml"
invoke="createPracticePerson" auth="true"> <description>Create a
Person</description> <auto-attributes include="pk" mode="OUT"
optional="false"/> <attribute name="salutation" mode="IN" type="String"
optional="true"/> <attribute name="firstName" mode="IN" type="String"
optional="false"/> <attribute name="middleName" mode="IN" type="String"
optional="true"/> <attribute name="lastName" mode="IN" type="String"
optional="false"/> <attribute name="suffix" mode="IN" type="String"
optional="true"/></service> But its not mentioned what has to be in this
createPracticePerson simplemethod. Iam not clear about this. Can someone
please help me in understanding what has to be done in this invoked simple
method inorder to create a new person.
Thanks.
--
View this message in context: http://n4.nabble.com/services-in-practice-application-tp360795p360795.html
Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: services in practice application.
Posted by Петр Богданов <bp...@ukr.net>.
--- Исходное сообщение ---
От кого: swathi <re...@yahoo.com>
Кому: user@ofbiz.apache.org
Дата: Nov 02, 2009 18:30:41
Тема: services in practice application.
> Hi.
> In practice application, Writing CRUD operations for Person entity Step -
> 2,For creating a new person, a service, createPracticePerson is called. In
> that service, a simple method , createPracticePerson is invoked from
> PracticeServices.xml. <service name="createPracticePerson"
> default-entity-name="Person" engine="simple"
> location="component://practice/script/org/hotwax/practice/PracticeServices.xml"
> invoke="createPracticePerson" auth="true"> <description>Create a
> Person</description> <auto-attributes include="pk" mode="OUT"
> optional="false"/> <attribute name="salutation" mode="IN" type="String"
> optional="true"/> <attribute name="firstName" mode="IN" type="String"
> optional="false"/> <attribute name="middleName" mode="IN" type="String"
> optional="true"/> <attribute name="lastName" mode="IN" type="String"
> optional="false"/> <attribute name="suffix" mode="IN" type="String"
> optional="true"/></service> But its not mentioned what has to be in this
> createPracticePerson simplemethod. Iam not clear about this. Can someone
> please help me in understanding what has to be done in this invoked simple
> method inorder to create a new person.
> Thanks.
> --
> View this message in context: http://n4.nabble.com/services-in-practice-application-tp360795p360795.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>
>
Re[2]: services in practice application.
Posted by Петр Богданов <bp...@ukr.net>.
--- Исходное сообщение ---
От кого: Pranay Pandey <pr...@hotwaxmedia.com>
Кому: user@ofbiz.apache.org
Дата: Nov 03, 2009 06:00:10
Тема: Re: services in practice application.
Hi Swati,
>
> For you reference I would like to let you know that there is also zip
> attached for the same application.
> This is just for reference, creating the application step by step is
> needed for better understanding. I will also improve the details given
> in tutorial for reference as soon as I get a chance.
>
> Thanks
>
> Regards
> --
> Pranay Pandey
> HotWax Media | www.hotwaxmedia.com
>
> On Nov 2, 2009, at 10:00 PM, swathi wrote:
>
> >
> > Hi.
> > In practice application, Writing CRUD operations for Person entity
> > Step -
> > 2,For creating a new person, a service, createPracticePerson is
> > called. In
> > that service, a simple method , createPracticePerson is invoked from
> > PracticeServices.xml. <service name="createPracticePerson"
> > default-entity-name="Person" engine="simple"
> > location="component://practice/script/org/hotwax/practice/
> > PracticeServices.xml"
> > invoke="createPracticePerson" auth="true"> <description>Create a
> > Person</description> <auto-attributes include="pk" mode="OUT"
> > optional="false"/> <attribute name="salutation" mode="IN"
> > type="String"
> > optional="true"/> <attribute name="firstName" mode="IN"
> > type="String"
> > optional="false"/> <attribute name="middleName" mode="IN"
> > type="String"
> > optional="true"/> <attribute name="lastName" mode="IN"
> > type="String"
> > optional="false"/> <attribute name="suffix" mode="IN"
> > type="String"
> > optional="true"/></service> But its not mentioned what has to be
> > in this
> > createPracticePerson simplemethod. Iam not clear about this. Can
> > someone
> > please help me in understanding what has to be done in this invoked
> > simple
> > method inorder to create a new person.
> > Thanks.
> > --
> > View this message in context: http://n4.nabble.com/services-in-practice-application-tp360795p360795.html
> > Sent from the OFBiz - User mailing list archive at Nabble.com.
>
>
Re: services in practice application.
Posted by Pranay Pandey <pr...@hotwaxmedia.com>.
Hi Swati,
For you reference I would like to let you know that there is also zip
attached for the same application.
This is just for reference, creating the application step by step is
needed for better understanding. I will also improve the details given
in tutorial for reference as soon as I get a chance.
Thanks
Regards
--
Pranay Pandey
HotWax Media | www.hotwaxmedia.com
On Nov 2, 2009, at 10:00 PM, swathi wrote:
>
> Hi.
> In practice application, Writing CRUD operations for Person entity
> Step -
> 2,For creating a new person, a service, createPracticePerson is
> called. In
> that service, a simple method , createPracticePerson is invoked from
> PracticeServices.xml. <service name="createPracticePerson"
> default-entity-name="Person" engine="simple"
> location="component://practice/script/org/hotwax/practice/
> PracticeServices.xml"
> invoke="createPracticePerson" auth="true"> <description>Create a
> Person</description> <auto-attributes include="pk" mode="OUT"
> optional="false"/> <attribute name="salutation" mode="IN"
> type="String"
> optional="true"/> <attribute name="firstName" mode="IN"
> type="String"
> optional="false"/> <attribute name="middleName" mode="IN"
> type="String"
> optional="true"/> <attribute name="lastName" mode="IN"
> type="String"
> optional="false"/> <attribute name="suffix" mode="IN"
> type="String"
> optional="true"/></service> But its not mentioned what has to be
> in this
> createPracticePerson simplemethod. Iam not clear about this. Can
> someone
> please help me in understanding what has to be done in this invoked
> simple
> method inorder to create a new person.
> Thanks.
> --
> View this message in context: http://n4.nabble.com/services-in-practice-application-tp360795p360795.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.