I don't know about CXF specifically here for something like this... we had been using the JAX-WS RI (Metro) for a long time and had not switched to CXF (yet)...
However we had to address this similar use case. *We have done something like this where we used the Log4J (1.x) MDC to hold values in its Map as the incoming processing was done and then read them back out from that before making the next call to load the SOAP Headers for call #2. * *Log4j2, I believe, replaces MDC w/ a ThreadContext class that does the same thing. * *Mark * On Fri, Sep 4, 2015 at 10:19 AM, sivaraman <[email protected]> wrote: > > Hi All, > I have a business flow as given below. > > Application1 >> CXF Service >> CXF Client >> Application 2 > > The Application1 calls a CXF Service with a SOAP Header. > The CXF Service on receipt of the Request will perform some logic and then > call Application 2 using the CXF Client. > > While calling the Application 2, the CXF client should use the same SOAP > Header that the Application1 sent to the CXF Service. > > How can this be done in CXF? > > > > > > > -- > View this message in context: > http://cxf.547215.n5.nabble.com/Passing-SOAP-Header-from-one-Service-to-another-in-CXF-tp5760783.html > Sent from the cxf-user mailing list archive at Nabble.com. >
