Saturday, August 18, 2012

In SOA 11g ,We can call SOA composite from java in simple two steps. First write java code to call composite and second change binding in Composite.xml to adf binding.

First step is to write java code that will invoke SOA composite. To make java code work you need to import some packages. Basically you need to add three below mentioned jar files in your project.
  •    oracle-soa-client-api.jar: C:\Oracle\Middleware\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\oracle-soa-client-api.jar
  •  soa-infra-mgmt.jar :C:\Oracle\Middleware\jdeveloper\soa\modules\oracle.soa.mgmt_11.1.1\soa-infra-mgmt.jar
  •  fabric-common.jar :C:\Oracle\Middleware\oracle_common\modules\oracle.fabriccommon_11.1.1\fabric-common.jar
Find below Java Code to invoke SOA Composite

If your composite is in Cluster Environment then instead of "t3://host:port/soa-infra" you have to use "t3://host1:port1,host2:port2/soa-infra".

Now next step is to change binding in SOA Composite that we want to invoke.

Below is our original Composite.xml file

We need to add adf binding in original Composite.xml file that we will use in java code to call our composite.

Below is modified Composite.xml file with adf binding.

Now you are ready to invoke SOA Composite by using this Java API.


  1. Best web hosting companies. Reviews, rates, statistics of top hosting companies.
    Find best hosting company at