[Mono-dev] XmlSerialization Issues

Paul McEwan paul.mcewan at atlium.com
Wed May 27 15:29:47 UTC 2015


Sure, however, I'm not super skilled with Linux.  I updated everything
yesterday with the Ubuntu software updater, but it kept the version at
3.2.8.  Do I need to manually install the latest version?  And does that
update MonoDevelop as well?

Also, what's mono master?

Thanks



On Wed, May 27, 2015 at 11:26 AM, Marek Safar <marek.safar at gmail.com> wrote:

> Hi,
>
> Can you try if it happens with the latest Mono 4.0 release as well (
>> http://www.mono-project.com/docs/getting-started/install/linux/)?
>>
>
> xml-serialization was really only fixed in mono master. You could test
> earlier versions but it's unlikely the code will work.
>
> Marek
>
>
>>
>>
>>
>> ------------------------------
>> From: paul.mcewan at atlium.com
>> Date: Wed, 27 May 2015 10:16:36 -0400
>> To: mono-devel-list at lists.ximian.com
>> Subject: [Mono-dev] XmlSerialization Issues
>>
>>
>> I'm using Mono version 3.2.8 on Ubuntu Linux 14.04.2 LTS, and I'm having
>> a strange problem sometimes when calling web services.  I have a C# 2.0 web
>> service, and sometimes when I call it, I get the error shown below.  I can
>> reproduce it every time, but I can't seem to find what combination of
>> parameters is really causing the issue.  Most of the arguments are just
>> simple strings and integers.  Can you please tell me how I can
>> debug/workaround this?
>>
>> "  at System.Xml.Serialization.XmlCustomFormatter.ToXmlString
>> (System.Xml.Serialization.TypeData type, System.Object value) [0x00000] in
>> <filename unknown>:0 \n  at
>> System.Xml.Serialization.XmlSerializationWriterInterpreter.GetStringValue
>> (System.Xml.Serialization.XmlTypeMapping typeMap,
>> System.Xml.Serialization.TypeData type, System.Object value) [0x00000] in
>> <filename unknown>:0 \n  at
>> System.Xml.Serialization.XmlSerializationWriterInterpreter.WritePrimitiveValueLiteral
>> (System.Object memberValue, System.String name, System.String ns,
>> System.Xml.Serialization.XmlTypeMapping mappedType,
>> System.Xml.Serialization.TypeData typeData, Boolean wrapped, Boolean
>> isNullable) [0x00000] in <filename unknown>:0 \n  at
>> System.Xml.Serialization.XmlSerializationWriterInterpreter.WriteMemberElement
>> (System.Xml.Serialization.XmlTypeMapElementInfo elem, System.Object
>> memberValue) [0x00000] in <filename unknown>:0 \n  at
>> System.Xml.Serialization.XmlSerializationWriterInterpreter.WriteElementMembers
>> (System.Xml.Serialization.ClassMap map, System.Object ob, Boolean
>> isValueList) [0x00000] in <filename unknown>:0 \n  at
>> System.Xml.Serialization.XmlSerializationWriterInterpreter.WriteMembers
>> (System.Xml.Serialization.ClassMap map, System.Object ob, Boolean
>> isValueList) [0x00000] in <filename unknown>:0 \n  at
>> System.Xml.Serialization.XmlSerializationWriterInterpreter.WriteMessage
>> (System.Xml.Serialization.XmlMembersMapping membersMap, System.Object[]
>> parameters) [0x00000] in <filename unknown>:0 \n  at
>> System.Xml.Serialization.XmlSerializationWriterInterpreter.WriteRoot
>> (System.Object ob) [0x00000] in <filename unknown>:0 \n  at
>> System.Xml.Serialization.XmlSerializer.Serialize (System.Object o,
>> System.Xml.Serialization.XmlSerializationWriter writer) [0x00000] in
>> <filename unknown>:0 \n  at
>> System.Xml.Serialization.XmlSerializer.Serialize (System.Xml.XmlWriter
>> xmlWriter, System.Object o,
>> System.Xml.Serialization.XmlSerializerNamespaces namespaces) [0x00000] in
>> <filename unknown>:0 "
>> >
>>
>>
>>
>> ------------------------------
>>
>> This message contains confidential information and is intended only for
>> the individual named. If you are not the named addressee you should not
>> disseminate, distribute or copy this e-mail. Please notify the sender
>> immediately by e-mail if you have received this e-mail by mistake and
>> delete this e-mail from your system. E-mail transmission cannot be
>> guaranteed to be secure or error-free as information could be intercepted,
>> corrupted, lost, destroyed, arrive late or incomplete, or contain viruses.
>> The sender therefore does not accept liability for any errors or omissions
>> in the contents of this message, which arise as a result of e-mail
>> transmission. If verification is required please request a hard-copy
>> version. Atlium Global Services, 3438 East Lake Rd, Ste 14, PMB #664, Palm
>> Harbor, FL  34685
>>
>>
>>
>> _______________________________________________ Mono-devel-list mailing
>> list Mono-devel-list at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>>
>> _______________________________________________
>> Mono-devel-list mailing list
>> Mono-devel-list at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>>
>>
>

-- 

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

This message contains confidential information and is intended only for the 
individual named. If you are not the named addressee you should not 
disseminate, distribute or copy this e-mail. Please notify the sender 
immediately by e-mail if you have received this e-mail by mistake and 
delete this e-mail from your system. E-mail transmission cannot be 
guaranteed to be secure or error-free as information could be intercepted, 
corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. 
The sender therefore does not accept liability for any errors or omissions 
in the contents of this message, which arise as a result of e-mail 
transmission. If verification is required please request a hard-copy 
version. Atlium Global Services, 3438 East Lake Rd, Ste 14, PMB #664, Palm 
Harbor, FL  34685

 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20150527/1a9a0b02/attachment.html>


More information about the Mono-devel-list mailing list