Hi

-Dcxf.config.file=client.xml

where the value of -Dcxf.config.file is a location relative to 
${webapp}/WEB-INF/classes


Ah, thanks.  That's what I wasn't getting. I was trying to make 
-Dcxf.config.file point to a full path spec.  This may help.


This clarification DOES allow the -Dcxf.config.file to work.  Thanks very mu

Good it's working now...


Might I offer the suggestion that the documentation at

http://cwiki.apache.org/CXF20DOC/configuration.html

be amended from this:

CXF can discover XML configuration files which you have written. For both web service clients and servers, the default location that CXF will look for a configuration for is "/cxf.xml" on the class path. If you wish to override this location, you can specify a command line property: -Dcxf.config.file=some_other_config.xml.
to this, which would have been very helpful to me:

CXF can discover XML configuration files which you have written. For both web service clients and servers, the default location that CXF will look for a configuration for is "/cxf.xml" on the class path. If you wish to override this location, you can specify a command line property: -Dcxf.config.file=some_other_config.xml (where the value of -Dcxf.config.file is a location relative to ${webapp}/WEB-INF/classes).


Done - I just made a text a bit more explicit in that custom configuration files pointed to by -Dcxf.config.file have to be on a classpath, with the ${webapp}/WEB-INF/classes referenced as an example.

Cheers, Sergey





Reply via email to