Package org.apache.cxf.ws.policy

Examples of org.apache.cxf.ws.policy.PolicyInterceptorProviderRegistry


         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);
      }
   }
View Full Code Here

TOP

Related Classes of org.apache.cxf.ws.policy.PolicyInterceptorProviderRegistry

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.