rest « cxf « Java Enterprise Q&A





1. Java REST implementation: Jersey vs CXF    stackoverflow.com

What do you think is the advantages/disadvantages between this two libraries? Which of these two are best suited for production environment? By the way I will be using JSON instead of ...

2. JAX-RS: Resolve URI of Linked Resources on the Server    stackoverflow.com

is there a standard way (JAX-RS) to resolve REST URIs to resources on the server side? As I understand the common practices, it's best to provide a full URI as an ...

3. jaxb and xlink - friends or foes?    stackoverflow.com

i want to build a rest service via cxf. this is already done with only two objects "Earthpart" and "Earthquake". when i call localhost/earthpars i get a xml list of the earthparts with ...

4. how to test an REST app (built with apache-cxf) with jersey-test-framework    stackoverflow.com


I would like to know how I can test an REST application, which is developed using Apache CXF and Spring, with the Jersey Test Framework (JTF). The application is made of several ...

5. Apache CXF RS Extensions issue in 2.4.0    stackoverflow.com

I'm using Apache CXF version 2.4.0. I'm trying to create a Restful service. The below example works in 2.3.4 but does not work in 2.4.0. What should I ...

6. CXF -Rest Service Routing    stackoverflow.com

I am new to CXF/Rest Service. I have to develop a REST Web-Service (Possibly using CXF) - which will in turn call another REST based Web-Service. New service will simply work ...

7. Any good sources for using Apache-cxf/jax-rs to pass an object to a rest service? Looking for help    stackoverflow.com

I am currently passing an object to my Apache CXF Rest client and it is not getting through. Relevant stack trace below:

cxf.interceptor.Fault: Could not send Message. at cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:xxx)
at cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:yyy)
at cxf.jaxrs.client.ClientProxyImpl.doChainedInvocation(ClientProxyImpl.java:zzz)
at cxf.jaxrs.client.ClientProxyImpl.invoke(ClientProxyImpl.java:qqq)
Any suggestions ...

8. Apache CXF-based REST server in OSGI container    stackoverflow.com

I've been playing lately with REST services. I've created my service with Apache CXF and deploy it to OSGI container - which is Apache Servicemix 4. I've managed to get it to ...

9. Apache CXF: Consume XML POST payload with "application/x-www-form-urlencoded" content type set    stackoverflow.com

We got a REST service implemtented in Apache CXF available for our client exposed like this:

@POST
@Consumes(MediaType.APPLICATION_XML)
@Produces(MediaType.TEXT_PLAIN)
@Path("/process")
public Response processBean(Bean bean);
The Bean object is annotated with @XmlRootElement and all this works great. The ...





10. POST/PUT using CXF REST web service    coderanch.com

I am writing REST web service with CXF framework and facing issues. I have successfully issued GET and DELETE requests but not able to complete the POST and PUT requests. See the code and let me know if I need to do something different for POST and PUT requests The code and the exception that I get follows OrderInfo.java - An ...