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: <features xmlns="http://karaf.apache.org/xmlns/features/v1.2.1" name="ams-feature"> <feature name="pas-webservice-hp" version="3.0.0-SNAPSHOT" description="PAS Webservice for HPs"> <feature version="2.14.0">camel-core</feature> <feature version="2.14.0">camel-spring</feature> <feature version="2.14.0">camel-blueprint</feature> <feature version="2.14.0">camel-spring-ws</feature> <bundle dependency="true">mvn:ch.vivates.ams/base/3.0.0-SNAPSHOT</bundle> <bundle>mvn:ch.vivates.ams/pas-webservice-hp/3.0.0-SNAPSHOT</bundle> </feature> </features> The offending part of the blueprints descriptor is this: <sws:static-wsdl id="ams_hp_ws" location="wsdl/v1/ams_hp_ws.wsdl" /> which is required by this: <bean id="wsdlHandler" class="org.springframework.ws.transport.http.WsdlDefinitionHttpHandler"> <property name="definition" ref="ams_hp_ws" /> </bean> 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 <http://docs.spring.io/spring-ws/docs/2.2.0.RELEASE/reference/htmlsingle/#d4e1003> 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 <sws:static-wsdl ..> 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.
