O-DF in Database

Write request

Normal

This is normal write request, writes all data to data for test. Written from localhost.

Request:

Response:

Read request

Normal

This is normal read request without any extra arguments

Request:

Response:

Subtree

This is normal read request without any extra arguments, but now only Object1's subtree is wanted.

Request:

Response:

Objects version="2.0" xmlns="http://www.opengroup.org/xsd/odf/2.0/"

This is normal read request without any extra arguments, but now whole tree is wanted.

Request:

Response:

Not existing

This is normal read request without any extra arguments, now O-DF includes non-existing elements.

Request:

Response:

Getting MetaData

This is normal read request without any extra arguments, now MetaData is wanted from Objects/Object1/Sensor1

Request:

Response:

Getting descriptions

This is normal read request without any extra arguments, now description is wanted from Objects/Object1/Sensor1

Request:

Response:

Newest

User wants 3 newest values.

Argument:
  • newest

Request:

Response:

Oldest

User wants 3 oldest values.

Argument:
  • oldest

Request:

Response:

Empty values

User wants multiple values from InfoItem with no values

Argument:
  • empty values

Request:

Response:

MaxLevels

User wants maximum of 1 levels of nodes after leaf nodes.

Argument:
  • maxlevels

Request:

Response:

Closed timeframe

User wants values between 01-01-1970T00:00:03.000 and 00:00:00.006.

Argument:
  • begin
  • end

Request:

Response:

Open timeframe, begin

User wants values after 01-01-1970T00:00:03.000

Argument:
  • begin

Request:

Response:

Open timeframe, end

User wants values before 01-01-1970T00:00:06.000.

Argument:
  • begin

Request:

Response:

Closed timeframe with newest

User wants two newest values between 01-01-1970T00:00:03.000 and 00:00:00.006.

Argument:
  • begin
  • end
  • newest

Request:

Response:

Closed timeframe with oldest

User wants two oldest values between 01-01-1970T00:00:03.000 and 00:00:00.006.

Argument:
  • begin
  • end
  • oldest

Request:

Response:

Open timeframe with oldest, begin

User wants two oldest values after 01-01-1970T00:00:03.000.

Argument:
  • begin
  • oldest

Request:

Response:

Open timeframe with newest, begin

User wants two newest values after 01-01-1970T00:00:03.000.

Argument:
  • begin
  • newest

Request:

Response:

Open timeframe with oldest, end

User wants two oldest values before 01-01-1970T00:00:06.000.

Argument:
  • end
  • oldest

Request:

Response:

Open timeframe with newest, end

User wants two newest values before 01-01-1970T00:00:06.000.

Argument:
  • end
  • newest

Request:

Response:

Callback

User wants node to send response for actual request to another address.

Argument:
  • callback

Request:

Response:

Newest and Oldest

Return error when request contains both newest and oldest values.

Argument:
  • newest
  • oldest

Request:

Response:

Subscription request

Polled interval subscription

Subscription with interval of 1, but without a callback address.

Request:

Response:

Request:

Response:

Request:

Response:

Request:

Response:

Polled event subscription

Subscription with interval of -1, but without a callback address.

Request:

Response:

Request:

Response:

Request:

Response:

Request:

Response:

Request:

Response:

Polled event subscription

Subscription with interval of -2, but without a callback address.

Request:

Response:

Request:

Response:

Request:

Response:

Request:

Response:

Request:

Response:

Request:

Response:

Request:

Response:

Delete message

Delete operation: removing selected infoitems from an Object.

Request:

Response:

Request:

Response:

Request:

Response:

Request:

Response:

Normal inteval subscription

Subscription with interval of 1 and with a callback address.

Request:

Response:

Response to callback:

Response to callback:

Request:

Response:

Normal event subscription

Subscription with interval of -1 and with a callback address.

Request:

Response:

Request:

Response:

Response to callback:

Request:

Response:

-2 interval subscription

Subscription with interval of -2 and with a callback address.

Request:

Response:

Request:

Response:

Response to callback:

Request:

Response:

Response to callback:

Request:

Response:

Proprietary/unknown attributes

Write proprietary/unknown attributes with O-MI response

Use response as write request with O-MI and O-DF proprietary attributes that are allowed by the standards. O-MI attributes should be ignored

Request:

Response:

Read proprietary O-DF attributes

Should return currently saved proprietary attributes. As of writing, value attributes are ignored by the default DB implementation.

Request:

Response:

Call request without a proper handler

Call request should return error because no handler has been setup for this request. Should not return parser errors.

Request:

Response: