< 上一个 | 内容 | 下一个 >

4.3 WADL

The IEEE 2030.5 RESTful interface is defined using the Web Application Description Language (WADL) (IEEE Std 2030.5 supplemental material).


IEEE 2030.5 devices SHALL conform to the interface specifications contained in the WADL as follows:


a) Devices SHALL conform to the WADL specification as per W3C WADL.

b) Devices SHALL conform to the WADL definition in the supplemental material of IEEE Std 2030.5. By implication, all resource representations SHALL validate per the schema (IEEE Std 2030.5 supplemental material) within the standardized IEEE 2030.5 XML namespace (urn:ieee:std:2030.5:ns).

c) Compliance (MODE) designations are interpreted as follows:

1) Mandatory ("M"): Devices MUST implement and conform.

2) Optional ("O"): Devices MAY implement, and if implemented, MUST conform.

3) Discouraged ("D"): Devices SHOULD NOT implement, but if implemented, MUST conform.

4) Error ("E"): Devices MUST return one of the specified response status codes (e.g., 400 Bad Request or 405 – Method Not Allowed).