Hi,
I have a web service that can only be called using soap messages. I was
wondering how to retrieve the request information (server variable)
from a soap message. I am also using WSE 3.0, and the way I retrieve
the username token is throught
RequestSoapContext.Current.Credentials.UltimateReceiver.GetClientToken<UsernameToken>().Username
...
I would like to know how to retrieve the ip address and dns of the
incoming request. Searched the SoapContext object and could not find
the information I was looking for.
Any help would be greatly appreciated,
John Saunders - 11 Sep 2006 17:47 GMT
> Hi,
>
[quoted text clipped - 8 lines]
> incoming request. Searched the SoapContext object and could not find
> the information I was looking for.
Use the properties Context.Request object, just as you would for an ASP.NET
web site. This will contain the same information, just as inaccurate as
server variables.
John