Lorsque j'essaie de deployer un web service sous form d'un war créer a partir de maven ,j'obtiens cette erreur dan le fichier applicationcontext.xml situé dans WEB-INF
cvc-complex-type.2.4.c:the matching wildcard is strict but no declaration for element 'jaxws:endpoint.
voici le contenu du fichier ApplicationContext.xml:
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23 <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:jaxws="http://cxf.apache.org/jaxws" xmlns:http-conf="http://cxf.apache.org/transports/http/configuration" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd"> <bean id="message" class="org.springbyexample.di.app.Message"> <property name="message" value="Spring is fun." /> </bean> <import resource="classpath:META-INF/cxf/cxf.xml"/> <import resource="classpath:META-INF/cxf/cxf-servlet.xml"/> <import resource="classpath:META-INF/cxf/cxf-extension-soap.xml"/> <jaxws:endpoint id="AdditionWs" implementor="model.test.OperationServiceImpl" address="/AdditionWs" > </jaxws:endpoint> </beans>
Partager