Return-Path: Delivered-To: apmail-cxf-users-archive@www.apache.org Received: (qmail 99917 invoked from network); 27 Jun 2008 23:08:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Jun 2008 23:08:19 -0000 Received: (qmail 9340 invoked by uid 500); 27 Jun 2008 23:08:19 -0000 Delivered-To: apmail-cxf-users-archive@cxf.apache.org Received: (qmail 9286 invoked by uid 500); 27 Jun 2008 23:08:19 -0000 Mailing-List: contact users-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@cxf.apache.org Delivered-To: mailing list users@cxf.apache.org Received: (qmail 9275 invoked by uid 99); 27 Jun 2008 23:08:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Jun 2008 16:08:19 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [198.152.12.100] (HELO nj300815-nj-outbound.avaya.com) (198.152.12.100) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Jun 2008 23:07:27 +0000 X-IronPort-AV: E=Sophos;i="4.27,717,1204520400"; d="scan'208";a="125261455" Received: from unknown (HELO co300216-co-erhwest.avaya.com) ([198.152.7.5]) by nj300815-nj-outbound.avaya.com with ESMTP; 27 Jun 2008 19:07:45 -0400 X-IronPort-AV: E=Sophos;i="4.27,717,1204520400"; d="scan'208";a="225406187" Received: from unknown (HELO 306181ANEX3.global.avaya.com) ([135.9.6.102]) by co300216-co-erhwest-out.avaya.com with ESMTP; 27 Jun 2008 19:07:45 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: Missing @WebService annotation? Date: Fri, 27 Jun 2008 17:07:42 -0600 Message-ID: In-Reply-To: <18163838.post@talk.nabble.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Missing @WebService annotation? Thread-Index: AcjYmbOtpUmxqEmRSVKQYCpOqSxDDwAEJhsg References: <1214423306.24165.46.camel@fangorn> <18163838.post@talk.nabble.com> From: "Sica, David (David)" To: X-Virus-Checked: Checked by ClamAV on apache.org I'm trying to deploy my web service with CXF 2.1 on Tomcat 6.0.16 and am getting the following error which makes no sense because I clearly have both my Interface and implementation annotated with @WebService. I'm stumped, any ideas would be greatly appreciated. Thanks, David SEVERE: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ProductCommandService': Invocation of init method failed; nested exception is javax.xml.ws.WebServiceException: Service endpoint interface does not have a @WebService annotation. Caused by: javax.xml.ws.WebServiceException: Service endpoint interface does not have a @WebService annotation. at org.apache.cxf.jaxws.support.JaxWsImplementorInfo.initialize(JaxWsImplem entorInfo.java:284) at org.apache.cxf.jaxws.support.JaxWsImplementorInfo.(JaxWsImplemento rInfo.java:57) at org.apache.cxf.jaxws.EndpointImpl.getServer(EndpointImpl.java:271) at org.apache.cxf.jaxws.EndpointImpl.doPublish(EndpointImpl.java:244) at org.apache.cxf.jaxws.EndpointImpl.publish(EndpointImpl.java:194) at org.apache.cxf.jaxws.EndpointImpl.publish(EndpointImpl.java:380) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor Impl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac tory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1242 ) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac tory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1208) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac tory.initializeBean(AbstractAutowireCapableBeanFactory.java:1172) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac tory.createBean(AbstractAutowireCapableBeanFactory.java:427) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObjec t(AbstractBeanFactory.java:249) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.g etSingleton(DefaultSingletonBeanRegistry.java:155) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(Ab stractBeanFactory.java:246) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(Ab stractBeanFactory.java:160) at org.springframework.beans.factory.support.DefaultListableBeanFactory.pre InstantiateSingletons(DefaultListableBeanFactory.java:291) at org.springframework.context.support.AbstractApplicationContext.refresh(A bstractApplicationContext.java:352) at org.springframework.web.context.ContextLoader.createWebApplicationContex t(ContextLoader.java:246) at org.springframework.web.context.ContextLoader.initWebApplicationContext( ContextLoader.java:189) at org.springframework.web.context.ContextLoaderListener.contextInitialized (ContextLoaderListener.java:49) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.j ava:3843) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4350 ) at org.apache.catalina.startup.HostConfig.checkResources(HostConfig.java:11 14) at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1212) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:29 3) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSu pport.java:117) at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.j ava:1337) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.proc essChildren(ContainerBase.java:1601) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.proc essChildren(ContainerBase.java:1610) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run( ContainerBase.java:1590) at java.lang.Thread.run(Thread.java:595)