This is a common request among SOAP::Lite users so I thought I would
answer this more extensively as an article on majordojo.
To learn how you can intercept the request and response objects and
create your own little handler chain using SOAP::Lite, check out the
> Hi all,
> I'm looking for a way to access the header information on server side
> before actualy executing the request.
> My header includes session information that I want to validate before
> continuing with the request.
> I have something like...
> $soap->request( HTTP::Request ref );
> ... validate session from Header ...
> return $soap->response();
> To be more precise I would like to read from the header before
> executing the request and I need to "enhance" the header after the
> called method returned before returning the result document. The
> basic idea is to include server side session authentification that is
> transparent to the module called.
> Thanks for any idea/help!