I understand how to simply add the "standard" ws addressing headers to a cxf client call:
JaxWsProxyFactoryBean factory = ...;
factory.getFeatures().add(new WSAddressingFeature());
But I don't understand exactly how I could add wsa reference parameters so that the soap header of the message looks like this:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wsa="http://www.w3.org
/2005/08 /addressing" xmlns:ns1=... >
<soap:Header>
<wsa:To>...</wsa:To>
<wsa:Action>...</wsa:Action>
<wsa:MessageID>...</wsa:MessageID>
<ns1:Country wsa:IsReferenceParameter="true">xx</ns1:Country>
<ns1:Brand wsa:IsReferenceParameter="true">x</ns1:Brand>
</soap:Header> ...
How can I add this headers within a cxf client call?
kind regards, soilworker