Return-Path: X-Original-To: apmail-camel-users-archive@www.apache.org Delivered-To: apmail-camel-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 77A9510CAA for ; Mon, 18 Nov 2013 01:11:22 +0000 (UTC) Received: (qmail 89078 invoked by uid 500); 18 Nov 2013 01:11:21 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 89049 invoked by uid 500); 18 Nov 2013 01:11:21 -0000 Mailing-List: contact users-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@camel.apache.org Delivered-To: mailing list users@camel.apache.org Delivered-To: moderator for users@camel.apache.org Received: (qmail 13638 invoked by uid 99); 16 Nov 2013 23:20:11 -0000 X-ASF-Spam-Status: No, hits=1.3 required=5.0 tests=SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy includes SPF record at spf.trusted-forwarder.org) Date: Sat, 16 Nov 2013 15:19:45 -0800 (PST) From: moldur To: users@camel.apache.org Message-ID: <1384643985694-5743382.post@n5.nabble.com> Subject: Simple way of calling WS under Tomcat - whole url? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi, Scenario: Simple soap router based on content (body:envelope:element). Router would be getting soap request and sending to two nearly the same web services according to value of one of the soap elements. Router is deployed on the same tomcat as fist receiver. But the second destination WS is in other server: Router and rec1 are on the same tomcat (address xxx.xxx.xxx.xxx), rec2 is on totally different server (address yyy.yyy.yyy.yyy) I've done this simply by using cxf bean in spring: To present the whole picture three endpoints were put into route like this It was done on JETTY where i could pass the whole url, on tomcat (where I need to deploy it) I cannot pass the whole url so easy. The difference is JETTY: src.url.property=http://localhost:8089/WEB_SERVICE/sampleService TOMCAT: src.url.property=sampleService Question: I know that I would figure this out (sooner or later) but I hope that there is a simple solution to that somewhere In tutorials and someone could point me in the right direction. Thanks in advance. -- View this message in context: http://camel.465427.n5.nabble.com/Simple-way-of-calling-WS-under-Tomcat-whole-url-tp5743382.html Sent from the Camel - Users mailing list archive at Nabble.com.