Quantcast
Channel: SCN : Unanswered Discussions - Process Integration (PI) & SOA Middleware
Viewing all articles
Browse latest Browse all 6719

Calling BRM from UDF using Public API

$
0
0

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?


Viewing all articles
Browse latest Browse all 6719

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>