This discussion is archived
3 Replies Latest reply: Dec 7, 2012 9:10 AM by veejai24 RSS

How to call Java API

BK574 Newbie
Currently Being Moderated

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.

  • 1. Re: How to call Java API
    vladodias Guru
    Currently Being Moderated

    You will need a java embedding java activity in bpel to do the mapping... Have a look at this...

  • 2. Re: How to call Java API
    AdamDesJardin Journeyer
    Currently Being Moderated
    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.

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



  • Correct Answers - 10 points
  • Helpful Answers - 5 points