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 Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Axis Custom SOAP Header" Watch "Axis Custom SOAP Header" New topic
Author

Axis Custom SOAP Header

Tiago Fernandez
Ranch Hand

Joined: May 16, 2003
Posts: 167
Hello,

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

AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}MustUnderstand
faultSubcode:
faultString: Did not understand "MustUnderstand" header(s):{http://www.mycompany.net/mymsg/schema/msg-header-1_0.xsd}MessageHeader
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}stackTrace:
at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:96)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)

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

Regards.


Tiago Fernandez
http://www.tiago182.spyw.com/
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Axis Custom SOAP Header