Hi Ismail, If Service return success then it will render view mentioned in response name success, and if service fails and return error it will render view mentioned in response name error. Please refer ServiceUtil and ModelService java file for more reference.
Please use user mailing list for this kind of question. https://ofbiz.apache.org/mailing-lists.html Thanks & Regards -- Deepak Dixit www.hotwaxsystems.com On Sun, Feb 12, 2017 at 1:20 PM, Ismail Al Kouz <ialk...@bi-bst.com> wrote: > Hello Dears. > > > > There are anyone can help me to explain the <response> elements on code > below and what the “success” & “error” . > > > > <request-map uri="createPartySkill"> > > <security https="true" auth="true"/> > > <event type="service" invoke="createPartySkill"/> > > <response name="success" type="view" value="FindPartySkills"/> > > <response name="error" type="view" value="NewPartySkill"/> > > </request-map> > > > > Thanks to all. > > > > *Best Regards,* > > > > *Ismail Alkouz* > > Java Developer > > > > [image: Description: Logo for Office-4] > > > > [image: Description: bi email-3-02] > > > > P.O.Box 3516 Amman, 11821 > > The Hashemite Kingdom of Jordan > > *Tel.* +962 (6) 556 2620 > > *Mob (Jordan).* +962 79 282 2098 > > [image: Description: bi email-3-04] > > [image: Description: bi email-3-05] > > /biict > > @biict > > > > >