Return-Path: Delivered-To: apmail-camel-users-archive@www.apache.org Received: (qmail 99509 invoked from network); 23 Feb 2009 23:42:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Feb 2009 23:42:02 -0000 Received: (qmail 81968 invoked by uid 500); 23 Feb 2009 23:42:02 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 81806 invoked by uid 500); 23 Feb 2009 23:42:01 -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 81795 invoked by uid 500); 23 Feb 2009 23:42:01 -0000 Delivered-To: apmail-activemq-camel-user@activemq.apache.org Received: (qmail 81791 invoked by uid 99); 23 Feb 2009 23:42:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Feb 2009 15:42:01 -0800 X-ASF-Spam-Status: No, hits=4.0 required=10.0 tests=DNS_FROM_OPENWHOIS,FORGED_YAHOO_RCVD,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Feb 2009 23:41:52 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1LbkQV-0006Rk-NZ for camel-user@activemq.apache.org; Mon, 23 Feb 2009 15:41:31 -0800 Message-ID: <22172770.post@talk.nabble.com> Date: Mon, 23 Feb 2009 15:41:31 -0800 (PST) From: Sriram C To: camel-user@activemq.apache.org Subject: Re: CXF endpoint - No service was found issue In-Reply-To: <22128807.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: sriram_chavali@yahoo.com References: <22128807.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org I got this working by changing address to "/account" Sriram C wrote: > > I am trying to create a CXF endpoint using Spring DSL. My endpoint and > route definitions are as follow: > > address="http://localhost:8080/SFServices/services/account" > wsdlURL="classpath:accountOutboundMessage.wsdl" > serviceClass="com.mypackage.service.NotificationPort" > endpointName="s:Notification" > serviceName="s:NotificationService" > xmlns:s="http://soap.sforce.com/2005/09/outbound" /> > > xmlns="http://activemq.apache.org/camel/schema/spring"> > > > > > > > > The webapp starts up correctly. I can go to the CXF Service list page and > see that the service has been correctly initialized. However when I access > the WSDL for the published service, I see a 'No service was found' message > with the following warning. > > WARN [13:08:47,515] - > org.apache.cxf.transport.servlet.ServletController.invoke(126) | Can't > find the request for http://localhost:8080/SFServices/services/account's > Observer > > Can somebody point me to what is wrong in my configuration or how I can go > about debugging this issue? > > Thanks > Sriram > > The debug messages from Tomcat startup where the CXF endpoint is setup is > listed below. > > INFO [13:08:33,218] - > org.apache.cxf.endpoint.ServerImpl.initDestination(91) | Setting the > server's publish address to be > http://localhost:8080/SFServices/services/account > DEBUG [13:08:33,250] - > org.apache.cxf.jaxws.handler.AnnotationHandlerChainBuilder.buildHandlerChainFromClass(72) > | building handler chain > DEBUG [13:08:33,250] - > org.apache.cxf.jaxws.handler.AnnotationHandlerChainBuilder.findHandlerChainAnnotation(257) > | Checking for HandlerChain annotation on > com.mypackage.service.NotificationPort > DEBUG [13:08:33,250] - > org.apache.cxf.jaxws.handler.AnnotationHandlerChainBuilder.buildHandlerChainFromClass(77) > | no HandlerChain annotation on interface > com.mypackage.service.NotificationPort > DEBUG [13:08:33,250] - > org.apache.camel.management.DefaultInstrumentationAgent.registerMBeanWithServer(247) > | Registered MBean with objectname: > org.apache.camel:context=CM-Latitude-E55/camel,type=consumers,name=CxfConsumer(0x91cceb) > DEBUG [13:08:33,250] - > org.apache.cxf.transport.AbstractObservable.setMessageObserver(45) | > registering incoming observer: > org.apache.cxf.transport.ChainInitiationObserver@1bc6271 > DEBUG [13:08:33,250] - org.apache.cxf.endpoint.ServerImpl.start(127) | > register the server to serverRegistry > DEBUG [13:08:33,250] - > org.apache.camel.impl.DefaultComponent.createEndpoint(79) | Creating > endpoint uri=[spring-event:default], path=[default], parameters=[{}] > DEBUG [13:08:33,265] - > org.apache.camel.impl.DefaultCamelContext.getEndpoint(333) | > spring-event:default converted to endpoint: Endpoint[spring-event:default] > by component: org.apache.camel.component.event.EventComponent@17f61bb > DEBUG [13:08:33,281] - > org.apache.camel.management.DefaultInstrumentationAgent.registerMBeanWithServer(247) > | Registered MBean with objectname: > org.apache.camel:context=CM-Latitude-E55/camel,type=endpoints,name="spring-event:default\?id=0x20a20c46" > Feb 20, 2009 1:08:33 PM org.apache.catalina.core.ApplicationContext log > INFO: Set web app root system property: 'webapp.root' = > [C:\projects\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\SFServices\] > Feb 20, 2009 1:08:33 PM org.apache.catalina.core.ApplicationContext log > INFO: Initializing log4j from > [C:\projects\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\SFServices\WEB-INF\classes\log4j.xml] > INFO [13:08:33,453] - > org.apache.cxf.transport.servlet.CXFServlet.updateContext(120) | Load the > bus with application context > INFO [13:08:33,453] - > org.springframework.context.support.AbstractApplicationContext.prepareRefresh(411) > | Refreshing org.apache.cxf.bus.spring.BusApplicationContext@1026e12: > display name [org.apache.cxf.bus.spring.BusApplicationContext@1026e12]; > startup date [Fri Feb 20 13:08:33 PST 2009]; parent: > org.springframework.web.context.support.XmlWebApplicationContext@ad5fab > INFO [13:08:33,468] - org.apache.cxf.common.logging.LogUtils.doLog(345) | > No cxf.xml configuration file detected, relying on defaults. > DEBUG [13:08:33,468] - > org.apache.cxf.bus.spring.BusApplicationContext.getConfigResources(179) | > Creating application context with resources: [] > INFO [13:08:33,468] - > org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(426) > | Bean factory for application context > [org.apache.cxf.bus.spring.BusApplicationContext@1026e12]: > org.springframework.beans.factory.support.DefaultListableBeanFactory@cebf1c > DEBUG [13:08:33,468] - > org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(430) > | 0 beans defined in > org.apache.cxf.bus.spring.BusApplicationContext@1026e12: display name > [org.apache.cxf.bus.spring.BusApplicationContext@1026e12]; startup date > [Fri Feb 20 13:08:33 PST 2009]; parent: > org.springframework.web.context.support.XmlWebApplicationContext@ad5fab > DEBUG [13:08:33,468] - > org.springframework.context.support.AbstractApplicationContext.initMessageSource(648) > | Unable to locate MessageSource with name 'messageSource': using default > [org.springframework.context.support.DelegatingMessageSource@2db3da] > DEBUG [13:08:33,484] - > org.springframework.context.support.AbstractApplicationContext.initApplicationEventMulticaster(672) > | Unable to locate ApplicationEventMulticaster with name > 'applicationEventMulticaster': using default > [org.springframework.context.event.SimpleApplicationEventMulticaster@7aaf5a] > DEBUG [13:08:33,484] - > org.apache.camel.spring.SpringCamelContext.onApplicationEvent(109) | > Publishing spring-event: > org.springframework.context.event.ContextRefreshedEvent[source=org.apache.cxf.bus.spring.BusApplicationContext@1026e12: > display name [org.apache.cxf.bus.spring.BusApplicationContext@1026e12]; > startup date [Fri Feb 20 13:08:33 PST 2009]; parent: > org.springframework.web.context.support.XmlWebApplicationContext@ad5fab] > DEBUG [13:08:33,484] - > org.apache.camel.spring.SpringCamelContext.maybeStart(96) | Starting the > CamelContext now that the ApplicationContext has started > INFO [13:08:33,484] - > org.apache.cxf.transport.servlet.AbstractCXFServlet.replaceDestinationFactory(122) > | Servlet transport factory already registered > Feb 20, 2009 1:08:33 PM org.apache.coyote.http11.Http11Protocol start > INFO: Starting Coyote HTTP/1.1 on http-8080 > Feb 20, 2009 1:08:33 PM org.apache.jk.common.ChannelSocket init > INFO: JK: ajp13 listening on /0.0.0.0:8009 > Feb 20, 2009 1:08:33 PM org.apache.jk.server.JkMain start > INFO: Jk running ID=0 time=0/63 config=null > Feb 20, 2009 1:08:33 PM org.apache.catalina.startup.Catalina start > INFO: Server startup in 27240 ms > -- View this message in context: http://www.nabble.com/CXF-endpoint---No-service-was-found-issue-tp22128807p22172770.html Sent from the Camel - Users (activemq) mailing list archive at Nabble.com.