G'day all; I currently have a web service running standalone (no container) using CXF / Camel / Spring / Jetty. here is the setup in spring config:
<cxf:cxfEndpoint id="OrderService" address="${webServicesIncomingURI}/OrderService" endpointName="s:OrderServicePort" serviceName="s:OrderService" wsdlURL="${repository}${wsdlPath}OrderService.wsdl" xmlns:s="http://me.com.au/namespaces/2007/test/Order"/> Camel receives the incoming requests on a cxf endpoint: <from uri="cxf:bean:OrderService?dataFormat=PAYLOAD"/> This is all working fine when executed using mvn:camel run, using jetty as http server. I now want to port this to use blueprint and run in servicemix. So I translated the above cxf config to this: <jaxws:endpoint id="OrderService" address="${webServicesIncomingURI}/OrderService" endpointName="s:OrderServicePort" serviceName="s:OrderService" wsdlLocation="${repository}${wsdlPath}OrderService.wsdl" xmlns:s="http://me.com.au/namespaces/2007/test/Order"/> installing this into servicemix gives a null pointer exception: java.lang.NullPointerException at org.apache.aries.blueprint.container.RecipeBuilder.getValue(RecipeBuilder.java:335[10:org.apache.aries.blueprint:0.3.2] .... I can see the cxf-codegen generated classes so the stub code is being generated for the blueprint version as in the working spring version. I think I am missing something silly and obvious, so for the sake of brevity I have left out most of the config etc... I can post the entire config and pom and whatever else. One difference between the spring and blueprint code are the camel/cxf versions used. For the spring I am running the latest camel (2.12.1) and cxf (2.7.6) whereas I am attempting to deploy the blueprint to servicemix 4.5.2 (camel 2.10.6 / cxf 2.6.8) I am compiling both with maven 3.0.5 If more info from the spring/blueprint configs and pom files and karaf output is needed just let me know. thanks in advance! -- View this message in context: http://camel.465427.n5.nabble.com/CXF-Camel-Blueprint-problem-deploying-Web-Service-application-tp5741491.html Sent from the Camel - Users mailing list archive at Nabble.com.