Axis is basically a servlet, so you can get to the HTTP header information.   From 
inside your Axis SOAP service, you can get the MessageContext from Axis and then get 
the HttpServletRequest from that context.   From the HttpServletRequest you can ask 
for the User-Agent.

MessageContext msgctx = AxisEngine.getCurrentMessageContext();
  | 
  | HttpServletRequest req = (HttpServletRequest) 
msgctx.getProperty(HTTPConstants.MC_HTTP_SERVLETREQUEST);
  | 
  | String userAgent = req.getHeader("User-Agent");
  | 

Best regards,
Lance Nehring
www.newparticles.com

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840207#3840207

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840207


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to