Hi all, I was trying to invoke the createContactMech in the ContactMechServices from a groovy service. But, got the following error: No signature of method: static org.ofbiz.party.contact.ContactMechServices.createContactMech() is applicable for argument types: (org.apache.catalina.connector.RequestFacade, org.ofbiz.base.util.collections.MapStack)
The code: context.contactMechTypeId = parameters.get("contactMechTypeId"+i); context.info_string= parameters.get("contactMechData"+i); Map res = ContactMechServices.createContactMech(request, context); The error: org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen [component://crm/widget/CrmScreens.xml#createPersonFtl2]: groovy.lang.MissingMethodException: No signature of method: static org.ofbiz.party.contact.ContactMechServices.createContactMech() is applicable for argument types: (org.apache.catalina.connector.RequestFacade, org.ofbiz.base.util.collections.MapStack) values: {org.apache.catalina.connector.requestfac...@3b6177, ["webSiteId":null, "https":null, "formStringRenderer":org.ofbiz.widget.html.htmlformrende...@1021b85, "null":[null-field], "contactMechTypeId":null, "screens":org.ofbiz.widget.screen.screenrende...@15ce24f, "globalContext":["screens":org.ofbiz.widget.screen.screenrende...@15ce24f, "globalContext":this Map_, "nullField":[null-field], "parameters":["localDispatcherName":"crm", "org.apache.catalina.WELCOME_FILES":["index.jsp", "index.html", "index.htm"], thanks in advance, Roel Veldhuizen