Sorry, Hotmail ran away with itself before I finished the previous mail. The 
previous mail should have read:

Yes, you can use the SOAPContext object to access the container's HTTP 
request object [javax.servlet.http.HttpServletRequest].
You can then call getRemoteHost() to get the remote hostname (or the IP 
address if the name cannot be determined).
See
http://xml.apache.org/soap/faq/faq_chawke.html#Q2_38
and 
http://java.sun.com/products/servlet/2.2/javadoc/javax/servlet/ServletRequest.html#getRemoteHost()
Hope that helps,
Jonathan.



>From: "Jonathan Chawke" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: Re: hostname of client machine?
>Date: Mon, 06 May 2002 09:36:10 +0100
>
>Yes, you can use the SOAPContext object to access the conHTTP request
>object. See
>http://xml.apache.org/soap/faq/faq_chawke.html#Q2_38
>Hope that helps,
>Jonathan.
>
>>From: Prashanth Narayanan <[EMAIL PROTECTED]>
>>Reply-To: [EMAIL PROTECTED]
>>To: [EMAIL PROTECTED]
>>Subject: hostname of client machine?
>>Date: Sun, 5 May 2002 20:12:12 -0700 (PDT)
>>
>>hi all,
>>   is there any way to find the hostname of the machine
>>that is making the request to a webservice? iam using
>>apache2.2 on iplanet 6.0sp4.
>>   thanks,
>>   prash.
>>
>>__________________________________________________
>>Do You Yahoo!?
>>Yahoo! Health - your guide to health and wellness
>>http://health.yahoo.com
>
>
>
>
>_________________________________________________________________
>Chat with friends online, try MSN Messenger: http://messenger.msn.com
>




_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com

Reply via email to