You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@xml.apache.org by sanjay sanjay <sa...@rediffmail.com> on 2002/01/12 09:36:47 UTC

Mandatory Processing of SOAPHeader - does spec has it, really?

Hi All:

I know that the SOAP spec allows the client to specify a MustUnderstand Attribute to the server as part of SOAPHeader. I have a requirement where it is the other way. Is it possible at all with Apache SOAP / with any other SOAP / spec?

I want to deploy SOAP server application that MUST make sure that there is a specific header being passed in. Else it should throw a FAULT. For example, assume that I want to implement something like the TRANSACTION_REQUIRED attribute of EJBs in SOAP. If my SOAP server app is called without a transactional context in the SOAP header it should throw the FAULT. 
I cannot check this in the service and must do it via an ACTOR. But I THINK an Actor will no longer be invoked if a matching HEader is not found. In that case how does one implement this?

-Sanjay