Cisco CloudCenter: Get the Hybrid IT Advantage

Self-Describing Message

Definition - What does Self-Describing Message mean?

A self-describing message contains the data and metadata describing the format and meaning of a message. They usually contain all the data needed to understand the message, and all the information necessary to complete a task. Self-describing messages help in reducing the amount of coupling between components throughout the system, and in facilitating independent evolution of client-server components.

Techopedia explains Self-Describing Message

A self-describing message may include syntax and semantics, an Extensible Markup Language (XML) is an example of a self-describing message containing tag and value pairs. Essentially, self-describing messages contain both the metadata describing the message schema, and the values that correspond to the schema.

Each message contains information describing how to processes the message. An example is when a specification of media type is done using Content-Type header, such as:

Content-Type: image/jpeg

Content-Type: application/xml

The self-describing message allows the receiving end to understand how to interpret the message parameters and associated types. During the interaction between a client and a server, the client’s request and the response from the server are usually in the form of messages. Some applications expect these messages passed between the two to be self-descriptive, and this allows the applications to understand the messages such as those in XML.

An XML self-descriptive message may contain the sender and receiver information, a heading and a message body. The XML can thus be considered as information wrapped in tags, and a piece of software must therefore be used to send, receive, display or store the information.

Self-describing messages state object types, associate properties with Internationalized Resource Identifiers (IRIs) and use terms that have been defined in a referenced text, in addition specifying the property types in context.

Additionally, they provide applications with more flexibility of changing the message content or adding fields without re-coding all the receiving applications.

Share this:

Connect with us

Email Newsletter

Join thousands of others with our weekly newsletter

The 4th Era of IT Infrastructure: Superconverged Systems
The 4th Era of IT Infrastructure: Superconverged Systems:
Learn the benefits and limitations of the 3 generations of IT infrastructure – siloed, converged and hyperconverged – and discover how the 4th...
Approaches and Benefits of Network Virtualization
Approaches and Benefits of Network Virtualization:
Businesses today aspire to achieve a software-defined datacenter (SDDC) to enhance business agility and reduce operational complexity. However, the...
Free E-Book: Public Cloud Guide
Free E-Book: Public Cloud Guide:
This white paper is for leaders of Operations, Engineering, or Infrastructure teams who are creating or executing an IT roadmap.
Free Tool: Virtual Health Monitor
Free Tool: Virtual Health Monitor:
Virtual Health Monitor is a free virtualization monitoring and reporting tool for VMware, Hyper-V, RHEV, and XenServer environments.
Free 30 Day Trial – Turbonomic
Free 30 Day Trial – Turbonomic:
Turbonomic delivers an autonomic platform where virtual and cloud environments self-manage in real-time to assure application performance.