• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

Axis 1.4 getting Did not Understand "MustUnderstand Header"

 
Ranch Hand
Posts: 1907
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for returning with the solution. I've given you a cow for the effort.
 
reply
    Bookmark Topic Watch Topic
  • New Topic