Patrick Herber wrote:
Hi,
I think you could do something like:
MessageContext context = MessageContext.getCurrentContext();
HttpServletRequest request = (HttpServletRequest)
context.getProperty(HTTPConstants.MC_HTTP_SERVLETREQUEST);
String clientHost = request.getRemoteAddr();
request is null. Any ideas?
I tried:
Iterator i = context.getPropertyNames(); while (i.hasNext()) { String v = (String) i.next(); System.out.println (v + " = " + msg.getProperty(v)); }
and it returns:
home.dir = .
realpath = axis/services/EsempioService
jws.classDir = jwsClasses
attachments.directory = C:\Documents and Settings\manganelli\Local Settings\Temp
transport.url = http://andromeda:8080/axis/services/EsempioService
path = axis/services/EsempioService