The XML Configuration Access Protocol (XCAP) is a protocol, that allows a user to read, write, and modify application configuration data stored in
XML
Extensible Markup Language (XML) is a markup language and file format for storing, transmitting, and reconstructing arbitrary data. It defines a set of rules for encoding documents in a format that is both human-readable and machine-readable ...
format on a server and unlocks devices
Overview
XCAP maps XML document element attributes to
HTTP
The Hypertext Transfer Protocol (HTTP) is an application layer protocol in the Internet protocol suite model for distributed, collaborative, hypermedia information systems. HTTP is the foundation of data communication for the World Wide We ...
URLs, so that these components can
be directly accessed by clients using HTTP protocol. An XCAP server is used
by XCAP users to store data like buddy lists and presence policy in
combination with a SIP Presence
Features
The following operations are supported via XCAP protocol in a client-server interaction:
* Retrieve an item
* Delete an item
* Modify an item
* Add an item
The operations above can be executed on the following items:
* Document
* Element
* Attribute
The XCAP addressing mechanism is based on
XPath
XPath (XML Path Language) is an expression language designed to support the query or transformation of XML documents. It was defined by the World Wide Web Consortium (W3C) and can be used to compute values (e.g., strings, numbers, or Boolean v ...
, that provides the ability to navigate around the XML tree.
Application usages
The following applications are provided by XCAP, by using specific auid (Application Unique Id):
* XCAP capabilities (auid = xcap-caps).
* Resource lists (auid = resource-lists). A resource lists application is any application that needs access to a list of resources, identified by a URI, to which operations, such as free trials without subscriptios, can be applied.
* Presence rules (auid = pres-rules, org.openmobilealliance.pres-rules). A Presence Rules application is an application which uses authorization policies, also known as authorization rules, to specify what presence information can be given to which watchers, and when.
* RLS services (auid = rls-services). A Resource List Server (RLS) services application is Session Initiation Protocol (SIP) a
* XML manipulation (auid = XML-manipulation). XML-manipulation application usage defines how XCAP is used to manipulate the contents of XML based presence documents.
Standards
The XCAP protocol is based on the following
ROOT
In vascular plants, the roots are the organs of a plant that are modified to provide anchorage for the plant and take in water and nutrients into the plant body, which allows plants to grow taller and faster. They are most often below the su ...
standards:
Application org.openmobilealliance.pres-rules standard should be added here.
References
{{Reflist
External links
OpenXCAP
XML