You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2012/06/29 16:19:55 UTC
svn commit: r1355404 -
/camel/trunk/examples/camel-example-cxf-blueprint/README.txt
Author: davsclaus
Date: Fri Jun 29 14:19:54 2012
New Revision: 1355404
URL: http://svn.apache.org/viewvc?rev=1355404&view=rev
Log:
Improved README.txt of example after testing it for the 2.10 release.
Modified:
camel/trunk/examples/camel-example-cxf-blueprint/README.txt
Modified: camel/trunk/examples/camel-example-cxf-blueprint/README.txt
URL: http://svn.apache.org/viewvc/camel/trunk/examples/camel-example-cxf-blueprint/README.txt?rev=1355404&r1=1355403&r2=1355404&view=diff
==============================================================================
--- camel/trunk/examples/camel-example-cxf-blueprint/README.txt (original)
+++ camel/trunk/examples/camel-example-cxf-blueprint/README.txt Fri Jun 29 14:19:54 2012
@@ -13,32 +13,25 @@ the same port.
You will need to compile this example first:
mvn install
-To run the example on Apache ServiceMix 4.x or Apache Karaf 2.x
+To run the example on Apache ServiceMix 4.x or Apache Karaf 2.2.5 or better
1) launch the server
karaf.bat
-Note for Karaf 2.2.x:
- a) edit the etc/jre.properties file to add the following packages to be exported
- jre-1.6=, \
- com.sun.org.apache.xerces.internal.dom, \
- com.sun.org.apache.xerces.internal.jaxp, \
-
- b) from the same file comment out the following exports already provided by the bundles
- that will be imported next: javax.xml.bind*, javax.jws*, javax.xml.soap*, javax.xml.ws*,
- javax.activation, javax.annotation, javax.xml.stream*.
+Note for Karaf 2.2.5 onwards:
+ a) copy the etc/jre.properties.cxf to override the existing etc/jre.properties file
+
2) Add features required
features:addUrl mvn:org.apache.camel.karaf/apache-camel/${version}/xml/features
features:install war
features:install cxf
features:install camel-jaxb
- features:install camel-blueprint
features:install camel-cxf
3) Deploy the example
- osgi:install -s mvn:org.apache.camel/camel-example-cxf-blueprint
+ osgi:install -s mvn:org.apache.camel/camel-example-cxf-blueprint/${version}
4) Verify that your service is available using the following url in the browser.
We assume you're using Karaf's default PAX Web configuration which uses
@@ -55,7 +48,6 @@ Note for Karaf 2.2.x:
Open the request 1 (under camel-example-cxf-blueprint --> ReportIncidentBinding --> ReportIncident) and copy/paste a SOAP
message generated by the unit test, for example:
- <xml version="1.0" encoding="UTF-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Header />
<soap:Body>