Hi, > If I create a new Port() object for each thread that would work ok. Probably I > have to go for this then.
According to the JAX-WS spec, JAX-WS client proxies are not thread safe. But in CXF they are thread safe in many cases. See http://cxf.apache.org/faq.html#FAQ-AreJAX-WSclientproxiesthreadsafe? For details. So I think really safe and reliable solution to use own proxy for each thread. > > Could you please give a short answer an my previous additional question > regarding the headers? > It doesn't really matter. You can use either MessageContext.HTTP_REQUEST_HEADERS or Message.PROTOCOL_HEADERS. CXF will recognize and map one to another. Only the difference is that JAX-WS support different constants for request and response: MessageContext.HTTP_REQUEST_HEADERS and MessageContext.HTTP_RESPONSE_HEADERS Regards, Andrei. > > > -- > View this message in context: http://cxf.547215.n5.nabble.com/How-to-pass- > dynamic-values-to-OutInterceptor-for-HTTP-headers-tp5751779p5751877.html > Sent from the cxf-user mailing list archive at Nabble.com.
