This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes Web Services and the fly likes Axis Custom SOAP Header Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Axis Custom SOAP Header" Watch "Axis Custom SOAP Header" New topic

Axis Custom SOAP Header

Tiago Fernandez
Ranch Hand

Joined: May 16, 2003
Posts: 167

I'm having issues adding a custom SOAP header to Axis when the flag "must understand" is set to 1 (true):

faultCode: {}MustUnderstand
faultString: Did not understand "MustUnderstand" header(s):{}MessageHeader
at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(
at org.apache.axis.client.AxisClient.invoke(
at org.apache.axis.client.Call.invokeEngine(
at org.apache.axis.client.Call.invoke(

As I said, everything works when "must understand" is 0 (false). What am I missing?


Tiago Fernandez
I agree. Here's the link:
subject: Axis Custom SOAP Header
It's not a secret anymore!