Quantcast
Channel: Indrayan's SOA Blog
Viewing all articles
Browse latest Browse all 62

Invoke method in custom java class from BPEL

$
0
0
Step1:

Create java class and create jar file from it.
SampleJava.java











Test.jar











Step2: 
Import jar file in classpath(with export option selected) and using java embedding invoke java method.
Test_Java_BPEL.zip












Step3: 
It may happen successful compilation but failure to deploy code.In such case add the jar file under $Application/SCA-INF/lib folder.

Step4: 
To add custom jar in classpath check below link. Probably this will be required if jar is not exported and will be required in server runtime.

Viewing all articles
Browse latest Browse all 62

Trending Articles