Hi

Have a look please here :

http://svn.apache.org/repos/asf/cxf/trunk/systests/src/test/resources/jaxrs_soap_rest/WEB-INF/beans.xml

It shows 2 jaxrs and one jaxws endpoint definitions, as well as a jaxrs:client 
http client which is injected into a service bean 
org.apache.cxf.systest.jaxrs.BookStoreSoapRestImpl which serves both jaxws and 
jaxrs requests, though jaxrs:client is not supported in 2.1.4 but will be in 
2.1.5.

The basic service bean is here :

http://svn.apache.org/repos/asf/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/jaxrs/BookStoreSoapRestImpl.java

and it implements

http://svn.apache.org/repos/asf/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/jaxrs/BookStoreJaxrsJaxws.java


Hope it helps
Sergey



-----Original Message-----
From: amine amine [mailto:[email protected]] 
Sent: 05 March 2009 23:38
To: [email protected]
Subject: How to combine JAX-RS and JAX-WS with ApacheCXF2.1+Spring

Hi; I've followed what is said in the ApacheCXF UserGuide; The Build with
maven2 is successful, but  everyTime I want to deploy it on Tomcat
it's returns :

ECHEC - L'application pour le chemin de contexte /cxf-rest-example-1.0
n'a pas pus etredémarrée


any Idea!!

thanks in advance
-- 
Tigre et dragon "guardians of paradise"

Reply via email to