camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Willem Jiang <>
Subject Re: Exception when accessing a CXF webservice using camel and http
Date Mon, 17 Jan 2011 12:52:53 GMT
Are you using cxfbean[1] component?
The DefaultCxfBeanBinding[2] does the mapping work that you want.

On 1/17/11 8:30 PM, Christian Schneider wrote:
> When I expose a CXF webservice using camel like
> from("servlet://service").to("cxf:...")
> and access the service using the browser I get an exception in CXF ReadHeadersInterceptor
> org.apache.cxf.binding.soap.SoapFault: Error reading XMLStreamReader.
>                  at org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(
> Normally this interceptor is skipped in case of GET requests.
> I think the the header field CamelHttpMethod is not correctly mapped to org.apache.cxf.request.method.
I can try to fix this myself. I just wanted to check if I only have some configuration problem
first and it should work.
> Christian

Blog: (English)
Twitter: willemjiang

View raw message