http://nagoya.apache.org/wiki/apachewiki.cgi?AxisProjectPages/HttpRequest
What about putting ins hte http session? -----Original Message----- From: Konstantinos Margaritis [mailto:[EMAIL PROTECTED] Sent: Thursday, May 20, 2004 12:41 PM To: [EMAIL PROTECTED] Subject: Re: How do I pass data from Handler to the service? On Thursday 20 May 2004 21:00, Nelson Minar wrote: > I suggest having the Handler store the data in the Axis > MessageContext, then read it back out in the Service. I've done > this to good effect. The MessageContext is basically just a big > String -> Object hashtable; you can add new Strings easily. Can you give me an example? As I understand it, after the Handler processes the SOAP message, it passes it to the service itself. But my method does not get the whole message parameters, just the ones given in the body of the SOAP message. To be more specific, I deploy such a class: class Service { public String handleMessage(Parameters prm); } The prm object is an XML literal representation of name/value pairs of the parameters. This is a given object and I can't really change it. Then I register a Handler, have it process the headers and then I create another Parameters object with the header information, eg. hdr. The handleRequest() processes the whole message, but how does it pass the information to the handleMessage()? As it is now, I would like to do the following: public String handleMessage(Parameters prm) { // process both hdr object and prm. } I know, it's probably not the best design, but that's not really my choice. I believe it can be done but I don't know how. Konstantinos