Adapter Development Kit 9.12 | webMethods Adapter Development Kit Documentation | webMethods Adapter Development Kit Installation and User’s Documentation | Using the Sample Adapter | Phase 1: Creating an Adapter Definition
 
Phase 1: Creating an Adapter Definition
 
Disabling Sample Adapter Package
Creating the MyWmSampleAdapter Package
Compiling the MyWmSampleAdapter Package
Adding the MyWmSampleAdapter's Startup and ShutDown Services
Testing the MyWmSampleAdapter Package
Disabling the Phase 1 Implementation
An adapter definition simply defines the adapter in your Integration Server. To create the adapter definition, include the following classes:
Class
Description
WmSampleAdapter
Represents the main class of the adapter. In the Sample Adapter package's main source code directory, the adapter definition extends the com.wm.adk.WmAdapter base class.
WmSampleAdapterConstants
Contains all the string constants used by the adapter including the major code, group names, parameter names, bean property names, and resource domain names.
WmSampleAdapterResourceBundle
Contains all display strings and messages used by the adapter at runtime and at design time.
admin
Registers and delists the adapter when the adapter package starts up and shuts down.
The first three classes are located in the com.wm.adapter.wmSampleAdapter Java package. The admin class is located in the wm.wmSampleAdapter Java package.
This section describes how to:
*Disable the Sample Adapter Package
*Create the MyWmSampleAdapter package
*Compile the MyWmSampleAdapter package
*Test the MyWmSampleAdapter package
*Disable the MyWmSampleAdapter package