After you have created and exported an adapter EAR file with the service type set
to Inbound, you can test inbound functionality.
1.
Edit your module using the Assembly Editor, connecting the export to a Java
component.
a.
Double-click on the module to start the Assembly Editor.
b.
Create a new Component by selecting the Component with no
implementation from the first option.
c.
Add a wire by clicking the export and dragging it to the component.
Wiring a component
d.
Click
OK
in the next window.
e.
Right-click the component and select
Generate Implementation
→
Java
.
This creates a Java component that simulates an end point.
f.
Select the package where the Java code should be created. Once the package
is selected, the Java file should display as shown in the following figure.
This can be edited to insert print or process statements for testing.
WebSphere Adapter development overview
201
Summary of Contents for WebSphere Adapters
Page 2: ......
Page 6: ...iv WebSphere Adapters WebSphere Adapter Toolkit User Guide...
Page 220: ...214 WebSphere Adapters WebSphere Adapter Toolkit User Guide...
Page 224: ...218 WebSphere Adapters WebSphere Adapter Toolkit User Guide...
Page 225: ......
Page 226: ...Printed in USA...