Can obtain HTTP Response Header Info From RemotingClientProxy Obje

B

Bill D.

All:

Can I obtain the HTTP Response Header Info From RemotingClientProxy Object
which communicates with a web service object hosted in IIS? If so, how?

The RemotingClientProxy Object object is contained within the
System.Runtime.Remoting.Services Namespace.

Thanks,
Bill
 
S

Steven Cheng

Hi Bill,

From your description, it seems you are using .NET remoting client to
consume to XML webservice(over http channel). As for the
"RemotingClientProxy" class itself, I'm afraid there hasn't provided any
interface or properties that can help us accessing the underlying http
headers.

Based on my experience, .NET remoting channel sink provider extensino
mechanism provides us some interfaces to extend the underlying message(also
some protocol specific headers) processing and transfering. And you can
have a look at the sink provider to see whether you can get the http
headers you want:

#Remoting Example: Channel Sink Provider
http://msdn.microsoft.com/en-us/library/2ckwbt8a(VS.71).aspx

#Secure Your .NET Remoting Traffic by Writing an Asymmetric Encryption
Channel Sink
http://msdn.microsoft.com/en-us/magazine/cc300447.aspx#S1

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead


Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
(e-mail address removed).

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/en-us/subscriptions/aa948868.aspx#notifications.

Note: MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 2 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions. Issues of this
nature are best handled working with a dedicated Microsoft Support Engineer
by contacting Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/en-us/subscriptions/aa948874.aspx
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.




--------------------
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,981
Messages
2,570,188
Members
46,733
Latest member
LonaMonzon

Latest Threads

Top