Hi

<camelcxf:cxfEndpoint id="warehouseService"
                wsdlURL="wsdl/externalWarehouseService.wsdl"
                
serviceClass="de.company.production.externalwarehouse.ws.ExternalWarehousePortTypeImpl"
                address="/externalWarehouse" loggingFeatureEnabled="true”>

means you leverage the pax web instead the Jetty engine which is embedded to 
CXF endpoint to publish the service.

You just need to change the address to 
“http://localhost:9000/externalWarehouse” and update the <httpj:engine 
port=“9000”> , then your jetty configuration should work now.

--  
Willem Jiang

Red Hat, Inc.
Web: http://www.redhat.com
Blog: http://willemjiang.blogspot.com (English)
http://jnn.iteye.com (Chinese)
Twitter: willemjiang  
Weibo: 姜宁willem



On October 30, 2014 at 5:42:25 PM, Hilderich (hilde.sch...@yahoo.de) wrote:
> Dear Support Community,
>  
> We have in use Apache Karaf 2.3.2 with Apache Camel 2.11.1.
>  
> There is a bundle with a Camel Route that creates a Web Service:
>  
>  
>  
> This was already running smoothly with not problems. Now there was the
> requirement to lock this web service via Basic Authentication.
> Therefore I have read something about it how to do it in combination with
> Karaf and Jetty and I did it like here:
>  
> http://camel.465427.n5.nabble.com/camel-jetty-authentication-JAAS-td3293819.html
>   
>  
> I have no bundle conflicts, but what I am facing now when Karaf starts is a
> NullpointerException:
>  
>  
>  
> It looks like camel-cxf cannot read the URI *jetty:http://...*
>  
> In my point of view all requirements are installed:
> karaf@root> features:list | grep -i jetty
> [installed ] [2.7.6 ] cxf-http-jetty
> cxf-2.7.6
> [installed ] [2.11.1 ] camel-jetty
> camel-2.11.1
> [installed ] [7.6.8.v20121106] jetty
> karaf-2.3.2 Provide Jetty engine sup
> port
>  
> Any ideas?
>  
> Kind regards,
> Hilderich
>  
>  
>  
>  
>  
>  
>  
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Adding-jaas-authentication-to-a-cxf-endpoint-in-karaf-tp5758340.html
>   
> Sent from the Camel - Users mailing list archive at Nabble.com.
>  

Reply via email to