EBI External Notifications API Example

EBI External Notifications API Windows Example

There are times we need to execute Business Process Scripts from outside of EBI, on a Windows based system. The information below is shipped and documented by EXTOL. This documentation is circa 2003 but is still relevant today.

To see a customized version of the EXTOL API Notification process, check out: EBI External Notifications API Windows Example with 3 Arguments (property values).

Shipped EXTOL Items

EbiNotificationAPI.bat

Below is the shipped EbiNotificationAPI.bat script. The bold items are to be updated.

 @ECHO OFF
 SET JAVA_HOME=C:\EBI26\jre\bin
 SET CD=C:\EBI26\APINotify\ebi_notification
 SET CLASSPATH=.;%CD%;%CD%\conf;%CD%\lib;%CD%\lib\EBI.jar;%CD%\lib\jbossall-client.jar;%CD%\lib\jboss-j2ee.jar;%CD%\lib\log4j.jar;%CD%\lib\dom4j.jar
 SET PATH=%JAVA_HOME%;%CD%
 ECHO Running Java Class
 java SendEbiItmNotif "notification.api" " " 100 "Triggered Event"
 ECHO Successfully ran Java Class


jndi.properties

Below is the shipped jndi.properties file. The bold item should be updated if the .bat does not reside on the same machine as the EXTOL Server.

java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
java.naming.provider.url=jnp://localhost:1099


SendEbiItmNotif.java

Below is the java source code that is shipped with the EBI_Notifications_2.x.zip





By: on
A free web counter provided by GoStats.