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

The Archive Base Latest Questions

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

I am building a web service where the user will need to login and

  • 0

I am building a web service where the user will need to login and the application will need to maintain a persistent session. I am using Apache Axis2 for client/server communication via SOAP/XML. What would the simplest and most common way of doing this? I know I could implement session management from scratch similarly to how a browser does it, using cookies, but I’d rather use standard Java libraries for this. Am I correct in assuming that even though I’m using Axis2, the solution doesn’t really have anything to do with Axis2 since Axis2 is basically just a way for the client/server to send messages to each other?

I’ve read a lot of information online about this, but there’s so much information that it’s hard to know where to start. Basically I’m just looking for someone to point me in the right direction on what classes to use and so on. I just need a simple username password authentication and session management system for a web service.

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

    First, are you 100% sure you need sessions? SOAP is happier without them.
    Second, are you 100% sure you need Axis2?
    Third, I think the most straightforward way to do sessions in Axis2 is the transport approach. It’s been a couple of years since I did this, but this http://wso2.org/library/3264 article seems reasonable.

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

Sidebar

Related Questions

I am building a web service that will allow the user to login and
I'm building a web service client using vb .net. The web service is secured
I'm building a restful web-service based on Spring. I'm using Spring Security. It will
I am building a RESTful web service in java using JAX-RS and jersey and
Building a new ASP.net application, and planning to separate DB, 'service' tier and Web/UI
I am building a web/mobile social service application for Windows Phone. As a final
An application I'm building uses a local Service for downloading files from the web
We are building a web service with WCF on .net 4.0. The service will
I'm building a JAX-RS web service (Jersey) and now I'm trying to start using
I am building a web service that will make heavy use of cross-domain GET

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.