Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Axis 1.4 getting Did not Understand "MustUnderstand Header"

 
Ranch Hand
Posts: 1907
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: 1907
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
PasswordCallback class was missing in wsdd file. Hence this was the problem.
 
Bartender
Posts: 1810
28
jQuery Netbeans IDE Eclipse IDE Firefox Browser MySQL Database Chrome Linux
  • 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.
 
Don't get me started about those stupid light bulbs.
    Bookmark Topic Watch Topic
  • New Topic