hi,

Are there any good patterns on how to pass parameters from a client to
request handlers? Can I use for this purpose headers ? I thought about
putting some additional header with call specific parameters I would read in
my registered request handler but I'm not sure what impact will it
(additional headers) have on the actual WebService (will it recognize such
request as a valid XML document/request).

My original problem is that once I do a call to the WS I need to log SOAP
message (as a text) in some location (this location is per call specific so
I can't use one folder). I use request handler registered in my
client-config.wsdd file and it works fine but recognizing location. Probably
I could use for this purpose database with three columns: 1) OperationName,
2) ServiceName, 3) location or even static class with some hashmap. The
problems I see here are that in the first case my logger will slow down WS
calls significantly as it will have to go to database and in case of static
class.. they're always a problem while testing.

I'd appreciate any suggestion how could I improve this.


Environment
Axis 1.4

-- 
Greg Stasica

Reply via email to