aspose file tools*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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
Similar Threads
Chapters 6,7 & 8 of RHM
java.text.ParseException in Web service
Did not get mustUnderstand - Error in SOAP Header
Axis 1.4 username/password auth with stubs
SOAP - the mustUnderstand Attribute