ofbiz-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wai <bzb.of...@gmail.com>
Subject Calling multiple services
Date Thu, 22 Dec 2011 20:21:14 GMT

Is there any advantage/difference between Sample1 and Sample2 when it comes
to calling multiple services?

Sample1:
========
<service name="someService_1" engine="group" ...>
<group>
<invoke name="someService_A"/>
<invoke name="someService_B"/>
</group>
</service>


Sample2:
========
<service name="someService_2" engine="simple"
location=".../SomeServices.xml" invoke="someService_2" ...>
...
</service>

File SomeServices.xml
---------------------
<simple-method method-name="someService_2"...>
<call-service service-name="someService_A" ...>...</call-service>
<call-service service-name="someService_B" ...>...</call-service>
</simple-method>

--
View this message in context: http://ofbiz.135035.n4.nabble.com/Calling-multiple-services-tp4226530p4226530.html
Sent from the OFBiz - User mailing list archive at Nabble.com.

Mime
View raw message