Adapter Development Kit 6.5 | webMethods Adapter Development Kit Documentation | webMethods Adapter Development Kit Installation and User’s Documentation | Using the Sample Adapter | Phase 3: Adding Adapter Services | Implementing the Adapter Service Template | Revised Code From Phases 1 and 2
 
Revised 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 FunctionInvocation in the fillResourceAdapterMetadataInfo method.
WmSampleConnection
In the registerResourceDomain method, the sample code now registers all resource domains declared by the FunctionInvocation service template.
In the adapterResourceDomainLookup method, the sample code now includes resource domain lookup code to request the service metadata from the Sample Server repository.