Return-Path: Delivered-To: apmail-camel-users-archive@www.apache.org Received: (qmail 93226 invoked from network); 26 Mar 2010 06:37:17 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 26 Mar 2010 06:37:17 -0000 Received: (qmail 54846 invoked by uid 500); 26 Mar 2010 06:37:17 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 54707 invoked by uid 500); 26 Mar 2010 06:37:16 -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 54696 invoked by uid 99); 26 Mar 2010 06:37:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Mar 2010 06:37:16 +0000 X-ASF-Spam-Status: No, hits=-1.2 required=10.0 tests=AWL,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of willem.jiang@gmail.com designates 209.85.212.45 as permitted sender) Received: from [209.85.212.45] (HELO mail-vw0-f45.google.com) (209.85.212.45) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Mar 2010 06:37:10 +0000 Received: by vws5 with SMTP id 5so393299vws.32 for ; Thu, 25 Mar 2010 23:36:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=03w9uc1/K5gor85CtvDM8UB2SS0gnGLLpbpBeVV6QI4=; b=SvSbpQjqyTesoNYHI0OEAqecveY0FXlLHe5kKG5P8TDgVsKjXkXXsvTPdK9vDLKaKC 03/HI1r4IWkmMHkGnYXpWFgFiQZ4KJpLK1rtfQC4lCq8OgYuaIz4+eA5atgQKkrKPEpR 4UDe8w/sT0bsOxlZ9WGYNJyk/HKryLJWpgqC0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=n5hXQvVPRgv7OS+OBp0Urn4J8O6N5OAud+Hgk26kzRNhJj8is+qeUIcpS/uLiFDHhS 2iwNdVefFYzGJ5tYqUbUzgXiEKcEMsVbL8kRjMcu5VepE5Swsaj0Qjix/vEEG3Q7DULO FPlewgLy4Mp+EtBop00jq4NriMTGdXMW8Bw/k= Received: by 10.220.108.7 with SMTP id d7mr311022vcp.161.1269585409144; Thu, 25 Mar 2010 23:36:49 -0700 (PDT) Received: from [192.168.0.158] ([125.34.9.213]) by mx.google.com with ESMTPS id 29sm13714528vws.5.2010.03.25.23.36.46 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 25 Mar 2010 23:36:48 -0700 (PDT) Message-ID: <4BAC55FA.7050708@gmail.com> Date: Fri, 26 Mar 2010 14:36:42 +0800 From: Willem Jiang User-Agent: Thunderbird 2.0.0.24 (Macintosh/20100228) MIME-Version: 1.0 To: users@camel.apache.org Subject: Re: CXFRS Routing in 2.2.0 does not behave like in 2.0.0 References: <28038017.post@talk.nabble.com> <4BAC33DA.40703@gmail.com> <28038434.post@talk.nabble.com> In-Reply-To: <28038434.post@talk.nabble.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi, Can you try to use the latest Camel 2.3.0-SNAPSHOT? I just remembered I fixed a bus related issue[1] last month. [1]https://issues.apache.org/activemq/browse/CAMEL-2465 Willem jejmaster wrote: > Okay so here's how i defined my applicationContext for camel routing. By the > way, I am using both Soap And REST as router endpoints for this. > > applicationContext-camel.xml > > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xmlns:jaxws="http://cxf.apache.org/jaxws" > xmlns:cxf="http://camel.apache.org/schema/cxf" > xmlns:util="http://www.springframework.org/schema/util" > xmlns:jaxrs="http://cxf.apache.org/jaxrs" > xsi:schemaLocation=" > http://www.springframework.org/schema/beans > http://www.springframework.org/schema/beans/spring-beans-2.0.xsd > http://camel.apache.org/schema/cxf > http://camel.apache.org/schema/cxf/camel-cxf.xsd > http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd > http://camel.apache.org/schema/spring > http://camel.apache.org/schema/spring/camel-spring.xsd > http://www.springframework.org/schema/util > http://www.springframework.org/schema/util/spring-util-2.0.xsd > http://cxf.apache.org/jaxrs http://cxf.apache.org/schemas/jaxrs.xsd"> > > > > > /> > > > > serviceClass="com.project.service.TestManager" > endpointName="s:TestManagerImplPort" > serviceName="s:TestService" xmlns:s="http://impl.service.test.com/" /> > > address="http://localhost:8080/services/testService" > wsdlURL="http://localhost:8080/services/testService?wsdl" > serviceClass="com.project.service.TestManager" > endpointName="s:TestManagerImplPort" > serviceName="s:TestService" xmlns:s="http://impl.service.test.com/" /> > > > serviceClass="com.project.service.impl.TestManagerImpl" /> > > address="http://localhost:8080/services/rest" > serviceClass="com.project.service.impl.TestManagerImpl" /> > > > > > > > > > > > > > > > > > > > Thanks. > > > > willem.jiang wrote: >> You are using CXFServlet transport, can I have a look at your hole >> application context configuration? >> It may relate to CXF Bus configuration. >> >> Willem >> >> jejmaster wrote: >>> Hello, >>> >>> Currently, I tried to upgrade Camel version from 2.0.0 to 2.2.0 and CXF >>> version to 2.2.2 to 2.2.6. In 2.0.0, I have a CXFRS Endpoints and Route >>> as >>> follows: >>> >>> >> serviceClass="com.project.service.impl.ServiceManagerImpl" /> >>> >>> >> address="http://localhost:8080/services/rest" >>> serviceClass="com.project.service.impl.ServiceManagerImpl" /> >>> >>> >>> >>> >>> >>> >>> >>> Upon invoking the restRouter, it causes an error which roots to 404 not >>> found "http://localhost:8080/services/rest/restRouter/". It >>> seems >>> that the address restEndpoint Address is being appended by the >>> restRouter's >>> address. Thus, making the invocation fails. >>> >>> I would like to know what should be the fix here. Is this a current >>> limitation with camel 2.2.0 and CXF 2.2.6? >>> >>> I have created an issue at >>> https://issues.apache.org/activemq/browse/CAMEL-2575. >>> >>> Thanks in advance. >>> >>> >> >> >