「標準」の ws アドレス指定ヘッダーを cxf クライアント呼び出しに単純に追加する方法を理解しています。
JaxWsProxyFactoryBean factory = ...;
factory.getFeatures().add(new WSAddressingFeature());
しかし、メッセージの SOAP ヘッダーが次のようになるように wsa 参照パラメーターを追加する方法が正確にはわかりません。
<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> ...
cxf クライアント呼び出し内にこのヘッダーを追加するにはどうすればよいですか?
よろしく、土壌労働者