Hi, I try to run an camel-cxf project on SMX4. I have been able to package it and deploy my project on SMX4. Unfortunately, when I call the following url from my browser, I receive an HTTP error 200
The log is not really verbose even in TRACE or DEBUG mode 16:34:58,178 | DEBUG | le/incident?wsdl | jetty | .service.internal.util.JCLLogger 85 | REQUEST /camel-example/incident on org.mortbay.jetty.httpconnect...@dddff 16:34:58,303 | DEBUG | le/incident?wsdl | jetty | .service.internal.util.JCLLogger 85 | RESPONSE /camel-example/incident 200 On the servicemix console, I see the following WARNING : Warning: The encoding 'UTF-8' is not supported by the Java runtime. Camel config : <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:camel="http://camel.apache.org/schema/spring" xmlns:cxf="http://camel.apache.org/schema/cxfEndpoint" xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd http://camel.apache.org/schema/osgi http://camel.apache.org/schema/osgi/camel-osgi.xsd http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd http://camel.apache.org/schema/cxfEndpoint http://camel.apache.org/schema/cxf/camel-cxf.xsd"> <!-- not required for camel-cxf camel-cxf-2.0-SNAPSHOT <import resource="classpath:META-INF/cxf/cxf.xml"/> <import resource="classpath:META-INF/cxf/cxf-extension-soap.xml"/> <import resource="classpath:META-INF/cxf/cxf-servlet.xml"/> --> <bean id="bindyDataformat" class="org.apache.camel.dataformat.bindy.csv.BindyCsvDataFormat"> <constructor-arg type="java.lang.String" value="org.apache.camel.example.reportincident.model" /> </bean> <bean id="csv" class="org.apache.camel.example.reportincident.csv.CsvBean" /> <bean id="reportIncidentEndpoint" class="org.apache.camel.example.reportincident.service.ReportIncidentEndpointService"/> <bean id="OK" class="org.apache.camel.example.reportincident.domain.OutputReportIncident"> <property name="code" value="0"/> </bean> <!-- webservice endpoint --> <cxf:cxfEndpoint id="reportIncident" address="http://localhost:8080/camel-example/incident" wsdlURL="wsdl/report_incident.wsdl" serviceClass="#reportIncidentEndpoint" endpointName="s:ReportIncidentPort" serviceName="s:ReportIncidentService" xmlns:s="http://reportincident.example.camel.apache.org" /> <camelContext trace="true" xmlns="http://camel.apache.org/schema/osgi"> <camel:package>org.apache.camel.example.reportincident.routing</camel:package> <!-- File route --> <camel:route> <camel:from uri="file://d:/temp/data/?moveExpression=d:/temp/done/${file:name}" /> <camel:unmarshal ref="bindyDataformat" /> <camel:to uri="bean:csv" /> </camel:route> <!-- CXF route --> <camel:route> <camel:from uri="cxf:bean:reportIncident" /> <camel:to uri="log:cxf" /> <camel:convertBodyTo type="org.apache.camel.example.reportincident.domain.InputReportIncident" /> <camel:to uri="log:cxf" /> <camel:transform> <camel:constant>OK</camel:constant> </camel:transform> </camel:route> </camelContext> </beans> Regards, Charles ----- Charles Moulliard SOA Architect My Blog : http://cmoulliard.blogspot.com/ http://cmoulliard.blogspot.com/ -- View this message in context: http://www.nabble.com/camel-cxf-on-SMX4-%3A-HTTP-error-200-in-the-log-tp22332508p22332508.html Sent from the Camel - Users mailing list archive at Nabble.com.
