The SpringBusFactory searches for all bean configuration files in the
META-INF/cxf directories on your classpath, and builds an application
context from them.

Store your cxf.xml under META-INF/cxf  in your JAR file


2013/4/23 Au Usf <[email protected]>

> I created a cxf ws client using plugins in Eclipse. I added cxf.xml for
> logging and request timeout. It all works fine in Eclipse. However, I need
> to export the client as a jar file, and it needs to be included as part of
> another project built in spring and ran on WebSphere 7. The WS calls are
> working fine, but cxf.xml is not used at all. I also extracted contents of
> the jar, and I ran the test call from command line. cxf.xml had no effect
> either. I'm guessing, I need to package my jar in a certain way, or maybe
> include some libraries. Currently, the jar I produce has only class files
> and no libraries.
>
> How do I created a jar with CXF WS client, so that cxf.xml config file is
> read and used?
>
> Thanks,
> Au
>

Reply via email to