Hi,

how can I add/inject custom CXF features/interceptors to the client
endpoint created using JAX-WS API:

    QName serviceName = new QName("...", "...");
    Service service = Service.create(serviceName);
    service.addPort(serviceName, SOAPBinding.SOAP12HTTP_BINDING, "...");
    Dispatch<Object> disp = service.createDispatch(serviceName,
jaxbContext, Service.Mode.PAYLOAD);
    ...
    disp.invoke(req);

After debugging I can see that org.apache.cxf.jaxws.ServiceImpl creates
org.apache.cxf.jaxws.support.JaxWsEndpointImpl object but I see no way of
customizing it. What I need is to add some CXF features/interceptors to the
endpoint after it has been created.

Any "standard" CXF way of doing it?

Many thanks,
Przemyslaw BIELICKI

Reply via email to