Hi, I am using CXF to consume a WS, and I am creating client in JAVA by using following line of code.
ConfiguratorService service = new ConfiguratorService(); ConfiguratorServiceProxy newProxyService; LoggingFeature loggingFeature = new LoggingFeature(); loggingFeature.setPrettyLogging(true); newProxyService = service.getBasicHttpBindingConfiguratorServiceProxy(loggingFeature); Client client = ClientProxy.getClient(newProxyService); HTTPConduit http = (HTTPConduit) client.getConduit(); HTTPClientPolicy httpClientPolicy = new HTTPClientPolicy(); httpClientPolicy.setConnectionTimeout(connectionTimeout * 1000l); httpClientPolicy.setAllowChunking(false); httpClientPolicy.setReceiveTimeout(connectionTimeout * 1000l); http.setClient(httpClientPolicy); //here I am calling the webservice summary = newProxyService .configure(Parameters); When I deployed the above code websphere 9, I am getting error org.apache.axis2.jaxws.client.proxy.JAXWSProxyHandler incompatible with org.apache.cxf.frontend.ClientProxy. I did some R&D on google and the recommended approach is to use JaxWsProxyFactoryBean. Please guide me what code changes are required in above code snippet to use JaxWsProxyFactoryBean. Regards, Nitin Gupta -- Sent from: http://cxf.547215.n5.nabble.com/cxf-user-f547216.html
