ofbiz-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Madhi Krishnan <madhi.krish...@udyogmandir.in>
Subject Not able to gthiet the email address..
Date Tue, 16 Oct 2018 10:06:16 GMT
Hey all..
Can anyone please help he to solve this below..

public static Map<String,Object> getEmail(DispatchContext ctx,Map<String, ?
extends Object> context) throws GenericEntityException, SQLException,
LocalDispatcher dispatcher=ctx.getDispatcher();
Map<String,Object> successResult=ServiceUtil.returnSuccess();
String partyId="10035";
Map<String, Object> input=UtilMisc.toMap("partyId",partyId);
Map<String, Object> serviceResult=dispatcher.runSync("getPartyEmail",
String email="";
if(serviceResult != null) {
successResult.put("outValue", email);
else {
successResult.put("outValue", "Returns a null Value");
return successResult;

Trying to retrive the email address of a partyId..using the out of the box
service Named as getPartyEmail...but it's returning a null value for

Thank You..

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message