[esb-issues] [JBoss JIRA] Updated: (JBESB-3391) SoapUIClientService transforms targeted at #document fragment are lost because SoapUIClientServicealready holds a ref to the old DOM Document root element
Kevin Conner (JIRA)
jira-events at lists.jboss.org
Wed Sep 22 07:23:28 EDT 2010
[ https://jira.jboss.org/browse/JBESB-3391?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kevin Conner updated JBESB-3391:
--------------------------------
Fix Version/s: 4.9 CP1
Affects Version/s: (was: 4.8)
We should also check other areas where we use smooks transformation to see if those also suffer from this.
> 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.9
> Reporter: Tom Fennelly
> Assignee: Tom Fennelly
> Fix For: 4.9 CP1
>
>
> 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
More information about the esb-issues
mailing list