Repository: camel Updated Branches: refs/heads/master 23cd70e23 -> 52e6420c7
Documentation cleaning Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/52e6420c Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/52e6420c Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/52e6420c Branch: refs/heads/master Commit: 52e6420c7a1c70bf4f37e3295b26a02118fafdc0 Parents: 23cd70e Author: Greg. A <gaut...@users.noreply.github.com> Authored: Mon Jan 4 14:44:15 2016 +0100 Committer: Claus Ibsen <davscl...@apache.org> Committed: Mon Jan 4 16:21:31 2016 +0100 ---------------------------------------------------------------------- examples/camel-example-cxf-proxy/README.md | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/52e6420c/examples/camel-example-cxf-proxy/README.md ---------------------------------------------------------------------- diff --git a/examples/camel-example-cxf-proxy/README.md b/examples/camel-example-cxf-proxy/README.md index 66daca1..783ce91 100644 --- a/examples/camel-example-cxf-proxy/README.md +++ b/examples/camel-example-cxf-proxy/README.md @@ -17,27 +17,27 @@ To run the example type: The proxied webservice is located at - http://localhost:<port 1>/camel-example-cxf-proxy/webservices/incident + http://localhost:${proxy.port}/camel-example-cxf-proxy/webservices/incident -[http://localhost:<port 1>/camel-example-cxf-proxy/webservices/incident](http://localhost:<port 1>/camel-example-cxf-proxy/webservices/incident) +<http://localhost:9080/camel-example-cxf-proxy/webservices/incident> The real webservice is located at - http://localhost:<port 2>/real-webservice + http://localhost:${real.port}/real-webservice -[http://localhost:<port 2>/real-webservice](http://localhost:<port 2>/real-webservice) +<http://localhost:9081/real-webservice> The webservice WSDL is exposed at: - http://localhost:<port 1>/camel-example-cxf-proxy/webservices/incident?wsdl + http://localhost:${proxy.port}/camel-example-cxf-proxy/webservices/incident?wsdl -[http://localhost:<port 1>/camel-example-cxf-proxy/webservices/incident?wsdl](http://localhost:<port 1>/camel-example-cxf-proxy/webservices/incident?wsdl) +<http://localhost:9080/camel-example-cxf-proxy/webservices/incident?wsdl> Because we use dynamic port numbers, you have to check the console to get the used one. To stop the example hit `ctrl + c` To make a SOAP call open soapUI or another SOAP query tool and create a new -project w/WSDL of [http://localhost:<port 1>/camel-example-cxf-proxy/webservices/incident?wsdl](http://localhost:<port 1>/camel-example-cxf-proxy/webservices/incident?wsdl). +project w/WSDL of <http://localhost:${proxy.port}/camel-example-cxf-proxy/webservices/incident?wsdl>. Then make SOAP requests of this format: <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" @@ -57,17 +57,21 @@ Then make SOAP requests of this format: </soapenv:Body> </soapenv:Envelope> +### Configuration + +You can change `${proxy.port}` and `${real.port}` via configuration file `src/main/resources/incident.properties` + ### Documentation -This example is documented at [http://camel.apache.org/cxf-proxy-example.html](http://camel.apache.org/cxf-proxy-example.html) +This example is documented at <http://camel.apache.org/cxf-proxy-example.html> ### Forum, Help, etc If you hit an problems please let us know on the Camel Forums - [http://camel.apache.org/discussion-forums.html](http://camel.apache.org/discussion-forums.html) + <http://camel.apache.org/discussion-forums.html> Please help us make Apache Camel better - we appreciate any feedback you may have. Enjoy! ------------------------ -The Camel riders! \ No newline at end of file +The Camel riders!