Thanks Jeff and Jim for the quick replies. Jeff , yes the jaxws-frontend module jar is in my classpath. I use maven to get all the required libraries to my web application.. as described in http://cwiki.apache.org/CXF20DOC/maven-integration-and-plugin.html
Jim, yes I have those files in the classpath. I mean they are inside the spring-beans-2.0-m2.jar\META-INF folder. this spring jar is in the classpath. I even now added a spring.schemas file to my web module under META-INF\spring.schemas and added the following entry to it. http\://cxf.apache.org/schemas/jaxws.xsd=/schemas/jaxws.xsd thinking that spring cant find the jaxws.xsd file. but still i am getting the same result. Thanks On 10/18/07, Jim Ma <[EMAIL PROTECTED]> wrote: > > 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.xmlfile. > > 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 > > > > >
