Welcome to JavaRanch.
That sounds like a case for message handlers. The MessageContext interface (used in both logical handlers and
SOAP handlers) provides access to the
servlet request and response.
By the way, is "Ago" really your last name? We have a
policy on screen names here at JavaRanch. Basically, it must consist of a first name, a space, and a last name, and not be obviously fictitious. if yours does not conform with it, then please take a moment to change it, which you can do
right here.