Hi,

The easiest way is read these properties from message using 
org.apache.cxf.message.Message.getContextualProperty(String key) in your 
interceptor.
Method tries to get the property from message, client, endpoint, etc in 
determined order.

Regards,
Andrei.

> -----Original Message-----
> From: Frizz [mailto:[email protected]]
> Sent: Mittwoch, 25. Juni 2014 06:23
> To: [email protected]
> Subject: How to access jaxws:properties in a CXF Interceptor
> 
> I have defined a WS client in an XML file like this:
> 
> <beans ...
>    <jaxws:client name="{http://www.example.org/contract/DoubleIt
> }DoubleItService">
>       <jaxws:properties>
>          <entry key="myKey" value="12345"/>
>       </jaxws:properties>
>     </jaxws:client>
> </beans>
> 
> How can I access jaxws:properties in a CXF Interceptor?
> 
> I mean in the handleMessage() method, how do I get the <jaxws:client> ?

Reply via email to