What is the ServiceCapability object?


Describe the different capabilities of the service. This depends of the operation supported, and in the case for example of the PullRequest message regards the Service Capability required by the system requesting the information (the consumer).

This structure contains the following elements (all are optional):

ServiceCapability contents

Their elements are:


Element

Required

Value

Description

ExpectedResponseTime

No

Integer value.

Estimated average time in seconds to receive the response.

MaxNumberOfRequestsNoInteger value.Number of requests by hour allowed by the system providing. Undefined=no limit.
QueryByExampleTypeNo

Values:

  • ExactSearch
  • BestEffort

It is a numeration of the type of query requested: exact answers (value "ExactSearch") or approximate answers (value "BestEffort").


Namespace: http://www.cise.eu/servicemodel/v1/service/.

Communication protocols that use the ServiceCapability

Used in :

  • The "Requests" element of the PullRequest.
  • The "Fulfils" element of the PullResponse.
  • The ServiceDiscoveryProfile xml fragment used by both of PullRequest, and the Push

Example of server capabilities

Example of server capabilities definition is as follow:

<ExpectedResponseTime>32</ExpectedResponseTime>
<MaxEntitiesPerMsg>100</MaxEntitiesPerMsg>
<MaxNumberOfRequests>1</MaxNumberOfRequests>
<QueryByExampleType>BestEffort</QueryByExampleType>