What method are you using to access the parameter?  Handler parameters are
accessed using the getOption() method from org.apache.axis.Handler


HTH,
Ian

Ian D. Stewart
Open Systems Engineer II
Enterprise Midrange - Bank One Infrastructure & Operations
[EMAIL PROTECTED]
(614) 213-6100




"Munawar Hussain" <[EMAIL PROTECTED]> on 07/14/2003 08:34:19 AM

Please respond to [EMAIL PROTECTED]

To:   <[EMAIL PROTECTED]>
cc:

Subject:  RE: getOption in handler returns Null !!



-----Original Message-----
From: [EMAIL PROTECTED]
Sent: Wednesday, July 09, 2003, 06:58:50
To: [EMAIL PROTECTED]
Cc:
Subject: getOption in handler returns Null !!
Hi,

I encountered a strange problem. I am not able to retrieve the parameter
from the delpoyed handler. In my handler code, it just returned me Null.
I have absolutely no idea what went wrong. Anyone has any clue ?

This is my deployed service,

<service name='AttachmentService' provider='java:RPC'>
  <requestFlow>
   <handler type='AuditTrailHandler'>
    <parameter name='DIRECTORY' value='D:\\work\\components\\messages'/>
   </handler>
  </requestFlow>
  ......
  .......
</service>

I am not able to retrieve parameter 'DIRECTORY' from in my
AuditTrailHandler code.


Thanks,
Beoh









This transmission may contain information that is privileged, confidential and/or 
exempt from disclosure under applicable law. If you are not the intended recipient, 
you are hereby notified that any disclosure, copying, distribution, or use of the 
information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. 
If you received this transmission in error, please immediately contact the sender and 
destroy the material in its entirety, whether in electronic or hard copy format. Thank 
you.

Reply via email to