[
http://jira.jboss.com/jira/browse/JBESB-1574?page=all ]
Stefano Maestri updated JBESB-1574:
-----------------------------------
Attachment: JBESB-1574.patch
Attaching the patch realizinf the feature. It seems to have a trouble since test don't
pass because the modified header appear to be:
[junit] <soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:abi="http://org.jboss.esb/quickstarts/bpel/ABI_OrderManager">
[junit] <soapenv:Header>
[junit]
[junit] <something addedto="foo" />
[junit]
[junit] </soapenv:Header>
[junit] <soapenv:Body>
[junit] <abi:salesOrderNotification>
[junit] <abi:orderNumber>12345</abi:orderNumber>
[junit] </abi:salesOrderNotification>
[junit] </soapenv:Body>
[junit] </soapenv:Envelope>
Add freemarker support to soapui-client smook transoformation
-------------------------------------------------------------
Key: JBESB-1574
URL:
http://jira.jboss.com/jira/browse/JBESB-1574
Project: JBoss ESB
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Components: Transformation Service, Web Services
Reporter: Stefano Maestri
Assigned To: Stefano Maestri
Attachments: JBESB-1574.patch
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 contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira