Using Camel JDBC component

2017-04-04 Thread anirban.gupta4
Hi, I am using camel JDBC component. I found the documentation at the location http://camel.apache.org/jdbc.html I have two questions here: 1. I have an URL of type "jdbc:sqlserver://someIP". How will I pass any queries here? 2. How to set the userName, password for connecting to this DB? I am

Re: jaxrs resource classes not found Exception

2017-04-04 Thread anirban.gupta4
My project ran when I removed the following dependency org.apache.cxf cxf-spring-boot-starter-jaxrs ${cxf.version} But I need it for some other reason. Can anyone say me a compatible version of this or what

jaxrs resource classes not found Exception

2017-04-04 Thread anirban.gupta4
Hi, In our Camel project, we are using the following cxf dependencies in pom org.apache.cxf cxf-rt-frontend-jaxws ${cxf.version} org.apache.cxf

Calling a SOAP wenservice from Camel

2017-03-29 Thread anirban.gupta4
Hi, I want to call a SOAP based webservice from Camel. But I have the SOAP message in String form which I will have to send to the service. Can anyone kindly suggest me how to achieve this in Camel? Regards, Anirban. -- View this message in context:

Calling a SOAP wenservice from Camel

2017-03-29 Thread anirban.gupta4
Hi, I want to call a SOAP based webservice from Camel. But I have the SOAP message in String form which I will have to send to the service. Can anyone kindly suggest me how to achieve this in Camel? Regards, Anirban. -- View this message in context:

Exception handling in camel

2017-03-29 Thread anirban.gupta4
Hi, I have a Camel route like this from("cxf:bean:middlewareCustomerEndpoint") .choice() .when(header("SOAPAction").isEqualTo("action")) .doTry() .process(new Processor1())

Caused by: org.apache.cxf.transport.http.HTTPException when trying to invoke a cxf bean

2017-03-28 Thread anirban.gupta4
Hi, I have exposed two webservices as CXF beans, below is the code http://localhost:9090/endpoint1; serviceClass="serviceClass1" serviceName="tns:serviceName1" endpointName="tns:endpointName1" wsdlURL="wsdl/WSDL1.wsdl"

Unable to send response to webservice

2017-03-27 Thread anirban.gupta4
Hi, My scenario is like: 1. Expose a CXF endpoint and accept the request message 2. Transform the request message 3. Put the message in a JMS queue 4. Send a response to the caller that the message is successfully posted in the queue My route is as follows from("cxf:bean:someEndpoint")

Cannot Invoke a webservice exposed as cxf bean

2017-03-25 Thread anirban.gupta4
Hi, I am using Apache Camel with Spring boot. I want to expose a webservice using CXF endpoints. I have ddefined the CXF endpoint in a configuration file like below http://localhost:9090/calculator; serviceClass="test.ICalculator"

Re: A simple Web Service consumer and producer using Apache Camel

2017-03-23 Thread anirban.gupta4
We generally generate the java classes from WSDL using Apache CXF when using Camel. Can we generate the Java classes using wsimport and expose them as bean? As the syntax of the classes generated using CXF wsdl2java and wsimport are slightly different. -- View this message in context:

Re: A simple Web Service consumer and producer using Apache Camel

2017-03-23 Thread anirban.gupta4
I am using Spring boot with Apache Camel and not JBoss Fuse. -- View this message in context: http://camel.465427.n5.nabble.com/A-simple-Web-Service-consumer-and-producer-using-Apache-Camel-tp5796012p5796018.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: A simple Web Service consumer and producer using Apache Camel

2017-03-23 Thread anirban.gupta4
Actually I am not using JBoss Fuse, I am using Spring Boot with Apache Camel, but even in case of JBoss Fuse, Apache Camel is the same. -- View this message in context: http://camel.465427.n5.nabble.com/A-simple-Web-Service-consumer-and-producer-using-Apache-Camel-tp5796012p5796016.html Sent

A simple Web Service consumer and producer using Apache Camel

2017-03-23 Thread anirban.gupta4
Hi, I am new to JBoss Fuse and Apache Camel. In our project we have twoo WSDL of producer and consumer. For one of the WSDL we have generated the implementation class and we want to expose the endpoints in POJO dataFormat. We have couple of questions here: 1. In wsdl2java, we find three types

Enriching SOAP messages

2013-07-08 Thread anirban.gupta4
Hi, I have a requirement to enrich a SOAP message using the contents of another SOAP message using Camel. Previously I have enriched a XML by unmarshaling the XML using proper JAXB annotated class, performing the enrichment and then marshaling it to XML, but I'm not sure how to do it for SOAP