Understanding the Configurator XML Interface

This chapter provides an overview of the Advanced Configurator XML interface and discusses:

Click to jump to top of pageClick to jump to parent topicRequest-Response

The COPXMLServlet translates COP XML to COP Java calls, and COP Java returns to COP XML. The servlet is installed with Advanced Configurator. If you installed Advanced Configurator in the default directory, the COPXMLServlet is in this file:

.\bea\weblogic81\config\Calico\applications\Calico\WEB-INF\lib\advisor.jar

You post a request to, and receive a response from, the servlet at COPXML on the computer where you installed the Configurator; for example, to post directly to the application server, use an URL like this:

http://MyComputer:7777/copxml

The COPXMLServlet and COP XML do not mimic the COP Java API. Instead, in one round trip, the COPXMLServlet:

Click to jump to top of pageClick to jump to parent topicElements and Attributes

The COP XML request may include these elements:

CONFIGURATION DECISION_POINTS CHOICES CH EVCH CONTROL_DATA ATTR DP ATTR NUMERIC_VALUES EXTERN_VARS EV VIOLATIONS

The Configurator XML interface lets you retrieve information about a model, including:

The CONFIGURATION element is required. Other elements are optional. Attributes of elements further specify the request. The COP XML response can include other elements and attributes, but is similar to the request.

The COP XML request-response pair can:

Click to jump to top of pageClick to jump to parent topicRetrieving Model Information

The Configurator XML interface lets you retrieve information about a model, including:

See Also

Retrieving Model Information

Click to jump to top of pageClick to jump to parent topicUpdating a Configuration Interactively

The Configurator XML interface lets you update a configuration interactively by making choices or entering values for an external variable, that is, by:

See Also

Updating a Configuration

Click to jump to top of pageClick to jump to parent topicRetrieving Configuration Information

The Configurator XML interface lets you retrieve this information about a configuration:

The Configurator XML interface also lets you:

See Also

Retrieving Configuration Information

Click to jump to top of pageClick to jump to parent topicCopying a Configuration

The Configurator XML interface lets you copy a configuration.

See Copying a Configuration.

Click to jump to top of pageClick to jump to parent topicUsing Batch Configuration Mode

The Configurator XML interface lets you create, update, save and/or retrieve configurations in batch mode.

See Using Batch Configuration Mode.

Click to jump to top of pageClick to jump to parent topicChanging the Order Status of a Configuration

The Configurator XML interface lets you change the order status of a configuration.

See Changing the Order Status of a Configuration.

Click to jump to top of pageClick to jump to parent topicCOP.dtd

COP.dtd defines which XML elements and attributes the Configurator XML interface can use to send requests to, and return responses from, the COP Java interface. COP.dtd also defines which elements and attributes the COP may use to save and restore configurations.

Studying the COP.dtd may help you better understand the COP XML that is used by the Configurator XML interface. An annotated version is located in \bea\weblogic81\config\CalicoDomain\applications\CalicoApp\Web-inf\dtd.

Click to jump to top of pageClick to jump to parent topicElement-Attribute Trees

COP XML is defined by the COP.dtd. This means that some of its elements and attributes are not used by the Configurator XML interface, but are used by the COP to save and restore configurations.

COP XML may be viewed as a tree of elements, with some elements having attributes. Studying these element-attribute trees—especially trees that have only those elements and attributes that may be used in a request or response—may help you better understand the COP XML that is used by the Configurator XML interface.

See Also

Element-Attribute Trees