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

Camel CXFRS cross origin resource sharing filter with Configurable Origin List

I have used the example in the SO question here to configure a CORS filter (Camel JAX-RS and Cross Domain Request). However, as mentioned in the comments, this is not an ideal solution for production, and neither is placing an origin with a defined…
Emeka K
  • 3
  • 1
  • 1
  • 3
0
votes
1 answer

How do I configure the date format the server returns using CXF JAX-RS and Jackson 2 in XML?

This took me a lot of effort to figure out so I'm going to answer the question below. This answer doesn't use annotations and does not require creating additional classes.
Daniel Kaplan
  • 62,768
  • 50
  • 234
  • 356
0
votes
1 answer

Removing the "Host" and "org.apache.cxf.request.uri" headers from the camel exchange

I have a problem with removing the "Host" and "org.apache.cxf.request.uri" headers from the In Message in camel exchange. I'm using a cxfrs client to call a rest end point. But before calling that I used removeHeaders tag and removed some…
SachinD
  • 43
  • 1
  • 8
0
votes
2 answers

Simple binding for apache camel cxfrs without using spring

I want to use simple binding provided by cxfrs module of camel without using spring. The example given on the apache website uses spring. http://camel.apache.org/cxfrs.html Can anyone explain how to use simple binding without spring?
0
votes
1 answer

Camel cxfrs with XML

The website that I'm trying to access sends xml only. With Camel's XML DSL I'm trying to get that XML and send it off to another site via cxrfs. For right now I can settle for it going to a bean and merely being able to access the data. When I…
jmvz
  • 53
  • 1
  • 6
0
votes
1 answer

camel-cxf, blueprint and cxfrsEndpoint bindingStyles

I try to open a rest service with camel:cxfrs. In fact, it works but only in default bindingStyle. I do not want to manage MessageContentsList. So like it is documented, I use the SimpleConsumer bindingStyle. But when I deploy my bundle in karaf…
Johan Le Lan
  • 47
  • 1
  • 8
0
votes
1 answer

CXF REST Bean Validation gives a 404 Not Found instead of 400 Bad Request

I have a CXF RS Rest Resource which looks like this : public class SomeRestResource { @GET @Produces(MediaType.APPLICATION_JSON) @Path("path") public Response getResource( @DecimalMin(value = "0.01", message="Weight should…
0
votes
1 answer

JacksonJsonProvider set non_null inclusion in spring xml

Hi following is my cxfrs server configuration
vashishth
  • 2,751
  • 4
  • 38
  • 68
0
votes
1 answer

Exception handling in cxf rest client in Asyn call

I have a method "void deleteUser(User user)" exposed as cxf jaxrs web service. This void return type makes it as asynchronous web service. My deleteUser method sometime may throw the exception object and I need to catch that object in my cxf jax-rs…
vashishth
  • 2,751
  • 4
  • 38
  • 68
0
votes
1 answer

How to override CXF AbstractInvoker?

I've requirement where in my input request I'm getting parameters which are password thats needs to be masked Since I've kept logging level as debug, the input xml is getting logged with password fields. I fixed this problem by overriding…
Karthik Prasad
  • 9,662
  • 10
  • 64
  • 112
0
votes
1 answer

Camel CXF Jaxrs service implementation class's methods are not executing

I am confused with the behaviour of cxf rest web service with camel route file. I have noticed the control never go inside the implementing class of the rest service interface. Following are the steps how i am writing the web service using cxf jaxrs…
vashishth
  • 2,751
  • 4
  • 38
  • 68
0
votes
3 answers

Apache Camel + Spring (war) + Tomcat + REST

I am trying to develp a rest service using apache camel. My project is a spring mvc war deployed on tomcat. I dont want to use apache cxf (cxf servlet). public class SampleRouter extends RouteBuilder { @override …
l a s
  • 3,836
  • 10
  • 42
  • 61
0
votes
1 answer

getting exception in maven after creating restful client

i am using apache-tomee-jaxrs-1.5.2 server and created the restful client in java using this bellow line Response response = WebClient.create("localhost:8080/test).path("/change/event").post(userdata); i included following dependency in pom.xml …
user2549122
  • 203
  • 1
  • 5
  • 18
0
votes
1 answer

camel cxf:rsServer tomcat

I am having a query regarding camel cxf-rs endpoint implementation in Apache Tomcat. I have implemented a cxf-rs endpoint in camel to perform a function. What I have basically done is create a route from the cxf-rs endpoint to a bean which is a Java…
user2132125
  • 11
  • 1
  • 5
0
votes
1 answer

JAX-RS and Camel - Except 1st QueryParameter all others are null

For some reason, the second and the subsequent Query Parameters are just null. The first one works perfectly fine. I am using Camel+JAX-RS (CXF). This is just a GET request. The URL I am using is…
Arun Manivannan
  • 4,213
  • 3
  • 29
  • 38
1 2 3
10
11