assuming you have the addressing feature enabled and the MAPCodec
interceptor read the raw addressing header, you can use
org.apache.cxf.ws.addressing.ContextUtils#retrieveMAPs to read each
addressing property value.

you can look at one of the interceptors that depend on the addressing
values (e.g., org.apache.cxf.ws.addressing.impl.MAPAggregatorImpl,
org.apache.cxf.ws.rm.RMInInterceptor, etc).


2015-01-15 12:29 GMT+01:00 Ted Roeloffzen <[email protected]>:
> Hello All,
>
> I have a short question.
> For a webservice-server that we have, we have to add ws-addressing.
> At the moment i've made an interceptor that traverses the xml, gets the
> soap-header and reads the ws-addressing attributes from the header.
> I know how to add the ws-addressing feature to the server, but i'm unable
> to find examples of how to retrieve the ws-addressing attributes.
> Does anyone have a short example or something that can help me along?
> Thanks in advance.
>
> Kind regards,
>
> Ted Roeloffzen

Reply via email to