sorry,
i was in a hurry -- for the first question, it is the username/password for the
HTTP Basic Authentication header.
Thanks,
Lee
-----Original Message-----
From: Tony Opatha [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 10, 2003 1:58 PM
To: [EMAIL PROTECTED]
Subject: Re: Simple MessageContext problem...1) Is this the username/password for the HTTP Basic Authentication headeror for a SOAP security header?2) how can we extract the userid & password for SOAP security headerin AXIS handler?
"Chen, Li (Research, YOH)" <[EMAIL PROTECTED]> wrote:Hi All,
There seems to be a problem with using MessageContext object in Axis
1.1. I've deployed a service (a .java file, not JWS) with deploy.wsdd and
all, plus a handler that intercepts the incoming SOAP message before it
arrives the service...there was no problem accessing MessageContext (for
username and password) in the handler, but when I write the following line
in the service code:
String applicationName= (MessageContext.getCurrentContext()).getUsername();
I get the following error:soapenv:Server.userException java.lang.reflect.InvocationTargetException
(extracted from tcpmon).
I have been working on this for days with no avail...what could possibly be
a cause of this??
Thanks!!
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!