Hi, I checked the example given in servicemix 4.0 CXF-Camel NMR. I tried to follow the example.
I created a CXF Stack webservice and deployed it as an OSGI Bundle in the servicemix. I used the nmr endpoint instead of hosting it on http port. My spring config file is as follows <jaxws:endpoint id="PersonEndPointWebService" implementor="#PersonEndPoint" address="nmr:Persons"/> I had another bundle which has following route inside it. from("direct:NMR") .to("nmr:Persons"); I sent a soap envelope message on the Direct EndPoint. The problem here is that the message is not reaching to the NMR Endpoint. It is giving following exception. java.lang.NullPointerException at org.apache.servicemix.camel.nmr.ServiceMixProducer.process(ServiceMixProducer.java:44) at org.apache.camel.processor.SendProcessor$1.doInProducer(SendProcessor.java:97) at org.apache.camel.processor.SendProcessor$1.doInProducer(SendProcessor.java:95) The surprising thing here is that the example provided with the servicemix 4.0 CXF-Camel NMR is working fine. The only change I observed is that the example is keeping all the things in the same bundle whereas in my case the NMR endpoint and the router are in different bundles. Please help. With Regards Harbeer Kadian -- View this message in context: http://old.nabble.com/Getting-NullPointerException-when-talking-to-NMR-Endpoint-tp28376375p28376375.html Sent from the Camel - Users mailing list archive at Nabble.com.