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 3597702
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T20:09:06+00:00 2026-05-18T20:09:06+00:00

I have the following environment: Tomcat 5.5.30 Java 6 JAX-WS RI 2.1 My main

  • 0

I have the following environment:

  • Tomcat 5.5.30
  • Java 6
  • JAX-WS RI 2.1

My main web application is made of several smaller Java Projects, like this:

  • MainApplication (web project): has no code on it, except for some configuration files.
    • ClientModule (java project): has client related webservices (add, change and remove clients)
    • BillingModule (java project): has billing related webservices (billing processing routines)
    • ParameterModule (java project): has application parameter related webservices (change application settings)
    • And few other modules

Right now webservices from all modules are add to “sun-jaxws.xml” in the MainApplication and registered automagically by JAX-WS servlet set on “web.xml”. But the idea of the application is to allow us to distribute the application without some of the modules if required using minimum changes to configuration files to avoid mistakes.

My idea was to create a META-INF Service, and on application initialization look up these services from each module, then ready my own “sun-jax.xml” in each java project and register the webservices manually.

Besides allowing us to distribute only the desired modules, it would make the development easier since I can only deploy the modules I’m working on when deploying MainApplication.

So, how do I register these webservices manually (or rather programmatically)?

Sérgio

  • 1 1 Answer
  • 0 Views
  • 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-18T20:09:07+00:00Added an answer on May 18, 2026 at 8:09 pm

    I was able to accomplish this by creating the “sun-jaxws.xml” dynamically in my class that implements javax.Servlet.ServletContextListener interface.

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

Sidebar

Related Questions

I have the following environment: Tomcat 5.5.30 Java 6 JAX-WS RI 2.1 My main
I have a web application that is working fine under the following environment GWT
I have the following environment set up: Java 1.5 Sun Application Server 8.2 Oracle
I have the following: An environment that is working like a hash for rows
I have following this blog in setting Xvfb in my ubuntu environment: http://corpocrat.com/2008/08/19/how-to-install-xvfb-x11-server-in-linux-server/ So
I have out of memory issues with following environment: Tomcat 5.1.23 Using XFire WebServices
I have a Java application hosted on a remote tomcat instance that executes a
I have following environment: masterpage with a contentPlacholder multiple pages which use this masterpage
I have the following Latex environment: \newcounter{txtctr}[section] \setcounter{txtctr}{0} \newenvironment{textex}{% This is the begin code
I have a web service application that I deployed successfully on Apache Tomcat using

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.