How can we set in a JAX-WS client the ws-addressing "RelatesTo" ?
Issue
- We are working on a JAX-WS Service that should use ws-addressing to relate logically two requests. We start using the
jboss-eap-7.1.0.GA-quickstarts/jaxws-addressing
and added a second service and a second call on the client.
Our issue is: how do we get thewsa:MessageID
from response1 to be set aswsa:RelatesTo
at request2? The server should be able to receive theRelatesTo
parameter in order to find data set on request 1. We tried several forms from the EAP and apache cxf docs but no result. We added a client-side SOAPHandler in order to get the message xml on the client and to control if the headers are set.
Environment
- Red Hat Enterprise Application Platform (EAP)
- 7.x
- JBossWS-CXF
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.