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 1 | Steps
 
Steps
1. Create a native Java service to create the user-defined object that will be passed to the EJB method. This Java service should expect on its input pipeline the property values needed to successfully create and initialize the user-defined object, which it should insert into its outbound pipeline.
2. Create a flow that includes the following steps:
a. Calls the Java service created in step 1.
b. Calls the configured CreateInvokeEJB 2.1 or FetchInvokeEJB 3.0 adapter service described in the assumptions above.
3. Edit the flow to map the output of the Java service to the input of the EJB bean method called in the corresponding CreateInvokeEJB 2.1 or FetchInvokeEJB 3.0 adapter service.
4. Execute the flow and provide the appropriate input values (if any) when prompted for all other EJB method parameters.
5. Observe the results in the flow's output:
*A successful status for the create method invocation
*A successful status for the bean method invocation
*The results of the method invocation
6. For information about the CreateInvokeEJB 2.1 service, see CreateInvokeEJB 2.1 Adapter Service. For information about the FetchInvokeEJB 3.0 service, see FetchInvokeEJB 3.0 Adapter Service.