Adapter for Enterprise JavaBeans 6.5 SP3 | webMethods Adapter for Enterprise JavaBeans Documentation | webMethods Adapter for Enterprise JavaBeans Installation and User’s Documentation | Scenarios | Running a Single Method with Complex Input on a Single Bean | Approach 2 | Steps
 
Steps
1. Using Designer, create a flow consisting of the following adapter service calls:
a. CreateEJB 2.1 or FetchEJB 3.0 (to create the EJB to be passed to the other EJB)
b. Corresponding CreateInvokeEJB 2.1 or FetchInvokeEJB 3.0 (to create the main EJB and run the method that takes the EJB created in the previous step as one of its parameters)
c. RemoveEJB (to release the EJB created by CreateEJB 2.1)
2. Edit the flow to map the output of the corresponding CreateEJB 2.1 or FetchEJB 3.0 service from step a to the input of the EJB method called in the corresponding CreateInvokeEJB 2.1 or FetchInvokeEJB 3.0 service.
3. Execute the flow and provide the appropriate input values (if any) when prompted for all other EJB method parameters.
4. Observe the results in the flow's output:
*A successful status for the create method invocation of the first EJB
*A successful status for the create method invocation of the second EJB
*The results of the method invocation