Bug 19871 - WCF FaultException<T> basicHttpBinding Addressing Version 'AddressingNone' does not support adding WS- Addressing headers.
Summary: WCF FaultException<T> basicHttpBinding Addressing Version 'AddressingNone' do...
Status: NEW
Alias: None
Product: Class Libraries
Classification: Mono
Component: WCF assemblies ()
Version: 3.4.0
Hardware: PC Linux
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
Depends on:
Reported: 2014-05-17 18:28 UTC by pub
Modified: 2014-05-17 18:28 UTC (History)
1 user (show)

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

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report for Bug 19871 on GitHub or Developer Community if you have new information to add and do not yet see a matching new report.

If the latest results still closely match this report, you can use the original description:

  • Export the original title and description: GitHub Markdown or Developer Community HTML
  • Copy the title and description into the new report. Adjust them to be up-to-date if needed.
  • Add your new information.

In special cases on GitHub you might also want the comments: GitHub Markdown with public comments

Related Links:

Description pub 2014-05-17 18:28:50 UTC
When Server runs on MONO and client runs on .NET the FaultException is not properly serialized and client throws exception:

EXC: System.InvalidOperationException: Addressing Version 'AddressingNone (http:
//schemas.microsoft.com/ws/2005/05/addressing/none)' does not support adding WS-
Addressing headers.

Reproduce by running sample project:


Run server part on Linux machine with MONO 3.4.0 and client on windows with .NET Framework
fiddler output:
<?xml version="1.0" encoding="utf-8"?><s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Header><Action s:mustUnderstand="1" xmlns="http://schemas.microsoft.com/ws/2005/05/addressing/none">http://tempuri.org/IMyService/TestExceptionArgumentExceptionFault</Action></s:Header><s:Body><s:Fault><faultcode>Sender</faultcode><faultstring xml:lang="en-US">Hello World</faultstring><detail><ArgumentException xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/System"><_data xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" /><_remoteStackTraceString i:nil="true" /><captured_traces xmlns:d6p1="http://schemas.datacontract.org/2004/07/System.Diagnostics" i:nil="true" /><class_name i:nil="true" /><help_link i:nil="true" /><hresult>-2147024809</hresult><inner_exception i:nil="true" /><message>Hello World</message><native_trace_ips i:nil="true" /><param_name i:nil="true" /><remote_stack_index>0</remote_stack_index><source i:nil="true" /><stack_trace i:nil="true" /><trace_ips i:nil="true" /></ArgumentException></detail></s:Fault></s:Body></s:Envelope>

When both client and server runs under .NET, everything is fine.
fiddler output:
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Body><s:Fault><faultcode>s:Client</faultcode><faultstring xml:lang="cs-CZ">Hello World</faultstring><detail><ArgumentException xmlns="http://schemas.datacontract.org/2004/07/System" xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:x="http://www.w3.org/2001/XMLSchema"><ClassName i:type="x:string" xmlns="">System.ArgumentException</ClassName><Message i:type="x:string" xmlns="">Hello World</Message><Data i:nil="true" xmlns=""/><InnerException i:nil="true" xmlns=""/><HelpURL i:nil="true" xmlns=""/><StackTraceString i:nil="true" xmlns=""/><RemoteStackTraceString i:nil="true" xmlns=""/><RemoteStackIndex i:type="x:int" xmlns="">0</RemoteStackIndex><ExceptionMethod i:nil="true" xmlns=""/><HResult i:type="x:int" xmlns="">-2147024809</HResult><Source i:nil="true" xmlns=""/><WatsonBuckets i:nil="true" xmlns=""/><ParamName i:nil="true" xmlns=""/></ArgumentException></detail></s:Fault></s:Body></s:Envelope>