IBM BPM, V8.0.1, All platforms > Authoring services in Integration Designer > Services and service-related functions > Access external services with adapters > Configure and using adapters > IBM WebSphere Adapters > Adapter Toolkit > Implementing code from the IBM WebSphere Adapter Toolkit > Enterprise metadata discovery general interfaces and implementation for application adapters > Metadata discovery connection type
MetadataSelection
MetadataSelection is a container that holds objects and properties that you select to guide or filter enterprise metadata discovery.
In addition to object selection, MetadataSelection also holds properties that are applicable for the selected objects. Such properties include the following:
- Specification of service type: inbound or outbound
- Namespace for use by business object definitions
- ConnectionType that for use at run time.
This step is required if the ConnectionType at run time differs from that for metadata discovery. Regardless, IBM WebSphere recommends a different connectionType for metadata than for run time. The metadata connectionType should contain properties needed to perform the discovery only. The runtime connectionType should contain resource adapter, managed connection factory, or ActivationSpecWithXid properties.
Implement the discovery service to reuse properties (for example, username, password) from the MetadataSelection connectionType wherever possible. You can specify other properties after the service description is created, when the tool checks whether artifact properties have been specified.