"jeffdelong" wrote :
| I have a question about how you would recommend handling ws-security and
ws-transaction information. How would you recommend this be added to the SOAP Header?
| I have been working with JBoss Transaction XTS component, and have created a
quickstart showing ws transactions business activity. But I had to add the transaction
context to the SOAPHeader and invoke the web service through my own custom action. I would
rather use SOAPClient.
well, wise natively support JAX-WS handler to modify SOAP Header. Wise-core support 3 kind
of handler: a simple logging handler (to log request and response message), Smooks handler
(to transfor header, supporting freemarker too), and custom handler to add any kind of
JAX-WS compliant handler. The current implementation of ESB action just support Logging
and Smooks ones, but it would be easy to add custom handler too.
Anyway Smooks handler have always done the job for me, being very powerful and flexible
modifying headers.
The third quikstart sample I wrote demostrate a simple use of Smooks handler. It is a very
simple use case, but keep in mind you have there all the Smooks' powers ;)
Does this answer your question? Do you need something more?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4160770#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...