Hi Glen,

You can find some examples in the servlet systest[1].

[1]https://svn.apache.org/repos/asf/incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/servlet

Willem.


-----Original Message-----
From: Glen Mazza [mailto:[EMAIL PROTECTED]
Sent: Fri 11/16/2007 10:32
To: cxf-user@incubator.apache.org
Subject: RE: Difference between cxf.xml and cxf-servlet.xml?
 
Do we have a sample anywhere of the syntax of this--specifying the
Spring app context in the XML, and what such a config file would look
like?

Thanks,
Glen

Am Donnerstag, den 15.11.2007, 11:12 -0500 schrieb Jiang, Ning (Willem):
> If you specify the Spring application context in your web.xml file.
> You do not need to touch any of cxf.xml and cxf-servlet.xml.
> 
> I admit that CXF provides lots of configuration here.
> 
> Willem.
> 
> -----Original Message-----
> From: Randy Burgess [mailto:[EMAIL PROTECTED]
> Sent: Thu 11/15/2007 21:52
> To: cxf-user@incubator.apache.org
> Subject: Re: Difference between cxf.xml and cxf-servlet.xml?
>  
> 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.
> 
> Regards,
> Randy Burgess
> Web Applications Developer
> Nuvox Communications
> 
> 
> 
> > From: Jean-François Daune <[EMAIL PROTECTED]>
> > Reply-To: "cxf-user@incubator.apache.org" <cxf-user@incubator.apache.org>
> > Date: Thu, 15 Nov 2007 08:23:02 +0100
> > To: <cxf-user@incubator.apache.org>
> > 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 [mailto:[EMAIL PROTECTED]
> > Envoyé : jeudi 15 novembre 2007 7:56
> > À : cxf-user@incubator.apache.org
> > 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.
> 

Reply via email to