Hi, cxf.xml configuration on the client as well on the service sides. It is the default location that CXF will look for on the class path (see http://cxf.apache.org/docs/configuration.html for details)
You can look into the wsdl_first sample in cxf distribution for using cxf.xml. Btw, what is the reason of using cxf-bundle as dependency? Basically it is backwards compatibility bundle including all CXF modules for OSGi environment. Currently CXF can be deployed in more smart and OSGi compatible way as a number of separated bundles. For JEE deployment I would recommend to use separate CXF dependencies like cxf-api, cxf-core, etc. Regards, Andrei. > -----Original Message----- > From: Dan Kaplan [mailto:[email protected]] > Sent: Freitag, 21. März 2014 22:35 > To: [email protected] > Subject: How do I figure out where CXF is being configured? > > I'm working on a ear with 3 wars and this dependency: > > <dependency> > <groupId>org.apache.cxf</groupId> > <artifactId>cxf-bundle</artifactId> > <version>2.7.3</version> > </dependency> > > I'm trying to configure the client but cxf doesn't seem to be using a cxf.xml > file > I've dropped into WEB-INF/classes My evidence is that it's invalid xml, and > no > exceptions get thrown when I use the client. So, how can I debug where it's > finding the cxf.xml file it's using? Thanks. > > BTW, is the cxf.xml file only used for the client, or is it used for web > service end > points too? > > -- > Thanks, > Dan > > -- > CONFIDENTIALITY NOTICE: The information contained in this electronic > transmission may be confidential. If you are not an intended recipient, be > aware that any disclosure, copying, distribution or use of the information > contained in this transmission is prohibited and may be unlawful. If you have > received this transmission in error, please notify us by email reply and then > erase it from your computer system.
