Posts

Showing posts from August, 2016

Maven builds for SOA 12c Composites with BPEL Java embedding and Java class

Image
Enviornment: Oracle SOA Suite 12.2.1

Sample Application:https://github.com/jvsingh/SOAAppWithJavaEmbedding/tree/develop/SOAApplication
(Git clone or use the download option from here: https://github.com/jvsingh/SOAAppWithJavaEmbedding/tree/develop )

Scenario: 
 A BPEL component has a Java embedding that in turn calls a Java class method (under the usual SCA-INF/src)

Issue:
This works and builds find using JDeveloper, but the oracle-soa-plugin for maven seems to have a few known issues (see references for one of them) that cause builds for such composites to fail. 


 My Java embedding, referring to my class com.singhpora.samples.SOAApplication.SCAJava under SCA-INF/src can be seen here: 

When I build the SOA project using "mvn clean package"  (from the SOAProject directory with the default pom) , you can see that I get two distinct errors as shown below:  a) It can't find my class from under SCA-INF/src  b) It cannot find even the BPEL platform classes





The workaround(s) for the two i…