Not able to consume HTTPS SOAP service using cxfEndpoint

2016-08-22 Thread niteshjain
I am using Camel 2.16.0 and cxf 3.1.2 Here I'm trying to consume https service - https://test.com:443/web-services/ship";    wsdlURL="wsdl/ShipService.wsdl"/> Configured httpj bus within camel xml as below -

Not able to consume HTTPS SOAP service using cxfEndpoint

2016-08-22 Thread niteshjain
I am using Camel 2.16.0 and cxf 3.1.2 Here I'm trying to consume https service - https://test.com:443/web-services/ship";    wsdlURL="wsdl/ShipService.wsdl"/> Configured httpj bus within camel xml as below -

How to write a cxf service that uses plain xml over http

2016-01-28 Thread niteshjain
I'm new in developing XML over http based services using Apache Camel. is there any example from where i can kick start ? Regards, Nitesh -- View this message in context: http://camel.465427.n5.nabble.com/How-to-write-a-cxf-service-that-uses-plain-xml-over-http-tp5776963.html Sent from the Cam

Apache Camel - Receiving SOAP response with empty body

2015-10-29 Thread niteshjain
Created SOAP service using Apache camel 2.15.3 and everything works fine, even the response SOAP body is valid. Camel 2.15.3 is dependent on cxf 3.0.6 But when i updated cxf-core to 3.1.3, everything works fine, except the SOAP body is EMPTY. There is no error logs, and the server starts up norm

Avoid Soap Headers in SOAP-Response

2015-03-01 Thread niteshjain
when i invoke a camel cxf endpoint by passing Headers, i get the same headers in response, is there any way to ignore the headers only in response. This is how i get Headers- public void processHeaders(@Header("org.apache.cxf.headers.Header.list") List soapHeaders, Exchang

Get SOAP Headers in Camel Processor

2015-01-29 Thread niteshjain
Currently trying to access SOAP Headers sent (via SOAP Request), in a camel processor, tried the this *exchange.getIn().getHeaders()* but its returning null. does anyone know how do i retrieve SOAP Headers (Not HTTP Headers ) ? -- View this message in context: http://camel.465427.n5.nabble.com/

Re: SAXParseException -Cannot find the declaration of element 'beans'

2014-12-20 Thread niteshjain
No problem. Thank you :) Regards, Nitesh On 5:09PM, Sat, 20 Dec 2014 Grzegorz Grzybek [via Camel] < ml-node+s465427n5760949...@n5.nabble.com> wrote: > Hi > > I'll be able to check the details after Christmas holidays, but now, try > copy those > ( > https://github.com/spring-projects/spring-fram

Re: SAXParseException -Cannot find the declaration of element 'beans'

2014-12-20 Thread niteshjain
Thank you :) can you please look at this https://github.com/niteshjain132/CamelSpring-WS i get XmlParseException when i invoke via webservice (deployed it in Jboss Fuse Server) Regards, Nitesh -- View this message in context: http://camel.465427.n5.nabble.com/SAXParseException-Cannot-find-t

Re: SAXParseException -Cannot find the declaration of element 'beans'

2014-12-20 Thread niteshjain
Hi > > Are you sure you're not running inside OSGi environment? (hint: > org.apache.servicemix.bundles.spring-beans:3.2.8.RELEASE_1) > See this thread then: > https://developer.jboss.org/thread/245670?start=0&tstart=0 > > regards > Grzegorz Grzybek > > 2014-12-17

Re: SAXParseException -Cannot find the declaration of element 'beans'

2014-12-19 Thread niteshjain
ek/CamelSpring/commit/cc44939a5e5daaa58ce91cdeac5644ffa3260bcc > It produces: > > Dec 19, 2014 1:26:44 PM [com.main.TestRouter] process > INFO: -TestRouter Called-- > Dec 19, 2014 1:26:44 PM [com.main.TestRouter] process > INFO: Messgae :: Hello > > on the console > > regards > Grze

Re: SAXParseException -Cannot find the declaration of element 'beans'

2014-12-19 Thread niteshjain
Sure, here it is https://github.com/niteshjain132/CamelSpring created a simple project with a main class Test. Thanks, Nitesh -- View this message in context: http://camel.465427.n5.nabble.com/SAXParseException-Cannot-find-the-declaration-of-element-beans-tp5760809p5760913.html Sent from the

Re: SAXParseException -Cannot find the declaration of element 'beans'

2014-12-18 Thread niteshjain
Do i need to add something in pom.xml ? *Pom.xml* http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd";> 4.0.0 com.test CamelSpr

Re: SAXParseException -Cannot find the declaration of element 'beans'

2014-12-18 Thread niteshjain
Thank you for your reply., i modified the came_context.xml as below : http://www.springframework.org/schema/beans"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns:camel="http://camel.apache.org/schema/spring"; xsi:schemaLocation=" http://www.springframework.o

Re: SAXParseException -Cannot find the declaration of element 'beans'

2014-12-17 Thread niteshjain
Thanks, yes it is OSGI Environment. Runtime: ServiceMix 4.5 https://developer.jboss.org/thread/245670?start=0&tstart=0 ,did not help me. -- View this message in context: http://camel.465427.n5.nabble.com/SAXParseException-Cannot-find-the-declaration-of-element-beans-tp5760809p5760821.html S

SAXParseException -Cannot find the declaration of element 'beans'

2014-12-16 Thread niteshjain
Camel+cxf - Unable to parse the *camel_context.xml *when called from a java code as below. i don't get any such error when i run in eclipse. ApplicationContext ac = new ClassPathXmlApplicationContext("nite.xml"); CamelContext context = SpringCamelContext.springCamelContext(ac); *camel_context.x

Getting values from more than one property file

2014-12-15 Thread niteshjain
is there any way to load more than one property file when the Fuse starts up , and then get the values from any of those properties file for corresponding Key ? i am using Jboss Fuse 6.0 -- View this message in context: http://camel.465427.n5.nabble.com/Getting-values-from-more-than-one-prope

Re: Invoking a Router via Java (Processor)

2014-12-14 Thread niteshjain
Thank you very much @Christian. i was not aware of "Producer Template" as i am a newbie to camel. That was very helpful :D -- View this message in context: http://camel.465427.n5.nabble.com/Invoking-a-Router-via-Java-Processor-tp5760612p5760681.html Sent from the Camel Development mailing list

Invoking a Router via Java (Processor)

2014-12-11 Thread niteshjain
how to invoke a Router in Camel context via a Java code. Tried this - in Java Class : ApplicationContext context = new ClassPathXmlApplicationContext("*camel_context.xml*"); CamelContext camel = SpringCamelContext.springCamelContext(context); camel.startRoute("*firstRoute*"); in camel_cont