[
https://issues.jboss.org/browse/JBESB-1574?page=com.atlassian.jira.plugin...
]
Tadayoshi Sato reopened JBESB-1574:
-----------------------------------
Was this issue really resolved? I cannot find any real commits to the repository in this
issue. Also, FreeMarker transformation still doesn't seem to work as I see the
following transformation result in SOAP Header. I use JBoss ESB 4.11 (SOA-P 5.3.0).
{code}
<soapenv:Header><text><wsse:Security
soapenv:mustUnderstand="1"
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-...
<wsse:UsernameToken>
<wsse:Username>kermit</wsse:Username>
<wsse:Password>thefrog</wsse:Password>
</wsse:UsernameToken>
</wsse:Security>
</text></soapenv:Header>
{code}
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
Security Level: Public(Everyone can see)
Components: Transformation Service, Web Services
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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira