Service

Identifier:
com.sodius.mdw.server.service

Description:
Enables to contribute services. A service is the declaration of an MDWorkbench ruleset that is executed on server side.

Configuration Markup:

<!ELEMENT extension (service*)>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED>


<!ELEMENT service ((rule | operation) , property* , launcherPage?)>

<!ATTLIST service

id          CDATA #REQUIRED

name        CDATA #REQUIRED

description CDATA #IMPLIED>

A service is the declaration of an MDWorkbench ruleset that is executed on server side.



<!ELEMENT rule (parameter*)>

<!ATTLIST rule

ruleSet CDATA #REQUIRED

rule    CDATA #REQUIRED>

The main rule to launch



<!ELEMENT operation (parameter*)>

<!ATTLIST operation

class CDATA #REQUIRED>

The main operation to execute



<!ELEMENT parameter (property*)>

<!ATTLIST parameter

name CDATA #REQUIRED

type CDATA #REQUIRED>

A parameter expected by the ruleset or the rule.



<!ELEMENT property EMPTY>

<!ATTLIST property

name  CDATA #REQUIRED

value CDATA #REQUIRED>

Defines a property to provide additional hint to the service or to a parameter. A property "password" with a value "true" shall be a set on a parameter to indicate the parameter is a password and its value should not be exposed in web pages nor in HTTP responses.



<!ELEMENT launcherPage EMPTY>

<!ATTLIST launcherPage

url CDATA #REQUIRED>

A custom web page to launch the service. If not set, the default service launch web page is used.