Custom service discovery sample

This sample presents a custom service discovery plug-in.

For details on developing a custom service discovery plug-in, see the Related link.

The WSRR service discovery mechanism provides built-in support for automatically discovering services from the following target environments:

However, you can develop your own custom service discovery plug-in for discovering services from a custom target environment.

This sample presents a custom service discovery plug-in, the "HTTP Discoverer", which discovers WSDL files from supplied URLs, and publishes them to WSRR.

The sample custom service discovery plug-in contains the following Java™ classes:
Configuration instance class
Stores the parameter values for an instance of the custom target environment. In this case, there is one parameter, url, which can occur multiple times, once for each URL from which a WSDL file is to be discovered.
Configuration parser class
Parses the custom target environment configuration to obtain the URL parameter values.
Custom discoverer class
Discovers the WSDL files from the URLs specified in the configuration, and publishes them to WSRR.
Configuration validator class
Validates the custom target environment configuration each time it is changed.

The configuration XML, the plug-in classes, and instructions for running the sample are presented in the following subtopics: