log.debug("Injecting interceptor to ignore BEA WebLogic 10's default WS-Policy.");
Client client = ClientProxy.getClient(service);
// CXF needs Policy interceptors to be provided by a provider otherwise it will be ignored
final PolicyInterceptorProviderRegistry providerRegistry = client.getBus().getExtension(PolicyInterceptorProviderRegistry.class);
providerRegistry.register(IGNORABLE_POLICY_INTERCEPTOR_PROVIDER);
}
}