I’m afraid Spring-DM cannot work with Spring4.x, you need to use Karaf 2.4.x 
which still use spring 3.2.x to deploy the camel-spring-ws feature.

--  
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 29, 2014 at 7:35:53 PM, rsteppac2 (r...@steppacher.name) wrote:
> Hi all,
>  
> I have a small test project that uses camel-spring-ws (2.14.0). It runs just
> fine in a Spring context and the WS client calls are acted on by my routes.
> Now I want to convert it to blueprints to deploy it in Karaf (3.0.2).
> However, the deployment of the bundle fails with:
>  
> waiting for namespace handlers
> [http://www.springframework.org/schema/web-services]
>  
> Can anyone tell me which bundle/feature is supposed to contribute this
> namespace handler? The feature descriptor I am using to deploy the bundle
> ("pas-webservice-hp") looks like this:
>  
> > name="ams-feature">
> > description="PAS Webservice for HPs">
> camel-core
> camel-spring
> camel-blueprint
> camel-spring-ws
> > dependency="true">mvn:ch.vivates.ams/base/3.0.0-SNAPSHOT
> mvn:ch.vivates.ams/pas-webservice-hp/3.0.0-SNAPSHOT
>  
>  
>  
> The offending part of the blueprints descriptor is this:
>  
>  
>  
> which is required by this:
>  
> > class="org.springframework.ws.transport.http.WsdlDefinitionHttpHandler">  
>  
>  
>  
> Might be I am going about it the wrong way altogether... In the Spring
> context descriptor I used the JDK HTTP server as described here
>  
> to avoid having to run a servlet container. I copied the same configuration
> over to the blueprint descriptor to get started. Is this approach going to
> work at all when deploying to Karaf?
> The WsdlDefinitionHttpHandler is specific to using the embedded HTTP server,
> but using the dispatcher servlet in a container still requires me to provide
> the WSDL I want to expose with a tag.
>  
>  
> Thanks for your help!
> Ralf
>  
> PS.: This is a resend with slightly modified subject because the first
> message was rejected due to a too high spam score. If both make it to the
> list, my apologies!
>  
>  
>  
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Bundle-using-camel-spring-ws-failes-to-deploy-in-Karaf-tp5758291.html
>   
> Sent from the Camel - Users mailing list archive at Nabble.com.
>  

Reply via email to