Adapter Development Kit 9.12 | webMethods Adapter Development Kit Documentation | webMethods Adapter Development Kit Installation and User’s Documentation | Using the Sample Adapter | Phase 3: Adding Adapter Services | Revising Code From Phases 1 and 2
 
Revising Code From Phases 1 and 2
In Phase 3, the existing classes from Phase 1 and Phase 2 are modified to include the following revisions. The classes contain comments that detail the changes.
Class
Revision
WmSampleAdapterConstants
Added string constants for the service property names.
WmSampleAdapterResourceBundle
Added entries for the service property configuration.
WmSampleConnectionFactory
Added a reference to AccountEnquiry and AccountTransaction class in the fillResourceAdapterMetadataInfo method.
WmSampleConnection
In the registerResourceDomain method, the sample code registers all resource domains declared by the AccountEnquiry and AccountTransaction service template classes.
In the adapterResourceDomainLookup method, the sample code includes resource domain lookup code to request the service metadata from the Sample Server repository.