Hi
On 24/05/12 09:47, yann777 wrote:
Hello,

When I follow the explainations on the page :
http://cxf.apache.org/docs/jaxrs-services-configuration.html
and I try to configure my web.xml with CXFNonSpringJaxrsServlet and multiple
jaxrs:providers, it does not work.
My web.xml has the following form:
http://cxf.547215.n5.nabble.com/file/n5708453/web.xml web.xml

If I include only one provider class in jaxrs:providers it works fine,
otherwise with multiple providers, they are not recognized.

I've modified the local test and can see multiple providers loaded
successfully, which version of CXF do you work with ?

Does anyone has an idea about the problem, and what is the dtd that we
should comply to (because it is not specified on the web page)?
Is this one the right one for that type of web.xml?

<!DOCTYPE web-app
     PUBLIC&quot;-//Sun Microsystems, Inc.//DTD Web Application
2.3//EN&quot;
     &quot;http://java.sun.com/dtd/web-app_2_3.dtd&quot;>
<web-app>

This should not affect the way the jaxrs.providers init parameter is processed, so I guess whatever DTD is supported by the container will do

Cheers, Sergey

Thanks for the answers,

Regards,

Yann

--
View this message in context: 
http://cxf.547215.n5.nabble.com/CXFNonSpringJaxrsServlet-Multiple-providers-tp5708453.html
Sent from the cxf-user mailing list archive at Nabble.com.


--
Sergey Beryozkin

Talend Community Coders
http://coders.talend.com/

Blog: http://sberyozkin.blogspot.com

Reply via email to