WebSphere Adapter for Email

Accessing the tutorial files

Accessing the tutorial files is an optional task. These steps have been documented for advanced users who wish to explore the internal contents of the samples. First-time users or those not interested in the files themselves may skip this section. To access the tutorial files, run the installer and extract the ear files located in the Samples folder.

  1. Run the adapter installer. If you have not already installed the adapter, do so now. You may install the adapter into any directory. CWYEM_EMail.RAR and a Samples folder containing an ear file for each sample scenario will be placed in your directory.
  2. Extract the sample files:
    1. Navigate to the Samples folder and unzip each of the EAR files (EmailInboundSampleApp.ear and EmailOutboundSampleApp.ear) into separate subfolders. Consider using meaningful names to identify which ear file contents correspond to each sample scenario. For example, call one folder InboundSample.
    2. Double-click each EAR file and extract their contents to a separate Samples subfolders for each EAR file. The files that are extracted by each EAR file are precise examples of the artifacts the user creates when using the enterprise service discovery wizard in each scenario. In addition, they can be used as reference to verify what files created by enterprise metadata discovery should look like.

Result

When each EAR file has been extracted, the following files should be present in your directory.

Files in EmailInboundSampleApp.ear

File/Path File description
CWYEM_EMail.rar The RAR file contains the binaries of the Email RA.
EmailInboundSample.jar The jar has the sca files (sca.module, sca.modulex), xsds and other artifacts generated by the Email EMD.
EmailInboundSampleEJB.jar The jar file contains a generated EJB implementation of the endpoint component associated with the inbound service
EmailInboundSampleEJBClient.jar The jar file contains the generated EJB Client implementation with the above EJB.
META-INF folder Contains ibm-application-ext-pme.xmi, application.xml, ibmconfig folder, along with the manifest file.
EmailInboundSample.jar\xsds Will contain all the XSDs generated by the Email EMD for the module. This would include the files – Email.xsd, EmailBG.xsd, Header.xsd, MailAttachment.xsd, UnstructuredContent.xsd, WbiAddress.xsd, WbiPhone.xsd, WbiAddressWrapper.xsd, WbiAddressWrapperBG.xsd
EmailInboundSample.jar\EmailInboundInterface.wsdl WSDL interface for the inbound service
EmailInboundSample.jar\EmailInboundInterface.export Export file for the inbound service
EmailInboundSample.jar\Endpoint.component The implementation of this sample component endpoint will be available at EmailEMD.jar\sca\component\java\impl

Files in EmailOutboundSampleApp.ear

File/Path File description
CWYEM_EMail.rar The RAR file contains the binaries of the Email RA.
EmailOutboundSample.jar The jar has the sca files (sca.module, sca.modulex), xsds and other artifacts generated by the Email EMD.
EmailOutboundSampleEJB.jar The jar file contains a generated EJB implementation of the endpoint component associated with the outbound service
EmailOutboundSampleEJBClient.jar The jar file contains the generated EJB Client implementation with the above EJB.
MyWebProject.war Contains emailwebclient.jsp, with other web-module artifacts like the services.properties file. emailwebclient.jsp will trigger the outbound request to the Email adapter.
META-INF folder Contains ibm-application-ext-pme.xmi, application.xml, ibmconfig folder, along with the manifest file.
EmailOutboundSample.jar\xsds Will contain all the XSDs generated by the Email EMD for the module. This would include the files – Email.xsd, EmailBG.xsd, Header.xsd, MailAttachment.xsd, UnstructuredContent.xsd, WbiAddress.xsd, WbiPhone.xsd, WbiAddressWrapper.xsd, WbiAddressWrapperBG.xsd
EmailOutboundSample.jar\EmailOutboundInterface.wsdl WSDL interface for the outbound service
EmailOutboundSample.jar\EmailOutboundInterface.import Import file for the outbound service

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)