If you mean "call service from Java code", the following code is one way:
DispatchContext dctx = Method_or_parameter;
LocalDispatcher lcDispatcher = dctx.getDispatcher();
Map inputMap = Your_init_method;
resultMap = lcDispatcher.runSync("Your_target_service",
inputMap);




-----
Rong Nguyen

Olbius JSC
Deliver highest business value
http://www.olbius.com/
--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/How-can-I-call-the-servicedef-service-xml-in-the-freemarker-tp4650039p4650043.html
Sent from the OFBiz - User mailing list archive at Nabble.com.

Reply via email to