• Post Reply Bookmark Topic Watch Topic
  • New Topic

Axis 1.4 getting Did not Understand "MustUnderstand Header"

 
Arjun Shastry
Ranch Hand
Posts: 1903
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
I am using Axis 1.4 client to consume Axis 1.4 web service. I am using UsernameToken authentication. I also set the SOAP header property like this:

Calculator calc = locator.getcalculator();

((Stub) calc)._setProperty(Call.CHECK_MUST_UNDERSTAND,Boolean.FALSE);

i still get the exception-
Did not understand "MustUnderstand" header(s):{http://docs.oasis-open.org/wss/20
04/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}Security

Any help appreciated.
 
Arjun Shastry
Ranch Hand
Posts: 1903
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
PasswordCallback class was missing in wsdd file. Hence this was the problem.
 
J. Kevin Robbins
Bartender
Posts: 1801
28
Chrome Eclipse IDE Firefox Browser jQuery Linux MySQL Database Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for returning with the solution. I've given you a cow for the effort.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!