Questions tagged [cxfrs]

CXFRS is an Apache Camel component that provides integration with Apache CXF for connecting to JAX-RS services hosted in CXF.

CXFRS is an Apache Camel component that provides integration with Apache CXF for connecting to JAX-RS services hosted in CXF.

Reference http://camel.apache.org/cxfrs.html

162 questions
0
votes
1 answer

Why does CXF 2.7.5 (for jax-rs) / Spring 3.x / Hibernate 4.x results in java.lang.ClassNotFoundException: org.springframework.asm.ClassVisitor?

I'm building a RESTful service via CXF 2.7.5 and am using the cxf-servlet approach. javax-servlet 3.0 API, Spring 3.x, and Hibernate 4.x are all part of the picture. Before incorporating Spring JPA, Spring ORM, and Hibernate into my maven POM…
Kode Charlie
  • 1,297
  • 16
  • 32
0
votes
2 answers

Apache CXF WebClient multiple requests with www-authenticate header

I got simple JAX-RS resource and I'm using Apache CXF WebClient as a client. I'm using HTTP basic authentication. When it fails on server, typical 401 UNAUTHORIZED response is sent along with WWW-Authenticate header. The strange behavior happens…
zdenda.online
  • 2,451
  • 3
  • 23
  • 45
0
votes
1 answer

CXF InFaultInterceptor vs. OutFaultInterceptor

I am working on REST API with CXF framework. Anybody can explain to me more detail about what's different between InFaultInterceptor vs. OutFaultInterceptor? They seems belong to different phase of interceptor. But Do we should put what logic into…
Dylan
  • 179
  • 2
  • 12
0
votes
1 answer

REST API in Camel - POST not working (XML parsing error)

I'm trying to create a sample Camel route, as the seed for a RESTful API built on a simple resource class, providing XML payloads. The issue I've got is that my GET is working (all it does is to build a piece of XML) but my POST is returning the…
Jeremy Gooch
  • 939
  • 4
  • 16
  • 28
0
votes
1 answer

How to invoke a method in restful web service using camel-cxf?

I want to invoke a rest service using apache camel. Currently i am using the cxfrs component to configure my endpoint. My route looks like below:…
RichaS
  • 219
  • 3
  • 14
0
votes
1 answer

jax-rs, active mq integration

Can anyone give me a sample source code where i can use restful jax-rs web service as an interface to message broker using active mq. The requirement is traffic comes to application through jax-rs webservice and the message is transferred to active…
praveen
  • 81
  • 8
0
votes
1 answer

JAX-RS CXF: How to get Exception from ResponseExceptionMapper

I have a provider at server to marshall MyException as follows Response.ok(myExceptionObj, MediaType.APPLICATION_JSON).status(Response.Status.BAD_REQUEST).build(); I would like to know how I can implement ResponseExceptionMapper of CXF so that I…
Chris
  • 5,584
  • 9
  • 40
  • 58
0
votes
0 answers

JBoss/CXF Restful Web Service gives error 'MalformedURLException: no protocol: /'

I am writing a CXF/Maven web service with Spring for dependency injection. Following is my web service code:- @Path("/myws") public interface IMyWebService { @POST @Path("/someAction") @Consumes("application/json") …
Higher-Kinded Type
  • 1,964
  • 5
  • 27
  • 44
0
votes
1 answer

Integrating Apache Camel with CXF based RESTful webservices : Need Advice

I am trying to integrate my CXF restful webservices with apache camel. the requirement is that when someone hits my webservice, i take the request parameters and connect to google or some service provider to search for results using the request…
Sikorski
  • 2,653
  • 3
  • 25
  • 46
-1
votes
1 answer

Difference between cxfrs:server and jaxrs:server

I would like to know the difference between cxfrs and jaxrs. Also the difference between using cxfrs:server and jaxrs:server in my blueprint.
-2
votes
1 answer

How to run REST application on Tomee webprofile container in Fabric8

I'm a newbie using Fabric8-1.2.0.Beta4 and trying to deploy REST example application (taken from http://tomee.apache.org/examples-trunk/rest-example/README.html) to Tomee on Fabric8. Including openejb-cxf-rs and tomee-jaxrs don't seem to help. Only…
zephyr -
  • 11
  • 3
-2
votes
1 answer

JAX-RS in ServiceMix / Fuse ESB

I got the below error when I try to install a CXF example from Talend into FuseESB. FuseESB:karaf@root> features:install talend-cxf-example-jaxrs-intro Error executing command: Can not resolve feature: Unsatisfied…
Lee Chee Kiam
  • 11,450
  • 10
  • 65
  • 87
1 2 3
10
11