• 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: https://webservices.chargepoint.com/cp_api_4.1.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 http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd : 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: https://drive.google.com/file/d/0B_iw7qzMyYhOSDNEMW5oOHgzY0k/edit?usp=sharing

If you have any advice how to solve that problem I would be very grateful.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!