Posted: Thu Mar 17, 2005 4:09 am Post subject: How to call Java Classes from WBIMB V5.0.1.3
Apprentice
Joined: 05 Jan 2005 Posts: 25 Location: India
timna wrote:
You need CSD04 to call java from ESQL.
Ya I have that. I had a try also, but it didn't work. I wrote a java class having a static mehod. Prepared the jar and put into the classes subdirectory of my WBIMB installation path. Then I wrote the ESQL like this
"CREATE PROCEDURE JavaReturnTest(OUT ReturnVal) RETURNS CHARACTER LANGUAGE JAVA EXTERNAL NAME "JavaInMb.Test";"
and
"CREATE FUNCTION JavaReturnTest(OUT ReturnVal) RETURNS CHARACTER LANGUAGE JAVA EXTERNAL NAME "JavaInMb.Test";"
but both of them are not working. In the message flow editor they are showing error.please help.
Did you restart your broker after you put your jar in the classes folder?
Did you read the links to documentation posted in the thread I gave the link to?
Does your Create Procedure statement indicate the fully qualified name of your static method? _________________ I am *not* the model of the modern major general.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum