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

Posted by Paul Foxworthy on
URL: http://ofbiz.116.s1.nabble.com/How-to-call-multiple-services-inside-single-service-in-OFBIZ-tp4168507p4216885.html

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/