Adapter Development Kit 6.5 | webMethods Adapter Development Kit Documentation | webMethods Adapter Development Kit Installation and User’s Documentation | The Adapter Definition | Creating a WmAdapter Implementation Class | Adding Custom DSPs to the Adapter Interface
 
Adding Custom DSPs to the Adapter Interface
 
Internationalization Considerations for Custom DSPS
By default the adapter's administrative interface includes DSPs for connections, polling notifications, listeners, and listener notifications. You may add custom DSPs by overriding the following public methods provided in the WmAdapter abstract class:
Method
Description
getUiItemNames()
Returns a list of the label strings to insert in the left-hand panel of the Integration Server Administrator page for the adapter. Each label represents a link to the DSP to be executed.
getUiItemUrl
(String itemName)
Returns the URL of the DSP associated with the given itemName. This effectively binds the displayable item link/label name with the DSP to launch when the adapter user selects that link. The URL is relative to the packages directory of the server installation. For example, if your adapter name is WmFoo and your DSP is bar.dsp, the URL would be \WmFoo\bar.dsp. In the file system, however, the .dsp file actually resides in packages\WmFoo\pub\bar.dsp; the pub directory is not included in the URL. You may also append arguments to the URL, using the standard notation ?=.
getUiItemHelp
(String itemName)
Returns the URL of the help file describing the custom DSP page associated with the given itemName. The pathname requirements are the same as for getUiItemUrl(). For example, if your help file is located in \WmFoo\pub\bar_dsp.html, the path returned by this method should be \WmFoo\bar_dsp.html.
The labels for these DSPs appear in the navigation area in the left-hand window of the interface, immediately below the default labels (the Connections, Polling Notifications, Listeners, and Listener Notifications labels) but above the About label.
For information about creating DSPs, see the document Dynamic Server Pages and Output Templates Developer’s Guide.