DSB Management

compared with
Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (3)

View Page History
A more easy way to work with services is to let the DSB the responsability to configure itself in order to bind or expose services as it can be done with the help of JBI SAs. The default implementation of the DSB comes with a management API which is dedicated to that. By using this Web service API, you just use standard SOAP client or library to communicate with the Management layer of the DSB.

h3. SOAP-based Services
Some utilities based on top of the previously mentioned API are also available to preconfigure the DSB at configuration time. With their help you are able to define sets of services which will be automatically bound to the DSB when it starts.

h3. 'Design' Time

In order to predefine a set of services to bind at startup, a simple properties file located under _$DSB_HOME/conf/services2bind.cf{_}g is defined as:
{code}
# A list of services to bind at startup
# The key MUST start with the protocol to use to bind the service and MUST be unique in this properties file
# CSV Values are also possible

#soap.0=http://localhost:8080/services/Ping?wsdl
#soap.1=http://localhost:8080/services/Pong?wsdl
#rest.0=http://localhost:7777/rest/Weather

soap.proactivespace=http://ns306320.ovh.net:8090/soa4all-space-proactive/ws/ProactiveSemanticSpaceWS?wsdl
soap.owlimspace=http://94.23.221.97:8080/soa4all-space-owlim/ws/SemanticSpaceWS?wsdl
rest.yahooweather=http://weather.yahooapis.com/

#example of service list as CSV
soap.list=http://foo.com/bar,http://bar.com/foo
rest.list=
{code}

In the previous configuration snippet, 

h3. Runtime


h4. SOAP-based Services

The DSB SOAP Component is in charge or binding external services to the bus and to expose DSB services as SOAP services. This can be done by using a collection of Web services embedded and provided by the DSB itself.