cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Ma <...@iona.com>
Subject Re: deploying CXF Web service in JBoss
Date Thu, 18 Oct 2007 09:44:45 GMT
Can you check the following  files on your classpath ?
META-INF/spring.handlers
META-INF/spring.schemas

-Jim


shaminda perera wrote:
> Hi all,
>
> I have created a web service and followed the instructions in
> http://cwiki.apache.org/CXF20DOC/servlet-transport.html in order to deploy
> it in JBoss. I am publishing the end point using the XML. As mentioned in
> the instructions, i added edited the web.xml with the servelt information
> and created a services.xml file which specifies the web service endpoint.
> Now after doing all these configurations and then starting JBoss, i get the
> following error log in JBoss..and the Web service is not getting deployed.
> It looks like everything is fine, apart from reading the services.xml file.
> Please advise as to what i need to do done here.
>
>
> 18:01:50,890 INFO  [XmlBeanDefinitionReader] Loading XML bean definitions
> from class path resource [META-INF/cxf/cxf.xml
> ]
> 18:01:51,327 INFO  [XmlBeanDefinitionReader] Loading XML bean definitions
> from class path resource [META-INF/cxf/cxf-ext
> ension-soap.xml]
> 18:01:51,484 INFO  [XmlBeanDefinitionReader] Loading XML bean definitions
> from class path resource [META-INF/cxf/cxf-ser
> vlet.xml]
> 18:01:51,687 INFO  [DefaultNamespaceHandlerResolver] Ignoring handler [
> org.springframework.transaction.config.TxNamespac
> eHandler]: class not found
> 18:01:51,749 ERROR [ContextLoader] Context initialization failed
> java.lang.IllegalArgumentException: Cannot locate BeanDefinitionParser for
> element [endpoint].
>         at
> org.springframework.beans.factory.xml.NamespaceHandlerSupport.findParserForElement
> (NamespaceHandlerSupport.ja
> va:63)
>         at
> org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser.parseCustomElement
> (DefaultXmlBeanDefinit
> ionParser.java:415)
>         at
> org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser.parseBeanDefinitions
> (DefaultXmlBeanDefin
> itionParser.java:374)
>         at
> org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser.registerBeanDefinitions
> (DefaultXmlBeanDe
> finitionParser.java:206)
>         at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions
> (XmlBeanDefinitionReader
> .java:388)
>         at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions
> (XmlBeanDefinitionReader.j
> ava:259)
>         at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions
> (XmlBeanDefinitionReader.jav
>
>
> This is my services.xml file contents:
>
>
> <beans xmlns="http://www.springframework.org/schema/beans"
>
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>
> xmlns:jaxws="http://cxf.apache.org/jaxws"
>
> xsi:schemaLocation="
>
> http://www.springframework.org/schema/beans
> http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
>
> http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd">
>
> <import resource="classpath:META-INF/cxf/cxf.xml"/>
>
> <import resource="classpath:META-INF/cxf/cxf-extension-soap.xml"/>
>
> <import resource="classpath:META-INF/cxf/cxf-servlet.xml"/>
>
> <jaxws:endpoint id="xxx"
>
> implementor="com.company.WebServiceImpl"
>
> address="/CompanyService"/>
>
> </beans>
>
> Thanks in advance for any help
>
>   

Mime
View raw message