> Now I modified the CamelCXFProviderRouteConfig.xml in the same project.

What did you modify?

Best,
Christian
-----------------

Software Integration Specialist

Apache Camel committer: https://camel.apache.org/team
V.P. Apache Camel: https://www.apache.org/foundation/
Apache Member: https://www.apache.org/foundation/members.html

https://www.linkedin.com/pub/christian-mueller/11/551/642


On Fri, Jul 12, 2013 at 11:18 AM, cannykanna <cannyka...@gmail.com> wrote:

> Hi
> I am using the camel-cxf example and created a project in eclipse.
> In src/main/java
> org.apache.camel.example.Provider package, I created my own Client which
> talks to end application.
> I used this client in my CamelCxfExample.java Class and modified the tester
> bean as well.
> Now I modified the CamelCXFProviderRouteConfig.xml in the same project.
>
> Now when I run   mvn exec:java -PWebServiceProvider command from eclipse, I
> am getting below stack of error:
> [INFO] Scanning for projects...
> [INFO]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Camel :: Example :: CXF 2.11.0
> [INFO]
> ------------------------------------------------------------------------
> [INFO]
> [INFO] >>> exec-maven-plugin:1.1.1:java (default-cli) @ camel-example-cxf
> >>>
> [INFO]
> [INFO] --- maven-bundle-plugin:2.3.7:cleanVersions (versions) @
> camel-example-cxf ---
> [INFO]
> [INFO] <<< exec-maven-plugin:1.1.1:java (default-cli) @ camel-example-cxf
> <<<
> [INFO]
> [INFO] --- exec-maven-plugin:1.1.1:java (default-cli) @ camel-example-cxf
> ---
> [rovider.CamelCxfExample.main()] ClassPathXmlApplicationContext INFO
> Refreshing
> org.springframework.context.support.ClassPathXmlApplicationContext@6b5b5783
> :
> startup date [Fri Jul 12 12:35:44 IST 2013]; root of context hierarchy
> [rovider.CamelCxfExample.main()] XmlBeanDefinitionReader        INFO
> Loading XML bean definitions from class path resource
> [META-INF/spring/CamelCXFProviderRouteConfig.xml]
> [rovider.CamelCxfExample.main()] XmlBeanDefinitionReader        INFO
> Loading XML bean definitions from class path resource
> [META-INF/cxf/cxf.xml]
> [rovider.CamelCxfExample.main()] ClassPathXmlApplicationContext INFO  Bean
> 'cxf' of type [class org.apache.cxf.bus.spring.SpringBus] is not eligible
> for getting processed by all BeanPostProcessors (for example: not eligible
> for auto-proxying)
> [rovider.CamelCxfExample.main()] DefaultListableBeanFactory     INFO
> Pre-instantiating singletons in
>
> org.springframework.beans.factory.support.DefaultListableBeanFactory@3da997a
> :
> defining beans
>
> [bridgePropertyPlaceholder,cxf,org.apache.cxf.bus.spring.BusWiringBeanFactoryPostProcessor,org.apache.cxf.bus.spring.Jsr250BeanPostProcessor,org.apache.cxf.bus.spring.BusExtensionPostProcessor,testBean,soapMessageEndpoint,template,consumerTemplate,test_context:beanPostProcessor,test_context];
> root of factory hierarchy
> [rovider.CamelCxfExample.main()] CamelContextFactoryBean        INFO
> Bridging Camel and Spring property placeholder configurer with id:
> bridgePropertyPlaceholder
> [rovider.CamelCxfExample.main()] SpringCamelContext             INFO
>  Apache
> Camel 2.11.0 (CamelContext: test_context) is starting
> [rovider.CamelCxfExample.main()] ManagementStrategyFactory      INFO  JMX
> enabled.
> [rovider.CamelCxfExample.main()] DefaultTypeConverter           INFO
>  Loaded
> 196 type converters
> [rovider.CamelCxfExample.main()] ReflectionServiceFactoryBean   INFO
> Creating Service {http://www.service-now.com/incident}ServiceNow_incident
> from WSDL: wsdl/incident.do.wsdl
> [rovider.CamelCxfExample.main()] SpringCamelContext             INFO
>  Apache
> Camel 2.11.0 (CamelContext: test_context) is shutting down
> [rovider.CamelCxfExample.main()] SpringCamelContext             INFO
>  Uptime
> 0.898 seconds
> [rovider.CamelCxfExample.main()] SpringCamelContext             INFO
>  Apache
> Camel 2.11.0 (CamelContext: test_context) is shutdown in 0.004 seconds
> Get the exception org.apache.camel.RuntimeCamelException:
> java.lang.RuntimeException: Protocol mismatch for port 443: engine's
> protocol is http, the url protocol is https
>
> My endpoint application runs on https protocol.
>
> Can you please help me.?
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Get-the-exception-org-apache-camel-RuntimeCamelException-java-lang-RuntimeException-Protocol-mismatcs-tp5735568.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>

Reply via email to