Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Axis2 Rampart Client “Must Understand check failed”  RSS feed

Jonas Tman
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've been googling this error for days but I am out of ideas.

The code is generated by Axis2 for a SOAP webservice based on this WSDL:

With soapUI everything works well and I can also get some mock responses with my code from my local Tomcat server. When trying to connect to the web service with my Java client I always receive this error:

org.apache.axis2.AxisFault: Must Understand check failed for header : Security

That's my code (username and password are hidden):

That generates this request:

The exact same request works with soapUI.

I also receive a correct response by the server with my code that I can see in the logs:

But then the security module messes something up.

This is part of the debug log:

When I use

instead of

The exception above is gone and I get this error:

With this code the error is gone but the issue remains.

That are the most interesting parts from the debug log:


Here you can see the whole debug log:

If you have any advice how to solve that problem I would be very grateful.
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!