3 Replies Latest reply: Dec 7, 2012 11:10 AM by veejai24 RSS

    How to call Java API

    BK574
      Hi,

      Currently I am getting inputs from another composite, lets say Composite A and in composite B I need to pass the input values ( approx 40 elements are coming from composite A) to Java API ( end system). I have jar file for java API which has 20 different classes. Can you guys suggest me how to map the input values that are coming from composite A to Java API.

      I developed a Bpel process which receives the input from Composite A. Please suggest me for next steps and procedure to follow.

      Thanks.
        • 1. Re: How to call Java API
          vladodias
          Hi,

          You will need a java embedding java activity in bpel to do the mapping... Have a look at this...
          http://docs.oracle.com/cd/E15586_01/integration.1111/e10224/bp_java.htm

          Cheers,
          Vlad
          • 2. Re: How to call Java API
            Adam DesJardin
            I would look into using the Spring component and wrapping your java api in a simple sprint bean class. SOA will then generate WSDL's and do marshalling/unmarshalling of the data between your BPEL and the spring component automatically. It will just look like another service call from within the BPEL but will actually invoke your spring component.

            Thanks,
            Adam DesJardin
            • 3. Re: How to call Java API
              veejai24
              The other 2 ways you can get it from the below url.

              http://docs.oracle.com/cd/E12483_01/integrate.1013/b28981/java.htm#BABDEGIA

              Thanks,
              Vijay