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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T19:19:47+00:00 2026-05-20T19:19:47+00:00

I’ve worked with Axis and Saaj for a few years, then I switched to

  • 0

I’ve worked with Axis and Saaj for a few years, then I switched to spring-ws, which I prefer because it’s more xml-oriented.
Then I switched all my projects to axiom due to a serious performance problem with saaj.
I’ve experienced some problems again later, especially related to namespace handling (AXIOM-114 and SWS-502), anyway I’ve been working with spring-ws and axiom for two years.

Since I’m not completely satisfied, I’m actually looking for any other libraries. Any suggestions?

I know google is my best friend, but this is a delicate matter, so I’d like to know your experience. Actually, what’s the best library to handle soap messages in Java?

I could write my own library based on my needs, but I think this is not too easy and I don’t like to reinvent the wheel. I just would like to rely on a library which correctly handles well formed xml, namespaces declaration, multiple levels of nested xml, and so on.

  • 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-20T19:19:48+00:00Added an answer on May 20, 2026 at 7:19 pm

    I’m actually looking for any other
    libraries. Any suggestions?

    Well, SAAJ is still SUN’s specification to handle SOAP (with attachments).
    The reference implementation uses DOM so if you exchange big messages you would see memory issues.
    Other frameworks that support soap-based web services besides axis and spring (that you have already worked with) is cxf.
    Axis uses axiom for the xml handling and has an implementation of SAAJ that I think it is not DOM-based. So better memory usage for large messages is expected.
    CXF uses by default the build-in java saaj implementation but can also support axis2-saaj
    CXF FAQ

    Last but not least is the JAX-WS (also relies on SAAJ).
    Both CXF and JAX-WS allow you to work directly on the xml level.
    This is pretty much the most popular frameworks for soap web services in java (If I forgot something I hope someone will come in and inform).

    what is the best library to handle
    soap messages in Java?

    Hard to tell since this is pretty broad question.
    Generally speaking the most popular frameworks are Axis2 and CXF (this is my personal understanding).
    IMHO all the libraries have the problem that they are too “sensitive” on input i.e. namespaces etc.
    On occassion that the developer needs a more relaxed parsing, this is not easy to get.

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

Sidebar

Related Questions

In my XML file chapters tag has more chapter tag.i need to display chapters
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I am trying to understand how to use SyndicationItem to display feed which is
I used javascript for loading a picture on my website depending on which small
I would like to run a str_replace or preg_replace which looks for certain words
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I have an autohotkey script which looks up a word in a bilingual dictionary
I have an array which has BIG numbers and small numbers in it. I
We are using XSLT to translate a RIXML file to XML. Our RIXML contains
I have a text area in my form which accepts all possible characters from

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.