I'm trying to write a java service that will call another service. The
other service takes three strings and a map as input. This is what I
have so far.
public static Map printLabel(DispatchContext dctx, Map context) {
GenericDelegator delegator = dctx.getDelegator();
String productId = (String) context.get("productId");
String producName = (String) context.get("productName");
String printer = (String) context.get("printer");
// call service here with above parameters
//
//
Map results = ServiceUtil.returnSuccess();
return results;
}
Am on the right track?
--
David Shere
Information Technology Services
Steele Rubber Products
www.SteeleRubber.com