Group Service in Ofbiz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Group Service in Ofbiz

Ritesh K Kaushik
I am Ofbiz newbee, how to use group sevices to invoke two services of type "java" and one simple ofbiz service.
Reply | Threaded
Open this post in threaded view
|

Re: Group Service in Ofbiz

Paul Foxworthy
Hi Ritesh,

If all you want to do is call the three services, create a new service of your own in minilang with three call-service actions. When you're invoking a service, it makes no difference how it was implemented.

An example of a service that calls several others is at https://fisheye6.atlassian.com/browse/ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/payment/PaymentServices.xml?hb=true#to354

Cheers

Paul Foxworthy

Ritesh K Kaushik wrote
I am Ofbiz newbee, how to use group sevices to invoke two services of type "java" and one simple ofbiz service.
--
Coherent Software Australia Pty Ltd
http://www.coherentsoftware.com.au/

Bonsai ERP, the all-inclusive ERP system
http://www.bonsaierp.com.au/
Reply | Threaded
Open this post in threaded view
|

Re: Group Service in Ofbiz

Ritesh K Kaushik
 Now, I am using java classes like GenericDelegator to store and update and sometimes delete data from database, it is working fine, but my requirment is to display a Success/Error message to the user .

  How to do it in Ofbiz? Also how to display my own message if service is failed or seccess?