Try OpenEdge Now
skip to main content
BP Server Developer's Guide
Configuring performers : Callback code example
 

Callback code example

The following example displays a snippet of code to completeCallerWS for asynchronous local/remote adapters. The external performer retrieves the properties to call back BP Server from the PAKcallerID method.
BP ServerManagerHome home = (BP ServerManagerHome)SBMHomeFactory.lookupHome(
new HashMap(props),
Class.forName("com.savvion.ejb.bizlogic.manager.BP ServerManagerHome"));
   BP ServerManager manager = (BP ServerManager)home.create();
   String ses = manager.connect("admin","admin");
   manager.completeCallerWS(ses, pi_name, ws_name, dataslot_values);
   manager.disConnect(ses);