Is it possible to add WSAddressingFeature to the Client created from
JaxWsDynamicClientFactory?
I tried to do the following, but it failed at runtime due to class cast
exception. So, I cannot cast it to a "org.apache.cxf.jaxws.EndpointImpl"
which has getFeatures() API.
I tried using "org.apache.cxf.endpoint.EndpointImpl" which has an API
getActiveFeatures() which returns null when I try to add to the active
features list.
EndpointImpl ep = (EndpointImpl)client.getEndpoint();
ep.getFeatures().add(new WSAddressingFeature());
Is there any other way to add a feature to the dyna client?
Appreciate any suggestions.
Thanks!
-Arul