Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4578374
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T20:28:33+00:00 2026-05-21T20:28:33+00:00

It seems interesting, that nobody asked this before. I have some basic-questions about the

  • 0

It seems interesting, that nobody asked this before. I have some “basic”-questions about the configuration of CXF Clients.

We have a Tomcat running our application. This application needs to communicate with a WebService. The implementation of the client is done with CXF, and this implementation is packaged in a JAR-File. Lets say “ws-client.jar”. It is possible and desirable, that there are other implementations of clients for other webservices, also using CXF. And each WS-Client should be packaged in its own JAR-File. So at the end I’ll have our application WAR, containing all other ws-client*.jar I need.

bigApplication.war:
  WEB-INF/lib/ws-client.jar
  WEB-INF/lib/ws-client2.jar
  WEB-INF/lib/ws-client3.jar
  ...
  WEB-INF/classes/**/*.class

And now the question: Where can/may I put the cxf.xml? Can I put a configuration file in each ws-*.jar? Can a put in addition another in the war file? Or only one cxf.xml file must exist? Which path in the archive is the best?

By now I just copy a configuration file in tomcat/webapps/bigApplication/WEB-INF/classes/cxf.xml (probably also not the best place for it). The problem is, I need to do that every time I deploy the application. And I want actually only to configure ws-client.jar, and not all CXF-WS-Clients. So I want to configure things as specific as possible, and in the write place.

Any answer is welcome, also Links to the right information, which I didn’t find.

[UPDATE]
As it is a somehow long question, here the questions in the post together:

  • Can I put a cxf.xml file in a jar-archive?
  • Can more than one cxf.xml file exists per application? One in each relevant .jar file?
  • Where is the best path in a jar-file to put the cxf.xml?

[/UPDATE]

  • 1 1 Answer
  • 1 View
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T20:28:33+00:00Added an answer on May 21, 2026 at 8:28 pm

    Normally, each “part” of the application would have it’s own xml files (likely not called cxf.xml). Something like “cxf-client2.xml” or similar. There would then be a “main” cxf.xml for the war that would import the various other xml files.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I found this interesting site, that helps me understand derivatives, http://www.numberempire.com/derivatives.php , It seems
I am researching UDID alternatives, and OpenUDID seems interesting. I have done some testing
I have a rather interesting question that seems simple to answer, yet I have
I have an interesting situation that has me stumped. It seems that posting appliction/json
I have an interesting problem that seems to be eluding me. Mono's xsp4 only
I have some code that seems to execute improperly when it is serialized and
I'm learning asp.net mvc and found something interesting: It seems that I can't explicitly
I ran into an interesting behavior recently. It seems that if I override .equals()
So I ran into something interesting that I didn't realize about the ternary operator
Hi I have access to SQL Server at work and I've heard some interesting

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.