To make Java callout classes available:

You must ensure that the Java callout class is available on the server. You can use any of the following methods for this:

  • Copy the Java class to the SCA-INF/classes folder.

  • Copy the JAR file containing the Java class to the SCA-INF/lib folder.

  • If you want to share custom classes across multiple mediator projects:

    • Copy the custom JARs to <SOA_HOME>/soa/modules/oracle.soa.ext_11.1.1 directory.

    • Run ANT.

    • Restart SOA Server.

    Alternatively, you can also do the following:

    • Add the path of the JAR to manifest of <SOA_HOME>/soa/modules/oracle.soa.ext_11.1.1/oracle.soa.ext.jar.

    • Restart SOA Server.

For steps you need to update oracle.soa.ext.jar, see the soa/modules/oracle.soa.ext_11.1.1/readme.txt file.

For instructions about adding custom classes and JAR files, see Adding Custom Classes and JAR Files.