SoapUIClientService transforms targeted at #document fragment are lost because
SoapUIClientServicealready holds a ref to the old DOM Document root element
----------------------------------------------------------------------------------------------------------------------------------------------------------
Key: JBESB-3391
URL:
https://jira.jboss.org/browse/JBESB-3391
Project: JBoss ESB
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Transformation Service
Affects Versions: 4.8, 4.9
Reporter: Tom Fennelly
Assignee: Tom Fennelly
Fix is very easy.... just modify the SoapUIClientService.buildSOAPMessage() where if calls
Smooks ... as follows...
From...
if(smooksResource != null) {
applySmooksTransform(smooksResource, messageDoc);
}
To...
if(smooksResource != null) {
applySmooksTransform(smooksResource, messageDoc);
// reassign the docRoot variable after transform... in case it was replaced by
a #document transform...
docRoot = messageDoc.getDocumentElement();
}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira