Bug 14343 - Message serialization difference Action node
Summary: Message serialization difference Action node
Status: NEW
Alias: None
Product: Class Libraries
Classification: Mono
Component: System.Web.Services ()
Version: unspecified
Hardware: PC Linux
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2013-08-30 07:54 UTC by Mateusz Mor
Modified: 2013-08-30 07:54 UTC (History)
1 user (show)

Tags:
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 14343 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:
Status:
NEW

Description Mateusz Mor 2013-08-30 07:54:22 UTC
The bug I am about to describe is rather a small thing although it cause error in application runtime.
There is a small yet importatn diference between message generation on mono linux and C# windows environments. 
When message is generated it has an Action node in header. On windows it looks like this:
<a:Action s:mustUnderstand="1">urn:IService/LogInUserBlockedFaultFault</a:Action>
while on linux it looks like this:
<a:Action s:mustUnderstand="1">IService/LogInUserBlockedFaultFault</a:Action>
this little diference (missing "urn:") causes that deserialization works incorrect.
To be more occurate we create message on linux and deserialize it on windows. Problem occured when we passed FaultException<> with specific inner exception. Windows deserialization didint recognized that FaultException was of generic type and didin't deserialized the inner exception. 
In our application we needed that information for proper error handling.

a very ugly but solving the problem fix can be found here:
https://github.com/foka/mono/commit/5896e35439b82cf92265bd82dc6a54fbe4dec7b0