![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
|
Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
br> br> |
| |||||||
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Guest
Posts: n/a
| Winfx ServiceContract I have a winfx self hosted service running over http. With asmx webservices requests I can read the http header values about where the request is coming from. ip address, mac address, etc. How do I get to this info with a winfx ServiceModel/Contract request? |
| | #2 (permalink) |
| Guest
Posts: n/a
| RE: Winfx ServiceContract I tried, but there is no real client header http info in there. System.ServiceModel.Channels.MessageHeaders mh = OperationContext.Current.RequestContext.RequestMessage.Headers; "aclark" wrote: > I have a winfx self hosted service running over http. > With asmx webservices requests I can read the http header values about where > the request is coming from. ip address, mac address, etc. How do I get to > this info with a winfx ServiceModel/Contract request? > > |
| | #3 (permalink) |
| Guest
Posts: n/a
| RE: Winfx ServiceContract I tried System.ServiceModel.Channels.MessageHeaders mh = OperationContext.Current.RequestContext.RequestMessage.Headers; but there is no real client info filled in at run time. "aclark" wrote: > I have a winfx self hosted service running over http. > With asmx webservices requests I can read the http header values about where > the request is coming from. ip address, mac address, etc. How do I get to > this info with a winfx ServiceModel/Contract request? > > |
| | #4 (permalink) |
| Guest
Posts: n/a
| RE: Winfx ServiceContract System.ServiceModel.Channels.MessageHeaders mh = OperationContext.Current.RequestContext.RequestMessage.Headers; System.ServiceModel.Channels.MessageHeaders imh = OperationContext.Current.IncomingMessageHeaders; System.ServiceModel.Channels.MessageHeaders omh = OperationContext.Current.OutgoingMessageHeaders; none of these have any real client caller information. "aclark" wrote: > I tried > System.ServiceModel.Channels.MessageHeaders mh = > OperationContext.Current.RequestContext.RequestMessage.Headers; > but there is no real client info filled in at run time. > > > "aclark" wrote: > > > I have a winfx self hosted service running over http. > > With asmx webservices requests I can read the http header values about where > > the request is coming from. ip address, mac address, etc. How do I get to > > this info with a winfx ServiceModel/Contract request? > > > > |
| |
| |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| WinFX SDK for WPF | Kumar Lomash | Vista General | 1 | 06-06-2006 08:22 AM |
| WinFX SDKs for WPF | Kumar Lomash | Vista General | 1 | 06-06-2006 08:20 AM |
| WinFX and WinCE | Rob Schieber | Avalon | 3 | 01-10-2006 03:53 PM |