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 68086D661 for ; Tue, 9 Oct 2012 12:12:46 +0000 (UTC) Received: (qmail 17775 invoked by uid 500); 9 Oct 2012 12:12:46 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 17410 invoked by uid 500); 9 Oct 2012 12:12:43 -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 17361 invoked by uid 99); 9 Oct 2012 12:12:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Oct 2012 12:12:41 +0000 X-ASF-Spam-Status: No, hits=0.6 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of willem.jiang@gmail.com designates 209.85.160.45 as permitted sender) Received: from [209.85.160.45] (HELO mail-pb0-f45.google.com) (209.85.160.45) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Oct 2012 12:12:35 +0000 Received: by mail-pb0-f45.google.com with SMTP id rp2so5224374pbb.32 for ; Tue, 09 Oct 2012 05:12:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:message-id:in-reply-to:references:subject:x-mailer :mime-version:content-type:content-transfer-encoding :content-disposition; bh=x4hGsteIhyzge2DB+rVPh/XoGxJWGbgomE5IrmnvBGA=; b=hltKxc6hFllp8DKDgSyhQG5VaCZbPVgJy6vS+AZt0NjYpDjiiEjCZgyyeza2QqzBXO oKzjjKvdrCb7WwuXcvkCnP/jLssNSHgzwNokoCgjBl7hQcIhcU1f3oiIgZuLMuWNdugQ Pfv4tbfqlfppGsxa+YJ4IOxewPjLw8Li65nUxiejBAtp+nu4R803YLdkMFR+F/z+6MpP +eqn2dlpfNvO3GFhfTdKAbI+bE4/2TZnsSJdcFFJVaBvdLXX57wTfNKG+Hlz4fnxVUm5 Epj5d/X6M/2g3hSlEjDdJyTnsBnH12jiIdUtrexFa+lB+BCI01ICbAEJQYk816U8imNO 3Q2Q== Received: by 10.68.138.163 with SMTP id qr3mr62818576pbb.161.1349784733554; Tue, 09 Oct 2012 05:12:13 -0700 (PDT) Received: from [192.168.1.135] ([123.116.32.237]) by mx.google.com with ESMTPS id ho7sm12331409pbc.3.2012.10.09.05.12.09 (version=SSLv3 cipher=OTHER); Tue, 09 Oct 2012 05:12:12 -0700 (PDT) Date: Tue, 9 Oct 2012 20:12:05 +0800 From: Willem jiang To: users@camel.apache.org Message-ID: In-Reply-To: <1349783805877-5720790.post@n5.nabble.com> References: <1349783805877-5720790.post@n5.nabble.com> Subject: Re: Camel-CXF web services are not available X-Mailer: sparrow 1.6.4 (build 1176) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, It looks like you are leverage the CXF servlet transport. It is important that cxf endpoint address is start with "/" to make sure the service is published rightly. As the endpoint uri is start with "cxf://" the endpoint address is "swaptioncompactservice/SwaptionCompactService", you just need to add a "/" like this > cxf:///swaptioncompactservice/SwaptionCompactService?dataFormat=PAYLOAD&portName=%7Bhttp://mustservice.summit%7DSwaptionCompactService&serviceName=%7Bhttp://mustservice.summit%7DSwaptionCompactService&wsdlURL=Systems/MeridianEndPoint/must/SwaptionCompactWS/WsdlFiles/SwaptionCompactService.wsdl] -- Willem Jiang Red Hat, Inc. FuseSource is now part of Red Hat Web: http://www.fusesource.com | http://www.redhat.com Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) (English) http://jnn.javaeye.com (http://jnn.javaeye.com/) (Chinese) Twitter: willemjiang Weibo: willemjiang On Tuesday, October 9, 2012 at 7:56 PM, Sachin wrote: > Hi All, > > I am using camel 2.9.1 with cxf 2.4.2 and spring 3.0.5 to expose some > webservices with multiple operations using WSDL first approach and PAYLOAD > mode. > At camel startup i can see it's starting my cxf routes without any error, > and in CXF web services' list (http://localhost:9081/bfi/ws/services/) it's > displaying that there are 2 webservices available. > But while accessing from SOAP UI or any browser it's dsiplaying that there > are No service found with below log. > Can't find the the request for > http://localhost:9081/bfi/ws/SwaptionCompactService's Observer . > > > > > [10/9/12 13:02:25:890 IST] 00000008 ReflectionSer I Creating Service > {http://dataservice.summit/genericdataservice}GenericDataService from WSDL: > Systems/MeridianEndPoint/must/GenericDataWS/WsdlFiles/GenericDataService.wsdl > > [10/9/12 13:02:26:499 IST] 00000008 ServerImpl I Setting the server's > publish address to be genericdataservice/GenericDataService > > [10/9/12 13:02:26:499 IST] 00000008 ReflectionSer I Creating Service > {http://dataservice.summit/genericdataservice}GenericDataService from WSDL: > Systems/MeridianEndPoint/must/GenericDataWS/WsdlFiles/GenericDataService.wsdl > > [10/9/12 13:02:26:546 IST] 00000008 PayLoadDataFo I > org.apache.camel.component.cxf.feature.AbstractDataFormatFeature > removeInterceptors removing the interceptor > org.apache.cxf.interceptor.ClientFaultConverter@7b357b35 > > [10/9/12 13:02:26:609 IST] 00000008 SpringCamelCo I > org.apache.camel.impl.DefaultCamelContext doStartOrResumeRouteConsumers > Route: MeridianEndPoint.must.Service.SwaptionCompactWS started and consuming > from: > Endpoint[cxf://swaptioncompactservice/SwaptionCompactService?dataFormat=PAYLOAD&portName=%7Bhttp://mustservice.summit%7DSwaptionCompactService&serviceName=%7Bhttp://mustservice.summit%7DSwaptionCompactService&wsdlURL=Systems/MeridianEndPoint/must/SwaptionCompactWS/WsdlFiles/SwaptionCompactService.wsdl] > > [10/9/12 13:02:26:656 IST] 00000008 SpringCamelCo I > org.apache.camel.impl.DefaultCamelContext doStartOrResumeRouteConsumers > Route: MeridianEndPoint.must.Service.GenericDataWS started and consuming > from: > Endpoint[cxf://genericdataservice/GenericDataService?dataFormat=PAYLOAD&portName=%7Bhttp://dataservice.summit/genericdataservice%7DGenericDataService&serviceName=%7Bhttp://dataservice.summit/genericdataservice%7DGenericDataService&wsdlURL=Systems/MeridianEndPoint/must/GenericDataWS/WsdlFiles/GenericDataService.wsdl] > > [10/9/12 13:02:26:937 IST] 00000008 SpringCamelCo I > org.apache.camel.impl.DefaultCamelContext start Total 2 routes, of which 2 > is started. > > Thanks in advance. > > > > -- > View this message in context: http://camel.465427.n5.nabble.com/Camel-CXF-web-services-are-not-available-tp5720790.html > Sent from the Camel - Users mailing list archive at Nabble.com (http://Nabble.com).