Getting NullPointerException when talking to NMR Endpoint

2010-04-27 Thread Harbeer Kadian
g 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

Re: Getting NullPointerException when talking to NMR Endpoint

2010-04-28 Thread Harbeer Kadian
x27;s publish address to be nmr:Persons Also I did not received any exception when starting the CXF Bundle. With Regards Harbeer Kadian willem.jiang wrote: > > Can you make sure the cxf bundle is started rightly before the camel > route bundle? > For the stack trace , I think the CX

Re: Getting NullPointerException when talking to NMR Endpoint

2010-04-29 Thread Harbeer Kadian
ining any nmr endpoint on a weservice annotated class. nmr:endpoint:serviceNamespace[sep]serviceName[sep]endpointName Do I also need to add all this information in my spring beans file. With Regards Harbeer Kadian Freeman Fang wrote: > > Hi, > > Please tell me the exact smx 4 ver

Getting error when using Apache camel inside servicemix.

2009-12-04 Thread Harbeer Kadian
at com.webservice.calculator.CalculatorPortTypeImpl.sendToCamelFile(Calc ulatorPortTypeImpl.java:129) ... 31 more Please help if i am missing some thing. With Regards Harbeer Kadian -- View this message in context: http://old.nabble.com/Getting-error-when-using-Apache-camel-inside-servicemix.-tp26635824p26635824.html Sent from the Camel - Users mailing list archive at Nabble.com.

NoSuchEndpointException: getting exception when talking to http endpoint using camel

2010-01-06 Thread Harbeer Kadian
mel-http (1.6.1.fuse) Please tell if i am missing some thing required to talk to a Http Component. With Regards Harbeer Kadian -- View this message in context: http://old.nabble.com/NoSuchEndpointException%3A-getting-exception-when-talking-to-http-endpoint-using-camel-tp27026841p27026841.html Sent fr

Re: NoSuchEndpointException: getting exception when talking to http endpoint using camel

2010-01-06 Thread Harbeer Kadian
One more question for you. Do you know any book or any good website which comprehensively explains how to work with apache camel. With Regards Harbeer Kadian Harbeer Kadian wrote: > > Hi, > > I created a new camel router to send a message to a webservice using > camel-http componen

Re: NoSuchEndpointException: getting exception when talking to http endpoint using camel

2010-01-07 Thread Harbeer Kadian
http endpoint. With Regards Harbeer kadian willem.jiang wrote: > > After you create the CamelContext with CamelContextFactory, you can set > the JndiContext with these codes > > CompositeRegistry compositeRegistry = new CompositeRegistry(); > compositeRegistry.addRegistr

Re: NoSuchEndpointException: getting exception when talking to http endpoint using camel

2010-01-07 Thread Harbeer Kadian
0] camel-spring (1.6.1.fuse) [ 165] [Active ] [ ] [ 60] camel-http (1.6.1.fuse) With Regards Harbeer Kadian Harbeer Kadian wrote: > > Hi, > > I created a new camel router to send a message to a webservice using > camel-http component. > The configure method o

Re: NoSuchEndpointException: getting exception when talking to http endpoint using camel

2010-01-07 Thread Harbeer Kadian
Hi, I checked the respective jar(camel-osgi) in cache folder. To my surprise, the CompositeRegistry class is not present there. Is it like I am using old version of camel-osgi feature. With Regards Harbeer Kadian Harbeer Kadian wrote: > > Hi, > > I changed the creation of Cam

Re: NoSuchEndpointException: getting exception when talking to http endpoint using camel

2010-01-07 Thread Harbeer Kadian
/localhost:8095/HelloWebService/services/Hello";); I am creating the required soap message as follows String soapMessage = "http://schemas.xmlsoap.org/soap/envelope/\";>http://cxf.ws.studies.xh.org/\";>http://cxf.ws.studies.xh.org/\";>" + "Harb

Re: NoSuchEndpointException: getting exception when talking to http endpoint using camel

2010-01-08 Thread Harbeer Kadian
i which is forcing us to add explicitly HttpComponent to talk to a http endpoint, or this is the camel way of sending messages to endpoints. Thanks for the valuable suggestions added to understand the problem. With Regads Harbeer kadian Harbeer Kadian wrote: > > Hi, > > I did

Not able to invoke webservice using http component

2010-03-23 Thread Harbeer Kadian
nge in the following way String soapMessage = "http://schemas.xmlsoap.org/soap/envelope/\"; xmlns:tut=\"http://tutorial.com\";>" + "Harbeer Kadian" + ""; XmlConverter xmlConverter = new XmlConverter(); Document i

Re: Not able to invoke webservice using http component

2010-03-24 Thread Harbeer Kadian
="http://www.w3.org/2001/XMLSchema-instance";>http://tutorial.com";>Hello Harbeer Kadian Now i want to read this output and change it into java objects, just like what a webservice client do. Do there are any standard api to do this. Or I have to use some sort of XQuery or X

How to change java application into Enterprise Integration Pattern

2010-04-08 Thread Harbeer Kadian
; SoapAppender String soapMessage >>>>> Call Web Service using camel Http Component ->>>> String soapResponse I am also adding a diagram giving pictorial representation of our application. http://old.nabble.com/file/p28179266/ExecuteOperation.png ExecuteOperation.png Pl