Hi,
message.getContextualProperty("myKey")
will works for you.
Regards.
-----Original Message-----
From: Frizz [mailto:[email protected]]
Sent: Wednesday, June 25, 2014 12:23 PM
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> ?