}
if ( applyTo.equals(Constants.BOTH) ||
applyTo.equals(Constants.RESPONSE)) {
com.sun.enterprise.admin.wsmgmt.config.spi.TransformationRule[] rtrs =
nwsc.getResponseTransformationRule();
tf.resetResponseChain( pruneList( rtrs,
tr.getName()));
}
} else {
tf.resetRequestChain(
nwsc.getRequestTransformationRule());