-
Hello everybody, I am currently developing a service which acts as a adapter for a legacy SOAP service, therefore I use the quarkus-cxf plugin to generate and implement the SOAP client based on the services wsdl. So far so good. I already got everything up and running including ws-Security. Additionally to ws-security, the service uses the ws-addressing For ws-security, there is the In the end, I need to add something like this in the soap request: <soapenv:Header xmlns:wsa="http://www.w3.org/2005/08/addressing">
<wsa:From><wsa:Address>appToken:’Actual appToken value’</wsa:Address> </wsa:From>
</soapenv:Header> I would appreciate any help or hint where to find documentation about this Cheers |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
We do not have anything Quarkus CXF specific at the moment. You need to configure the client in the same way as you would with plain CXF - see e.g. here: https://stackoverflow.com/questions/27419107/apache-cxf-ws-addressing-how-to-set-from-replyto-headers
|
Beta Was this translation helpful? Give feedback.
-
Thank you for the fast answer and the hint. IT was the right direction. To make the whole thing work I had to do the following:
When I find the time I will open a PR to maybe extend the documentation here if this is wanted. So thank you again |
Beta Was this translation helpful? Give feedback.
Thank you for the fast answer and the hint.
IT was the right direction. To make the whole thing work I had to do the following:
org.apache.cxf.ws.addressing.WSAddressingFeature
to thequarkus.cxf.client.myClient.features
property((BindingProvider)myService).getRequestContext().put("jakarta.xml.ws.addressing.context", maps);
When I find the time I will open a PR to maybe extend the documentation here if this is wanted.
So thank you again
Cheers
Framus