Editing Webservice CMDI Metadata

For a webservice to be usable in WebLicht it must have an orchestration description in a CMDI format designed for WebLicht webservices. To make this process easier a CMDI orchestration metadata editing tool was created. It can be found here.

1 Using the COMET editing tool

In the front page you are presented with a choice of uploading an exiting CMDI file or creating a new one either starting from scratch or from an existing CMDI. Once this choice is made you will be redirected to the editing page. This page is split into two sections as described below.

1.1 General Information

In this section general information about the webservice is edited. Please make sure to fill all the fields. If any of the fields is highlighted in red, an error has occurred. In the accompanying error message the precise nature of the error will be explained. Pay particular attention to the PID field which must contained a unique PID for your webservice. Some fields are greyed out, that means that they will be filled in automatically.

1.2 Orchestration Information

This section is dedicated to the orchestration metadata used by WebLicht to chain the webservice. The orchestration metadata view is split into two tables, one for input and one for output. The editor is designed to assist you in the registration process, but one must still have the basic understanding of the chaining process to edit the orchestration metadata.

Follow these general guidelines when editing orchestration metadata:

Input value arguments represent the query string parameters value that is being added to the webservice URL when the webservice is executed by WebLicht. The query string parameter name can be specified for any input feature.

1.3 Error Codes

1 : general information field is empty

2 : invalid option selected for a field

3 : feature/value name is empty

4 : feature/value name is not unique

5 : type feature must be present

6 : input value must have a query string argument value

7 : input features having no values or a single value should not have query string arguments

8 : if an output does not replace an input it should not have the same features

9 : value must have an input value reference

10 : multiple output feature values can not reference the same input value

11 : output features having no values or a single value should not have input reference

12 : references must cover all the referred input feature values

13 : only one value is allowed, since input reference is not set

14 : output has no features