EBX5 generates a WSDL that complies with the W3C Web Services Description Language 1.1 standard.
A WSDL can be generated for different types of operations:
Operation type | WSDL description |
---|---|
| WSDL for EBX5 add-ons. |
| WSDL for dataset and replication operations. |
| WSDL for default EBX5 directory operations. It is also possible to filter data using the |
| WSDL for dataspace or snapshot management operations. |
| WSDL for operations on the tables of a specific dataset. |
| Deprecated since version 5.8.1. This operation type has been replaced by WSDL for user interface management operations (these operations can only be accessed by administrators). |
| WSDL for administration operations like:
These operations can only be accessed by administrators. |
| WSDL for EBX5 workflow management operations. |
EBX5 supports the following downloading methods:
From the data services user interface
From an HTTP request
A WSDL can only be downloaded by authorized profiles:
Operation type | Access right permissions |
---|---|
| All profiles, if at least one web service is registered. |
| All profiles. |
| All profiles, if the following conditions are valid:
|
| All profiles. |
| All profiles. |
| Deprecated since version 5.8.1. This operation type has been replaced by Built-in administrator role or delegated administrator profiles, if all conditions are valid:
|
| Built-in administrator role or delegated administrator profiles, if all conditions are valid:
|
| All profiles. |
An authorized user can download an EBX5 WSDL from the data services administration area.
See Generating a WSDL for dataspace operations in the user guide for more information.
An application can download an EBX5 WSDL using an HTTP GET or POST request. The application has to be authenticated using a profile with appropriate rights.
HTTP(S) URL format:
http[s]://<host>[:<port>]/ebx-dataservices/<pathInfo>?<key - values>
Both <pathInfo>
and <key - values>
are mandatory. For more information on possible values see: Request parameters. An HTTP code is always returned, errors are indicated by an error code above 400.
HTTP(S) response status codes:
Status code | Information |
---|---|
| The WSDL content was successfully generated and is returned by the request (optionally in an attachment). |
| The request is incorrect. This occurs when:
|
| Request requires an authenticated user. |
| Request is not allowed for the authenticated user. |
| Request is not allowed in this configuration. |
| Request generates an error (a stack trace and a detailed error message are returned). |
A detailed error message is returned for the HTTP response with status code 4xx.
HTTP(S) parameters size restrictions:
Request type | Information |
---|---|
GET | 2048 octets or more (HTTP Protocol Parameters). Note: Servers ought to be cautious about depending on URI lengths above 255 bytes, because some older client or proxy implementations might not properly support these lengths. |
POST | 2 mega octets or more (depending on the servlet/JSP container). Each parameter is limited to a value containing 1024 characters. |
A request parameter can be specified by one of the following methods:
a path info on the URL (recommended)
key values in a standard HTTP parameter.
For more detail, refer to the following table (some parameters do not have a path info representation):
Parameter name | As path info | As key - values | Required | Description |
---|---|---|---|---|
| no | yes | yes | Used to indicate the WSDL download. Empty value. |
| no | yes | no | A user identifier. Required when the standard authentication method is used. String type value. |
| no | yes | no | A password. Required when the standard authentication method is used. String type value. |
| yes | no | yes | Possible values are: String type value. |
| yes | yes | (*) | A dataspace or a snapshot identifier. (*) required for String type value. |
| yes | yes | (*) | A dataset identifier. String type value. |
| no | yes | no | A list of table paths. Optional for If not defined, all tables are selected. Each table path is separated by a comma character. String type value. |
| no | yes | no | Allows generating a WSDL for a subset of operations. Optional for This parameter's value is a concatenation of one or more of the following characters:
String type value. |
| yes | yes | (**) | Unique name space URI of the custom web service. (**)Is required when URI type value. |
| no | yes | (***) | The attachment file name. (***) optional if String type value. |
| no | yes | no | If value is Boolean type value. Default value is |
| no | yes | no | Overrides the target namespace URI of the WSDL. URI type value, default value corresponds to |
Some of the following examples are displayed in two formats: path info and key - values.
The WSDL will contain all repository
operations.
http[s]://<host>[:<port>]/ebx-dataservices/repository?WSDL&login=<login>&password=<password>
The WSDL will contain all workflow operations.
http[s]://<host>[:<port>]/ebx-dataservices/workflow?WSDL&login=<login>&password=<password>
The WSDL will contain all tables operations for the dataset 'dataset1'
in dataspace 'dataspace1'
.
Path info
http[s]://<host>[:<port>]/ebx-dataservices/tables/dataspace1/dataset1?WSDL&login=<login>&password=<password>
Key - values
http[s]://<host>[:<port>]/ebx-dataservices/tables?WSDL&login=<login>&password=<password>&branch=<dataspace1>&instance=<dataset1>
The WSDL will contain all tables with only readable operations for the dataset 'dataset1'
in dataspace 'dataspace1'
.
Path info
http[s]://<host>[:<port>]/ebx-dataservices/tables/dataspace1/dataset1?WSDL&login=<login>&password=<password>&operations=R
Key - values
http[s]://<host>[:<port>]/ebx-dataservices/tables?WSDL&login=<login>&password=<password>&branch=dataspace1&instance=dataset1&operations=R
The WSDL will contain two selected tables operations for the data set 'dataset1'
in dataspace 'dataspace1'
.
Path info
http[s]://<host>[:<port>]/ebx-dataservices/tables/dataspace1/dataset1?WSDL&login=<login>&password=<password>&tablePaths=/root/table1,/root/table2
Key - values
http[s]://<host>[:<port>]/ebx-dataservices/tables?WSDL&login=<login>&password=<password>&branch=dataspace1&instance=dataset1&tablePaths=/root/table1,/root/table2
The WSDL will contain custom web service operations for the dedicated URI.
Path info
http[s]://<host>[:<port>]/ebx-dataservices/custom/urn:ebx-test:com.orchestranetworks.dataservices.WSDemo?WSDL&login=<login>&password=<password>
Key - values
http[s]://<host>[:<port>]/ebx-dataservices/custom?WSDL&login=<login>&password=<password>&namespaceURI=urn:ebx-test:com.orchestranetworks.dataservices.WSDemo