assert (getDomainRoot().getWebServiceMgr() != null);
final Set<WebServiceEndpointConfig> s =
getDomainRoot().getQueryMgr().queryJ2EETypeSet(
XTypes.WEB_SERVICE_ENDPOINT_CONFIG);
for( final WebServiceEndpointConfig wsc : s )
{
Map m = wsc.getTransformationRuleConfigMap();
int init = m.size();
System.out.println("Transformation rules found " + init);
Iterator itr = m.values().iterator();
while (itr.hasNext()) {
TransformationRuleConfig trCfg = (TransformationRuleConfig)
itr.next();
System.out.println("Transformation Rule's name "+
trCfg.getName());
}
/*
/* Finish later, creating a transformation rule requires the
* transformation file to be uploaded to DAS.
wsc.createTransformationRuleConfig("xrule22",
"/tmp/req.xsl", false, "request", null);
m = wsc.getTransformationRuleConfigMap();
int afterCreate = m.size();
System.out.println("Transformation rules found " + afterCreate);
assert ( init +1== afterCreate);
wsc.removeTransformationRuleConfig("xrule22");
m = wsc.getTransformationRuleConfigMap();
int afterDel = m.size();
System.out.println("Transformation rules found " + afterDel);
assert ( init == afterDel);
*/
}
assert(true);