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

  • Home
  • SEARCH
  • 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 8985209
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T21:16:54+00:00 2026-06-15T21:16:54+00:00

I created Axis2 web service as a maven project ProjectB and packaged it as

  • 0

I created Axis2 web service as a maven project ProjectB and packaged it as jar.I added this ProjectB jar as dependency to the another maven project which is ProjectA in pom.xml.

jar file of my ProjectB added as dependency to ProjectA pom.xml.

<dependency>
    <groupId>axis2</groupId>
    <artifactId>Axis2WebService</artifactId>
    <version>0.1</version>
</dependency>

In web services jar which I added to another project doesn’t contain Webcontent folder. So, my concern would be

  1. How to invoke my webservice which is inside jar in the ProjectA?

  2. Do I need to add anything in my web.xml of ProjectA in order to find my webservice?

  3. How can I access my webservice in the browser(i.e. http://localserver:port/ProjectA/Myservice). Is this the right way to access my webservice?

  4. Do I need to again specify all axis2 dependent jars in projectApom.xml or Axis 2 servlets mappings in ProjectA web.xml?

I am struck on this for a day.Can someone please help me?

  • 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-06-15T21:16:55+00:00Added an answer on June 15, 2026 at 9:16 pm

    I’m assuming you’re calling your Web Service projectB, and your Web Service Client projectA. If that’s the case, then you have a little confusion there. You need to deploy your Web Service (projectB) in an application server (i.e as a war in a tomcat server or ear in jboss or weblogic, etc). Then, you need to generate your client stubs with “Maven2 WSDL2Code Plug-in” and use that client as dependency in your projectA. This proyectA will use the stubs in the generated dependency to access your Web Service. Sorry that I can’t format this answer, I’m begind a proxy that blocks all java script (I can’t even post comments)…

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

Sidebar

Related Questions

I have Axis2 created web service client. This service uses both SSL and WS-Security
Could someone help me on this, I have created simple web services using axis2
I have a WSO2 Axis2 Service project, that has a dependency on five other
I'm getting this error when testing my web service created by exlipse using Axis
I've created an axis client for a web service. I exported as a jar
I have followed this tutorial http://netbeans.org/kb/docs/websvc/gs-axis.html and successfully created the web service. When i
Installing Apache Tomcat, Apache Axis2, Create web project, Convert to service, Deploy it in
I have created an Axis2 web service from Netbeans and deployed it successfully in
guy's, pleeaseee help me!!! I created a web service which use UserNameToken Profile security
I have a WCF client connecting to a Java based Axis2 web service (outside

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.