axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From v2cg4ss <ssel...@datamentors.com>
Subject Remote IP Address from a .NET WCF Client to My Web Service
Date Thu, 11 Mar 2010 21:40:07 GMT

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 get
0:0:0:0:0:0:0:1

Anyone have any IDEAS????
-- 
View this 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-unsubscribe@axis.apache.org
For additional commands, e-mail: java-user-help@axis.apache.org


Mime
View raw message