I believe, but am not certain, that some Handler must remove any headers
marked "mustUnderstand=1". This may have to be done before the pivot
(that is before the implementation method is called in the server). I
am not aware of any way to mark a header element as processed (but such
a way might exist nonetheless).
Jeff
Javier Gonzalez wrote:
Hi,
I have a message service over axis 1.2.1, java 1.5, tomcat 5.5.
But it seems like it isn't calling my published class at all - thus my
code that marks mustUnderstand=1 HeaderElements as processed never
gets executed, and the message is rejected with "didn't understand
MustUnderstand headers".
The service is published like this:
<service name="MessageService" provider="java:MSG" style="message"
use="literal">
<parameter name="scope" value="request"/>
<parameter name="className"
value="my.package.mms.mm7receiver.MessageService"/>
<parameter name="allowedMethods" value="echoElements"/>
<... class' own parameters ...>
</service>
How do I tell Axis that I understand the mustUnderstand header so it
will let the message through?