+

Search Tips | Advanced Search

For up-to-date product documentation, see the IBM MobileFirst Foundation Developer Center.


The JavaScript adapter-descriptor file

Learn about the function and structure of the Java™ adapter-descriptor file.

We use the adapter.xml descriptor file to configure adapter connectivity to the back-end system and to declare the procedures that are exposed by the adapter to applications and to other adapters. The elements, subelements, and attributes of the JavaScript adapter XML file are described in the following sections.

The adapter.xml descriptor file is located in the adapter-resources folder, under <JavaScript_adapter>/src/main/.


The adapter element

The adapter element is the root element of the adapter configuration file. The following example shows the structure, which consists of both attributes and subelements:


The adapter element attributes

The <adapter> element contains the following attributes.


The adapter element subelements

The adapter element has the following subelements.

Parent topic: MobileFirst JavaScript adapters