cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Randy Burgess <>
Subject Re: Difference between cxf.xml and cxf-servlet.xml?
Date Thu, 15 Nov 2007 13:52:54 GMT
I don't even use either file and my services work without any issues. I use
applicationContext*.xml files since I was using Spring before CXF and didn't
see the point in creating either.

Randy Burgess
Web Applications Developer
Nuvox Communications

> From: Jean-François Daune <>
> Reply-To: "" <>
> Date: Thu, 15 Nov 2007 08:23:02 +0100
> To: <>
> Conversation: Difference between cxf.xml and cxf-servlet.xml?
> Subject: RE: Difference between cxf.xml and cxf-servlet.xml?
> +1 to reduce, and make it clearer.
> CXF really rocks, but configuration is IMHO a weak point.
> J-F
> -----Message d'origine-----
> De : James Mao []
> Envoyé : jeudi 15 novembre 2007 7:56
> À :
> Objet : Re: Difference between cxf.xml and cxf-servlet.xml?
> Glen,
> I would say +1 to reduce the number of configuration files,
> James
>> Hello,
>> I'm getting confused over the server-side configuration files for CXF.
>> When deploying a web service in a WAR file, what is the difference
>> between the cxf.xml config file and the cxf-servlet.xml config file?  I
>> know the former needs to be on the classpath, and the latter is kept
>> directly under the WEB-INF folder--but what is the difference in those
>> two files' contents or purpose?
>> Or, is there really no cxf.xml for the service, that cxf.xml is only to
>> be packaged with the client?  I.e., can everything that is specified in
>> the cxf.xml actually be specifiable in the cxf-servlet instead,
>> eliminating the need for both files?
>> Thanks,
>> Glen

This email and any attachments ("Message") may contain legally privileged and/or confidential
information.  If you are not the addressee, or if this Message has been addressed to you in
error, you are not authorized to read, copy, or distribute it, and we ask that you please
delete it (including all copies) and notify the sender by return email.  Delivery of this
Message to any person other than the intended recipient(s) shall not be deemed a waiver of
confidentiality and/or a privilege.

View raw message