Hi
trying to add a SAML token as header of SOAP requests to XDS backend.
Followed the templates on
http://oehf.github.io/ipf/ipf-platform-camel-ihe-ws/protocolHeaders.htmlCode extract:
SOAPElement securityHeader = soapFactory.createElement("Security", "wsse", IHESoapConstants.WSS_SECEXT_URI);
SOAPElement subElement = soapFactory.createElement(samlElement);
securityHeader.addChildElement(subElement);
exchange.getIn().getHeaders().put(AbstractWsEndpoint.OUTGOING_SOAP_HEADERS, securityHeader);
But this apparently does not work (without error): on webservice service side the SOAP requests arrive without the SAML header.
Seems that CXF simply ignores my SAML header. Is the described approach not supported anymore?
I use IPF 3.1 with Camel 2.18.0 with CXF 3.1.7
cheers
Beat