Response « cxf « Java Enterprise Q&A





1. Return XML Response in REST Service    stackoverflow.com

I am writing a RESTful web service where in I want to return a XML containing some resultset. I have used XSTREAM and parsed the object into XML string. Since I ...

2. Apache CXF | Multiple responses to a webservice call    stackoverflow.com

We want to implement a webservice with CXF in such a way that the call to it is asynchronous and the server sends back multiple responses. Is there a way ...

3. Webservice with CXF: How to use the ResponseWrapper?    stackoverflow.com

We are creating a webservice (CXF-based) driven by a java class (Java2WS) with the following method:

  @WebMethod
  @RequestWrapper(className = "com.myproject.wrapper.MyRequestWrapper")
  @ResponseWrapper(className = "com.myproject.wrapper.MyResponseWrapper")
  public MyResponse verifyCode(@WebParam(name = ...

4. Apache CXF not adding ws-addressing element wsa:To to the server response    stackoverflow.com

We are using Apache CXF to develop a service. The service needs to add the wsa:To, wsa:Action, wsa:MessageID to the server response as part of the soap header. All elements, except ...

5. Camel CXF consumer, webservice method has no response    stackoverflow.com

I'm trying to consume a webservice from camel using the cxf component, like this:

<cxf:cxfEndpoint id="webservice"
                 ...

6. How to present XML format as REST service response    stackoverflow.com

This is regarding CXF REST service where in incase of exception xml error tags will be the output.

@XmlRootElement(name = "error")
public class ErrorXMLBean {


    private String code;
   ...

7. CXF Web service - Sending attachments in Response xml    stackoverflow.com

I have a CXF (both SOAP and RESTful) web service (includes Spring Core+Hibernate+Maven). One of the web service methods has to return a attachment (either in PDF/Word format) in ...

8. Is it possible to specify in a Web Service's WSDL that A particular Web Service call will always return a non null response?    stackoverflow.com

For starters, we're using CXF to implement a web service. I've gotten myself into a bit of a religious war of camps of sorts about what should be returned from the ...

9. Mule CXF Marshall Response    stackoverflow.com

I am using cxf:jaxws-client in Mule 3 and the response I get from my web service call is of type ReleasingInputStream. I have tried adding the http-response-to-message-transformer, but that generates an ...





10. Apache Camel CXF empty response when handling exception    stackoverflow.com

This question is related to the previous one : Apache Camel multicast, exception and Aggregation strategy I think I missunderstood the problem when asking the previous question. I try to handle exception ...

11. How can I prevent Apache CXF from sending a response message?    stackoverflow.com

In cases where a given SOAP header element has a given value (for example, if the value of the header tag "response" is "0"), I don't want Apache CXF to return ...