Hello, I found the solution, but it puzzles me:
org.apache.cxf.jaxws.EndpointImpl ep = (EndpointImpl) Endpoint.publish(address, implementor); org.apache.cxf.endpoint.Endpoint cxfServerEndpoint = ep.getServer().getEndpoint(); FIStaxInInterceptor fiServerInInterceptor = new FIStaxInInterceptor(); FIStaxOutInterceptor fiServerOutInterceptor = new FIStaxOutInterceptor(); cxfServerEndpoint.getInInterceptors().add(fiServerInInterceptor); cxfServerEndpoint.getInFaultInterceptors().add(fiServerInInterceptor); cxfServerEndpoint.getOutInterceptors().add(fiServerOutInterceptor); cxfServerEndpoint.getOutFaultInterceptors().add(fiServerOutInterceptor); Why I must take the ep.getServer().getEndpoint().getxxInterceptors() for fastinfoset to work and can not just directlly use ep.getxxInterceptors() (which I tried in the first place and it did not work)? kind regards reinis -- View this message in context: http://old.nabble.com/Configuring-fastinfoset-programmatically-%28and-not-declarative%29-tp27591064p27592429.html Sent from the cxf-user mailing list archive at Nabble.com.
