users@jax-rpc.java.net

Retrieve service name within an handler

From: a.vezain_at_hermes.asso.fr <arnaud.vezain_at_gmail.com>
Date: Wed, 24 Aug 2005 12:12:25 +0200

Hello,

I've wrote a set of services with jwsdp 1.5, which all use the same
handler (same class, but not same instance I thought).
This handler is execute each time the server receive a request
("handleRequest").

I must retrieve the name of the service to which each request is
intended to, but I don't know how to do this efficiently.
At this time, I'm able to retrieve it but I use a poor way : get the
HttpServletContext object an get its ContextPath, which match my
service name (it's my convention).

Any ideas ?

Best regards,
Arnaud.