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-addressingand added a second service and a second call on the client.
Our issue is: how do we get thewsa:MessageIDfrom response1 to be set aswsa:RelatesToat request2? The server should be able to receive theRelatesToparameter 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 of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
