[email protected]
>> To: [email protected]; [email protected]
>> Date: Thu, 11 Mar 2010 14:44:58 -0700
>> Subject: RE: Remote IP Address from a .NET WCF Client to My Web Service
>>
>> Looks like you're .NET WCF Client is using IPv6. 0:0:0:0:0:0
rom: [email protected]
> To: [email protected]; [email protected]
> Date: Thu, 11 Mar 2010 14:44:58 -0700
> Subject: RE: Remote IP Address from a .NET WCF Client to My Web Service
>
> Looks like you're .NET WCF Client is using IPv6. 0:0:0:0:0:0:0:1 is the
>
ors.com]
> Sent: Thursday, March 11, 2010 3:40 PM
> To: [email protected]
> Subject: Remote IP Address from a .NET WCF Client to My Web Service
>
>
> MessageContext msgCtx = MessageContext.getCurrentMessageContext();
> if (msgCtx != null)
> {
> System.out.p
bject: Remote IP Address from a .NET WCF Client to My Web Service
MessageContext msgCtx = MessageContext.getCurrentMessageContext();
if (msgCtx != null)
{
System.out.println(msgCtx.getProperty(MessageContext.REMOTE_ADDR));
}
Works great for a Java client: 127.0.0.1 But for a .NET WCF client I
message in context:
http://old.nabble.com/Remote-IP-Address-from-a-.NET-WCF-Client-to-My-Web-Service-tp27870259p27870259.html
Sent from the Axis - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: java-user