header « cxf « Java Enterprise Q&A

Home
Java Enterprise Q&A
1.activemq
2.Ant
3.aspectj
4.axis
5.cxf
6.deploy
7.Development
8.ear
9.eclipse
10.ehcache
11.ejb
12.flex
13.grails
14.jax
15.jaxb
16.JBoss
17.jbpm
18.jdo
19.jersey
20.jetty
21.jms
22.jmx
23.jndi
24.junit
25.ldap
26.Library
27.log4j
28.netbeans
29.osgi
30.playframework
31.portlet
32.quartz
33.rabbitmq
34.restful
35.security
36.Session
37.soap
38.tapestry
39.Web Service
40.weblogic
41.websphere
42.wicket
43.workflow
44.wsdl
Java Enterprise Q&A » cxf » header 

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, ...

java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.