WebSphere Adapter for Email
Tutorial 4: Creating and exporting an inbound EAR file
In this tutorial you will create your own EAR file and deploy it
to the test server. You will see how the adapter processes inbound requests,
how data is transformed for known MIME types and attachments, how selective
polling works, how events can be archived, and how data is passed through
the system. You will also learn about IMAP protocol functions.
Sub-topics
- Creating the adapter project
To begin the process of creating a module to communicate with an Email service, you create an adapter project. The adapter project contains the adapter itself plus other related artifacts. You create the project by importing the RAR file, which was copied to your local file system during installation, into WebSphere® Integration Developer.
- Configuring the adapter for inbound processing
Use the enterprise service discovery wizard to select business objects and services and to generate artifacts. You can run this tutorial in pass-through or data transformation mode by defining the configuration settings differently.
- Exporting the module as an EAR file
After you have created an inbound module in the enterprise service discovery wizard, deploy it to the test server. This task is optional and is only needed in case you must use the following troubleshooting procedure.
- Verifying the test results
Check if your test was successful using the WebSphere Integration Test Client to examine the System.out log file. Or, you can check if any failed e-mails have been transferred to the failed events archive folder.
- Custom data bindings
WebSphere Process Server 6.0.2 provides the following sample custom EIS data bindings: Delimited, FixedWidth, and NameValue. The detailed steps for configuring these data bindings are located in WPS_install_directory\samples\doc\CustomEISDataBinding\index.html. The source code for the data binding is also provided and can be modified as needed.
- Troubleshooting the tutorial
If you had problems completing the scenario successfully, consider the troubleshooting tips in this section.
Terms of use |
Last updated: Mon 30 Oct 2006 03:44:38
(c) Copyright IBM Corporation 2005, 2006.
This information center is powered by Eclipse technology (http://www.eclipse.org)