header « cxf « Java Enterprise Q&A





1. Is there a way in CXF to disable the SoapCompressed header for debugging purposes?    stackoverflow.com

I'm watching CXF service traffic using DonsProxy, and the CXF client sends an HTTP header "SoapCompressed":

HttpHeadSubscriber starting...
Sender is CLIENT at 127.0.0.1:2680
Packet ID:0-1
POST /yada/yada HTTP/1.1
Content-Type: text/xml; charset=UTF-8
SoapCompressed: true
Accept-Encoding: gzip,gzip;q=1.0, identity; ...

2. Add Response Header to JAX-RS Webservice    stackoverflow.com

I am trying add some response headers to some of my webservice calls. I wrote my webservice using CXF 2.1.2 and JAX-RS. I need to return an object ...

3. Getting HTTP headers from Apache CXF POJO Service    stackoverflow.com

what is the right method to get http headers from CXF POJO Service? I have folowing code, but it doesn't work:

ServerFactoryBean svrFactory = new ServerFactoryBean();
svrFactory.setServiceClass(TestService.class);
svrFactory.setAddress("http://localhost:8080/test");
svrFactory.getServiceFactory().setDataBinding(new AegisDatabinding());
svrFactory.create();

public class TestService {

    ...

4. Apache CXF - How to add custom HTTP Header to JAX-RS response?    stackoverflow.com

I'm trying to add custom HTTP header to response in Apache CXF. I need to count MD5 from content and add it as a HTTP header. I tried to use ResponseHandler ...

5. camel-cxfrs with custom http headers    stackoverflow.com

I have a route that defines a CXFRS endpoint. I need to retrieve custom HTTP header values from the inbound request...

from(CXF_RS_ENDPOINT_URI)
      .process(new Processor() {
  ...

6. With CXF (actually GroovyWS), how do I generate a SOAP header with one child node having a text node?    stackoverflow.com

I'm creating a Groovy client for a .net SOAP service that requires a soap header that looks like this:

<soap:Header>
    <HeaderInfo xmlns="http://foo.bar.com/ns">
        ...

7. Adding a BinarySecurityToken to cxf header    stackoverflow.com

I've been pulling my hair out over this one and I just can't get it to work. I have a webservice I call that generates a security token which then needs ...

8. CXF Jax-RS server service returning only header but no response JSON    stackoverflow.com

I have a very basic Rest Server which returns JSON object. I tested it with Poster Firefox extension and I get both header and response. But we have a test javascript client, ...