Adapter Development Kit 9.12 | webMethods Adapter Development Kit Documentation | webMethods Adapter Development Kit Installation and User’s Documentation | Adapter Services | Adapter Service Classes | Adapter Services Implementation Classes
 
Adapter Services Implementation Classes
Create an adapter service class by extending the com.wm.adk.cci.interaction.WmAdapterService base class. The adapters include several adapter service template classes, so it is common to place them in their own package. You must override the following base class methods in your WmAdapterService implementation class:
Method
Description
execute
Receives a WmManagedConnection implementation object from the adapter implementation, and a WmRecord containing the pipeline data.
Note:
This is an abstract method in the base class, so failing to override it results in a compilation error.
For more information, see Adapter Service Execution.
fillWmTemplateDescriptor
Receives a WmTemplateDescriptor object and a Locale object. Serves to modify how metadata parameters are handled during data entry.
Note:
Failing to override this method results in a runtime error.
For more information, see WmTemplateDescriptor Interface.
metadataVersion
Returns the current version of the metadata.
Note:
If the template has multiple metadata versions, override this method.
fieldsToIgnoreInMetadataDefinition
Uses metadata version as input and returns an array of the fields that are not applicable to the metadata version provided.
Note:
If the template has multiple metadata versions, failing to override this method results in breaking the old services.