Re: Entity Manager is null

2013-07-03 Thread abhi
Hi Willem, Thanks a lot for valuable help. You are right, class was not managed by Spring. When I made it to managed by Spring its working fine. Regards, Abhi -- View this message in context: http://camel.465427.n5.nabble.com/Entity-Manager-is-null-tp5735076p5735163.html Sent from the Camel

Entity Manager is null

2013-07-02 Thread abhi
c.jpa") private EntityManager entityManager; Can anybody tell me if I am missing anything ? Thanks, Abhi -- View this message in context: http://camel.465427.n5.nabble.com/Entity-Manager-is-null-tp5735076.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Issue with persisting data using openJPA

2013-06-25 Thread abhi
Thanks, Abhi -- View this message in context: http://camel.465427.n5.nabble.com/Issue-with-persisting-data-using-openJPA-tp5734379p5734741.html Sent from the Camel - Users mailing list archive at Nabble.com.

Issue with persisting data using openJPA

2013-06-19 Thread abhi
class name must be specified in the ConnectionDriverName property. Available properties in configuration are "org.apache.openjpa.jdbc.conf.JDBCConfigurationImpl@b4699c27" Can someone help me on this. Thanks & regards, Abhi -- View this message in context: http://camel.465427.n5.n

Update database using openJpa in camel route

2013-06-14 Thread abhi
: Indicates to use entityManager.persist(entity) instead of entityManager.merge(entity). Note: entityManager.persist(entity) doesn't work for detached entities (where the EntityManager has to execute an UPDATE instead of an INSERT query)! Thanks & Regards,ABhi -- View this message in conte

Re: Update database using openJpa in camel route

2013-06-14 Thread abhi
When I am trying to post my route it is automatically disappears from post. I can see it when I 'Preview Message', but disappears when I click on 'Post Message' Here is my route again. ${in.header.employeeSummaryListCount}

Issue with output format from POJO to JSON marshalling

2013-04-30 Thread abhi
I hvae written camel route which is doing following. Step 1: Web service is consuming TCAUpdate object Step 2: This object is marshelled to JSON object using jackson library Step 3: This generated JSON is stored in one file *UpdateTCA.java* public class UpdateTCA { int id; Stri

Re: Calling WebService with Camel

2013-04-18 Thread abhi
You can also refer to http://camel.465427.n5.nabble.com/How-to-call-CXF-web-service-from-Camel-td5729692.html#a5729744 <http://camel.465427.n5.nabble.com/How-to-call-CXF-web-service-from-Camel-td5729692.html#a5729744> Thanks, ABhi -- View this message in context: http://camel.465

Re: Calling WebService with Camel

2013-04-18 Thread abhi
package com.server; import javax.jws.WebService; @WebService(endpointInterface = "com.server.HelloFirst") public class HelloFirstImpl { public String myHello(String str){ return "HelloFirstImpl: Hello :"+str; } } Thanks, Abhi -- View thi

Re: Issue in Calling REST web service through Camel

2013-04-18 Thread abhi
tp://localhost:8080/myservice/users"; /> This will probably 'fix' it, or have http://localhost:8080/example/myservice/users"; /> @Path("/example/myservice/") @Produces("application/xml") public class ServiceImpl implements ServiceDefn HTH, Sergey On

Issue in Calling REST web service through Camel

2013-04-18 Thread abhi
matching request path /cxf-rest-example/myservice/users has been found, Relative Path: /. Please enable FINE/TRACE log level for more details. Enter Something: Thanks, Abhi -- View this message in context: http://camel.465427.n5.nabble.com/Issue-in-Calling-REST-web-service-through-Camel-tp5731079.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: How to call CXF web service from Camel

2013-03-30 Thread abhi
I have created JAR file of web service project and added it in my Camel project build path and everything is working fine now. Thanks for your help -- View this message in context: http://camel.465427.n5.nabble.com/How-to-call-CXF-web-service-from-Camel-tp5729692p5730119.html Sent from the Came

Re: How to call CXF web service from Camel

2013-03-25 Thread abhi
http://schemas.xmlsoap.org/soap/http";> http://localhost:8080/HelloWeb/Hello";> What should I put in so that it will work 1) address 2) endpointName 3) servi

How to call CXF web service from Camel

2013-03-22 Thread abhi
Hi All, I am new to Apache Camel and I am trying to call CXF web service from Camel. Here is my camel-context.xml -- http://localhost:8080/HelloWeb/Hello"; wsdlURL="http: