Relecture RB |
Afin d'exposer la couche service sous forme de Web Service il y a quelques éléments de configuration CXF à mettre dans la configuration Spring de la couche métier (properties/domain/domain.xml) :
<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="domainService.remoteService" implementor="#domainService" address="/DomainService"> </jaxws:endpoint> |
Explications :
xmlns:jaxws="http://cxf.apache.org/jaxws" xsi:schemaLocation=".../... http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd" |
http://www.jtips.info/index.php?title=JAX-WS/CXF_et_Spring