How to call multiple services inside single service in OFBIZ ?

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

How to call multiple services inside single service in OFBIZ ?

Ritesh K Kaushik
How to call multiple services inside single service in OFBIZ ?
Reply | Threaded
Open this post in threaded view
|

Re: How to call multiple services inside single service in OFBIZ ?

Paul Foxworthy
Hi Ritesh,

If you are implementing your service in Java, the runSync and runAsync methods defined by the LocalDispatcher interface are what you need. See http://www.packtpub.com/article/apache-ofbiz-service-engine-part-2, and one example is at https://fisheye6.atlassian.com/browse/ofbiz/trunk/applications/party/src/org/ofbiz/party/party/PartyServices.java?hb=true#to325

If you are using the Ofbiz minilang, use the call-service action. More on minilang at
http://ofbiz.apache.org/docs/minilang.html

Cheers

Paul Foxworthy

Ritesh K Kaushik wrote
How to call multiple services inside single service in OFBIZ ?
--
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: How to call multiple services inside single service in OFBIZ ?

Ritesh K Kaushik
Thnx Paul