Hi Experts,
I am trying to call BRM from UDF using the public BRM API.
The following blog is used as inspiration.
http://help.sap.com/saphelp_nwce72/helpdata/en/2f/b0c8182e3a4aa0af3931938679fe58/frameset.htm
I get an error when calling the invokeRuleset part of the code from from a message mapping.
jndiName = "com.sap.brms.RuleEngine"
if (ruleEngine == null) {
InitialContext context = new InitialContext()
Object obj = context.lookup(jndiName);
RuleEngineHome home = (RuleEngineHome) PortableRemoteObject.narrow(obj,
RuleEngineHome.class);
ruleEngine = (RuleEngine) home.create();
}
The error message i get in the Try/Catch is the following: com.sap.brms.qrules.ejb.RuleEngineHome
Let me know if more info is needed?