Defines a default (local) device and service according to WSD-Discovery specifications, and provides a way to detach an operation's executable code from its metadata.

DefaultDevice constructs a local device (extends DeviceCommons and implements LocalDevice)implementing the functionality of a Target Service as described in the WSDD-Discovery specification. A default device is capable of handling the following types of messages: Probe message, Resolve message, Get message. A default device is then capable of sending the following messages: Probe Matches message, Resolve Matches message, Hello message, Bye message, and Get Response message. A number of services can be added to the device (which must possess at least one communication binding, and be explicitly started for it to function).

DefaultService constructs a local service (extends ServiceCommons and implements LocalService). This class is a template class and does not define any operations. To implementing a working service, the class must be extended and operations created and added to the constructor.

Two operations can have different names but refer to the same code via the OperationStub and InvokeDelegate classes,both classes providing a way to detach the operation's executable code (invoke method) from its metadata.