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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T08:48:23+00:00 2026-05-18T08:48:23+00:00

I am using Axis2 for my webservices creation. I need to validate the received

  • 0

I am using Axis2 for my webservices creation. I need to validate the received soap request(is it complain with defined xsd schema).

For this I am using Handlers in axis2.

Now my problem is that how can i specify diffrent handlers which are psecific to diffrent webservice calls(in services.xml).

For example for create user i will user a enp as http://localhost:8080/axis2/services/createUser

and for updateUser i will invoke http://localhost:8080/axis2/services/updateUser.

For each invokatioon hadlers must be different.

Can any one give any suggestions on this regards.

Thanks,
Narendra

  • 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-18T08:48:23+00:00Added an answer on May 18, 2026 at 8:48 am

    The common way to do what you describe is to implement a module and then to engage this module(s) in your services.xml. You can see a detailed example here: http://axis.apache.org/axis2/java/core/docs/modules.html The pocess in short is:

    1. Create the Module Implementation
    2. Create the Handlers
    3. Create the module.xml
    4. Modify the “axis2.xml” (if you need custom phases)
    5. Modify the “services.xml” to engage modules at the deployment time.
    6. Package in a “.mar” (Module Archive)
    7. Deploy the module in Axis2

    Engaging the module in your services.xml is as simple as:

    < module ref=”logging” />

    Please note that a module might be engaged per operation. Also note this thread: http://www.mail-archive.com/axis-user@ws.apache.org/msg06058.html

    So the recommended way is to make a
    module with the necessary handlers and
    the capability to add handlers in
    services will be completely removed in
    the next release.

    I hope this clears things.

    Cheers!

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

Sidebar

Related Questions

Could someone help me on this, I have created simple web services using axis2
I am currently coding a Java WebService using axis2. However, one particular request needs
I am getting this exception while trying to call SOAP webservice using axis. basically
i wish to connecting webservices in java using apache,axis2 and eclipse. here i got
I am using axis2 for my webservices. Today when i tried to use my
I am using AXIS2 framework for my webservices creating. Now I am secured my
We are having a problem deploying our webservices, built in eclipse using java/axis2. On
I am using Axis2 for developing webservices . Please see my program below :
We have deployed a few webservices using axis2 at those were implemented on a
I'm using Axis2 and Eclipse to create my webservice. I have created my schema

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.