Sun Java System Application Server 9.1 Administration Reference

transformation-rule

Configures an eXtensible Stylesheet Language Transformation (XSLT) rule, which transforms a web service message.

Superelements

web-service-endpoint

Subelements

The following table describes subelements for the transformation-rule element.

Table 1–183 transformation-rule Subelements

Element 

Required 

Description 

description

zero or one 

Contains a text description of this element. 

Attributes

The following table describes attributes for the transformation-rule element.

Table 1–184 transformation-rule Attributes

Attribute 

Default 

Description 

name

none 

The name of the rule. 

enabled

true

(optional) Determines whether the rule is enabled. 

apply-to

request

(optional) Specifies whether the rule is applied to the request, the response, or both. Allowed values are: 

  • request - Transformations are applied to the request in the order specified.

  • response - Transformations are applied to the response in the order specified.

  • both - Transformations are applied to both the request and the response. The order is reversed for the response.

rule-file-location

domain-dir/generated/xml/app-or-module/xslt-file

A fully qualified or relative path to the rule file that performs the transformation. Only XSLT files are allowed.