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 D7AE29910 for ; Tue, 3 Apr 2012 10:39:42 +0000 (UTC) Received: (qmail 32317 invoked by uid 500); 3 Apr 2012 10:39:42 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 32194 invoked by uid 500); 3 Apr 2012 10:39:41 -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 Received: (qmail 32183 invoked by uid 99); 3 Apr 2012 10:39:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Apr 2012 10:39:41 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of sigmund.lundgren@gmail.com designates 209.85.214.45 as permitted sender) Received: from [209.85.214.45] (HELO mail-bk0-f45.google.com) (209.85.214.45) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Apr 2012 10:39:32 +0000 Received: by bkcjg9 with SMTP id jg9so3711677bkc.32 for ; Tue, 03 Apr 2012 03:39:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:message-id:subject:x-mailer:mime-version:content-type; bh=rdlPTM2kx9LV7fXTEz3xlrEwr81xgF2Ey83SKYRP45c=; b=RocW1z60U+60nvQQnEUZeJWI45Umsx9SGj2EijxYAnxGRm/gX4RcVJZkHKwXsp8dAY Jlw/RewZi+KDsikAl/h30oHbZHdJ49nWw9oh36K6Kn3MPiUr9Leq/xmaSCXX2ypxAt3A bAgb3uzLagEW4wfN4a4+KGysidT3+k+Z7PGoT8SWSJrAxjiN/hewO9xdtjzaVGgrlE++ eBo1tae2NUVaiDtf2DyCTuLKc5DhlbnCOR2EJmjZkyvlx7tVPV6kVWJf6xDJmg3KXb23 a0UEYU8wIXRYp6782Bi9vCsj9IkudUk/9CUvDNuaVYgiXamF96LvWiNT2HselqDwfG4e rEBA== Received: by 10.204.143.151 with SMTP id v23mr5229155bku.63.1333449552115; Tue, 03 Apr 2012 03:39:12 -0700 (PDT) Received: from Sigmund-Lundgrens-MacBook-Pro.local (ua-83-227-138-145.cust.bredbandsbolaget.se. [83.227.138.145]) by mx.google.com with ESMTPS id f6sm44752857bkg.10.2012.04.03.03.39.10 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 03 Apr 2012 03:39:11 -0700 (PDT) Date: Tue, 3 Apr 2012 12:39:08 +0200 From: Sigmund Lundgren To: users@camel.apache.org Message-ID: Subject: cxf web service routing and camel X-Mailer: sparrow 1.5 (build 1043.1) MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="4f7ad34c_4c9b0904_667" --4f7ad34c_4c9b0904_667 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi! I'm working on a simple route, started by an ant script posting an HTML form to a servlet endpoint followed by a velocity template transform and then sending it of to an external web service. from("servlet:///order?matchOnUriPrefix") .process(orderProcessor) .to("velocity:classpath:OrderRechargeCardsForStockStart.vm") // .setHeader("operationName", constant("orderRechargeCardsForStockStart")) .to(webServiceEndpoint) It works fine using the http component for the webServiceEndpoint. In a integration test case I'm able to use a cxf component instead, but when the app is deployed in tomcat the response is just rubbish. Why? Testing against a SOAPUI MockService. Suggestions on other approached are welcome to. -- Sigmund Lundgren --4f7ad34c_4c9b0904_667--