[JBoss JIRA] (JBESB-1574) Add freemarker support to soapui-client smook transoformation
by Stefano Maestri (JIRA)
[ https://issues.jboss.org/browse/JBESB-1574?page=com.atlassian.jira.plugin... ]
Stefano Maestri closed JBESB-1574.
----------------------------------
Resolution: Out of Date
> Add freemarker support to soapui-client smook transoformation
> -------------------------------------------------------------
>
> Key: JBESB-1574
> URL: https://issues.jboss.org/browse/JBESB-1574
> Project: JBoss ESB
> Issue Type: Feature Request
> Components: Transformation Service, Web Services
> Affects Versions: 4.11
> Reporter: Stefano Maestri
> Assignee: Stefano Maestri
> Fix For: 4.3
>
> Attachments: JBESB-1574.patch, JBESB-1574.patch, JBESB-1574.patch, SoapUIClientService.java
>
>
> Tom fennely says:
> <tfennelly> I just had a quick look at that soapclient stuff and it doesn't support dynamic values going into the transforms, but it wouldn't be difficult to add it
> <maeste> ok, perfect, I can take a look if is fine for you. Any hints?
> <tfennelly> sure
> <maeste> I'm going to open a Jira issue
> <tfennelly> so look at the SoapUIClientService class in the soapui-client service
> <tfennelly> sure
> <tfennelly> it receives a parameter map that contains the params to be mapped into the SOAP request template
> <tfennelly> you could also use this map to carry the params that are to be used in the transformation
> <tfennelly> e.g. a value to be inserted as a header
> <maeste> ok I see
> <tfennelly> just push this map into the applySmooksTransform and set it into the BeanAccessor context
> <tfennelly> Ithis will make this map available to e.g. freemarker templates
> <tfennelly> then you just write a freemarker template that uses the dynamic value...
> <tfennelly> smooks will add the result of the templating op to the SOAP header
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)