Requirement from my client is to set the mustUnderstand atrribute to "1" in
To-Element and Action-Element of WS-Addressing.

I managed to do that on the client using the following:

AddressingProperties maps = new AddressingPropertiesImpl();
List<QName> mustUnderstandList = maps.getMustUnderstand();
mustUnderstandList.add(Names.WSA_ACTION_QNAME);
mustUnderstandList.add(Names.WSA_TO_QNAME);
ctx.put(JAXWSAConstants.CLIENT_ADDRESSING_PROPERTIES, maps);

(By the way this sets the mustUnderstand attribute to "true" and not to "1"
I suppose that it is the same thing?)

On the server I am not sure how to proceed.

Also I would prefer if there was a standard way to do it (i.e.
WS-SecurityPolicy or maybe CXF interceptor used in both the client and the
server?)

Any help will be appreciated.

Alex

Reply via email to