Bug 52361 - OperationContext.Current.IncomingMessageProperties always null in Xamarin
Summary: OperationContext.Current.IncomingMessageProperties always null in Xamarin
Status: NEEDINFO
Alias: None
Product: Class Libraries
Classification: Mono
Component: WCF assemblies (show other bugs)
Version: 4.6.0 (C8)
Hardware: PC Windows
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2017-02-07 15:31 UTC by weases
Modified: 2017-02-13 21:54 UTC (History)
2 users (show)

See Also:
Tags:
Is this bug a regression?: ---
Last known good build:


Attachments

Description weases 2017-02-07 15:31:38 UTC
I am trying to read http headers from a wcf response in a Xamarin.Android application. While the same approach works well within a console application, it turns out that in the Xamarin application calling OperationContext.Current.IncomingMessageProperties always returns null. Any idea why?

On the other hand, sending http request headers via OperationContext.Current.OutgoingMessageProperties works in both console and Xamarin application!?
Comment 1 Rodrigo Kumpera 2017-02-13 21:54:09 UTC
Hi,

Could you provide testing code that shows the issues you're having. It would greatly help us diagnose your problem.

Note You need to log in before you can comment on or make changes to this bug.