thanks for that. I'm using JAXRPCHandler though as Axis BasicHandler
doesn't seem to be able to be used as a client-side handler. The
jaxrpc MessageContext is almost empty and has almost no functionality
compared with the Axis version.
I converted the jaxrpc handler to BasicHandler but the
HandlerRegistry won't load it - it's added at run time.
Alistair
On 21 Jun 2005, at 14:58, [EMAIL PROTECTED] wrote:
Should be able to do this in the Handler...
AxisHttpSession session = (AxisHttpSession)
MessageContext.getCurrentContext().getSession();
HttpSession httpsession = session.getRep();
String propertiesUrn =
httpsession.getServletContext().getRealPath("/WEB-INF/properties/
somefile.properties");
Hope this helps,
Mark Malinoski
Consultant
AES/PHEAA
Alistair Young
<[EMAIL PROTECTED]
.ac.uk>
To
axis-user@ws.apache.org
06/21/2005
09:50 cc
AM
Subject
BasicHandler and real path
Please respond to
[EMAIL PROTECTED]
he.org
Is there any way a BasicHandler or a jax-rpc Handler can find out the
real path of a file? where servlets have getRealPath, do handlers
have anything similar?
Otherwise there's no way for a handler to load it's config file
without specifying the full path in the wsdd as a <parameter>.
ta,
Alistair