[Mono-dev] serialization problem
Lluis Sanchez
lluis at ximian.com
Wed Feb 1 07:27:56 EST 2006
You need to help us help you. You can do it by:
* Filing a bug report in bugzilla.ximian.com
* Attaching a test app we can use to reproduce the issue.
Thanks,
Lluis.
El mié, 01-02-2006 a las 10:32 +0100, Ivano Luberti escribió:
> Hi, I'm sorry to bore the list with a bunch of message but after using
> mono for 2 month with little problems now I think I have hit a serious
> (at least for me) bug.
>
> Before submitting it I want to ask to developers.
>
> Im consuming a web service. Calling one of its method using the .NET
> framework everything works well.
> When I compile it under mono as a dll and I run it under XSP I get the
> exception I report below.
>
>
> I looked at the XML sent to the web service and it is empty.
> Then I realized that the error happens before the XML is sent and this
> explian why it is empty (however it doesnt explain why the call to the
> seb service is performed)
>
> If you need some more detail please ask me precisely what you need
> because I cannot spread the code of the web service client since I
> have signed an NDA with the provider (I know it sounds a bit strange
> but that's it ). So if I have to provide code I have to mask it.
>
>
>
>
>
>
> Object reference not set to an instance of an object
> - in <0x0001d>
> System.Xml.Serialization.XmlSerializationWriterInterpreter:WriteMemberElement (System.Xml.Serialization.XmlTypeMapElementInfo elem, System.Object memberValue)
> in <0x00205>
> System.Xml.Serialization.XmlSerializationWriterInterpreter:WriteElementMembers (System.Xml.Serialization.ClassMap map, System.Object ob, Boolean isValueList)
> in <0x00041>
> System.Xml.Serialization.XmlSerializationWriterInterpreter:WriteObjectElementElements (System.Xml.Serialization.XmlTypeMapping typeMap, System.Object ob)
> in <0x000b0>
> System.Xml.Serialization.XmlSerializationWriterInterpreter:WriteObjectElement (System.Xml.Serialization.XmlTypeMapping typeMap, System.Object ob, System.String element, System.String namesp)
> in <0x0029b>
> System.Xml.Serialization.XmlSerializationWriterInterpreter:WriteObject
> (System.Xml.Serialization.XmlTypeMapping typeMap, System.Object ob,
> System.String element, System.String namesp, Boolean isNullable,
> Boolean needType, Boolean writeWrappingElem)
> in <0x00553>
> System.Xml.Serialization.XmlSerializationWriterInterpreter:WriteMemberElement (System.Xml.Serialization.XmlTypeMapElementInfo elem, System.Object memberValue)
> in <0x00205>
> System.Xml.Serialization.XmlSerializationWriterInterpreter:WriteElementMembers (System.Xml.Serialization.ClassMap map, System.Object ob, Boolean isValueList)
> in <0x00041>
> System.Xml.Serialization.XmlSerializationWriterInterpreter:WriteObjectElementElements (System.Xml.Serialization.XmlTypeMapping typeMap, System.Object ob)
> in <0x000b0>
> System.Xml.Serialization.XmlSerializationWriterInterpreter:WriteObjectElement (System.Xml.Serialization.XmlTypeMapping typeMap, System.Object ob, System.String element, System.String namesp)
> in <0x0029b>
> System.Xml.Serialization.XmlSerializationWriterInterpreter:WriteObject
> (System.Xml.Serialization.XmlTypeMapping typeMap, System.Object ob,
> System.String element, System.String namesp, Boolean isNullable,
> Boolean needType, Boolean writeWrappingElem)
> in <0x00553>
> System.Xml.Serialization.XmlSerializationWriterInterpreter:WriteMemberElement (System.Xml.Serialization.XmlTypeMapElementInfo elem, System.Object memberValue)
> in <0x00107>
> System.Xml.Serialization.XmlSerializationWriterInterpreter:WriteListContent (System.Object container, System.Xml.Serialization.TypeData listType, System.Xml.Serialization.ListMap map, System.Object ob, System.Text.StringBuilder targetString)
> in <0x003fc>
> System.Xml.Serialization.XmlSerializationWriterInterpreter:WriteMemberElement (System.Xml.Serialization.XmlTypeMapElementInfo elem, System.Object memberValue)
> in <0x00110>
> System.Xml.Serialization.XmlSerializationWriterInterpreter:WriteElementMembers (System.Xml.Serialization.ClassMap map, System.Object ob, Boolean isValueList)
> in <0x00041>
> System.Xml.Serialization.XmlSerializationWriterInterpreter:WriteObjectElementElements (System.Xml.Serialization.XmlTypeMapping typeMap, System.Object ob)
> in <0x000b0>
> System.Xml.Serialization.XmlSerializationWriterInterpreter:WriteObjectElement (System.Xml.Serialization.XmlTypeMapping typeMap, System.Object ob, System.String element, System.String namesp)
> in <0x0029b>
> System.Xml.Serialization.XmlSerializationWriterInterpreter:WriteObject
> (System.Xml.Serialization.XmlTypeMapping typeMap, System.Object ob,
> System.String element, System.String namesp, Boolean isNullable,
> Boolean needType, Boolean writeWrappingElem)
> in <0x00553>
> System.Xml.Serialization.XmlSerializationWriterInterpreter:WriteMemberElement (System.Xml.Serialization.XmlTypeMapElementInfo elem, System.Object memberValue)
> in <0x00205>
> System.Xml.Serialization.XmlSerializationWriterInterpreter:WriteElementMembers (System.Xml.Serialization.ClassMap map, System.Object ob, Boolean isValueList)
> in <0x0002b>
> System.Xml.Serialization.XmlSerializationWriterInterpreter:WriteMembers (System.Xml.Serialization.ClassMap map, System.Object ob, Boolean isValueList)
> in <0x00120>
> System.Xml.Serialization.XmlSerializationWriterInterpreter:WriteMessage (System.Xml.Serialization.XmlMembersMapping membersMap, System.Object[] parameters)
> in <0x001fd>
> System.Xml.Serialization.XmlSerializationWriterInterpreter:WriteRoot
> (System.Object ob)
> in <0x00061> System.Xml.Serialization.XmlSerializer:Serialize
> (System.Object o, System.Xml.Serialization.XmlSerializationWriter
> writer)
> in <0x000b9> System.Xml.Serialization.XmlSerializer:Serialize
> (System.Xml.XmlWriter writer, System.Object o,
> System.Xml.Serialization.XmlSerializerNamespaces namespaces)
> in <0x00012> System.Xml.Serialization.XmlSerializer:Serialize
> (System.Xml.XmlWriter xmlWriter, System.Object o)
> in <0x000e7>
> System.Web.Services.Protocols.WebServiceHelper:WriteSoapMessage
> (System.Xml.XmlTextWriter xtw, SoapBindingUse methodUse,
> System.Xml.Serialization.XmlSerializer bodySerializer,
> System.Xml.Serialization.XmlSerializer headerSerializer, System.Object
> bodyContent, System.Object[] headers)
> in <0x0007f>
> System.Web.Services.Protocols.WebServiceHelper:WriteSoapMessage
> (System.Xml.XmlTextWriter xtw,
> System.Web.Services.Protocols.SoapMethodStubInfo method,
> SoapHeaderDirection dir, System.Object bodyContent,
> System.Web.Services.Protocols.SoapHeaderCollection headers)
> in <0x00084>
> System.Web.Services.Protocols.SoapHttpClientProtocol:SendRequest
> (System.IO.Stream s, System.Web.Services.Protocols.SoapClientMessage
> message, System.Web.Services.Protocols.SoapExtension[] extensions)
> in <0x0013b>
> System.Web.Services.Protocols.SoapHttpClientProtocol:Invoke
> (System.String method_name, System.Object[] parameters)
> in <0x0005e> DocProviderWS.wssurveydata.SurveyData:GetData
> (System.String key, DocProviderWS.wssurveydata.TransferDefBase
> transferDef, DocProviderWS.wssurveydata.ResponseToken token)
> in (wrapper remoting-invoke-with-check)
> DocProviderWS.wssurveydata.SurveyData:GetData
> (string,DocProviderWS.wssurveydata.TransferDefBase,DocProviderWS.wssurveydata.ResponseToken)
> in <0x00295> DocProviderWS.ImplementazioneDocProviderWS:getVerbatims
> (DocProviderWS.Identificatorequestionario idquestionario,
> DocProviderWS.DomandaTestoLibero domanda, DocProviderWS.ParametriQuery
> parametri)
>
>
>
>
>
>
> ==================================================
> Archimede Informatica NEWS!
> ==================================================
>
> Realizzato il Sistema Integrato per la biglietteria della Torre di
> Pisa:
> prenotazione, vendita, pre-vendita ed emissione dei biglietti di
> ingresso
> alla Torre sia online che presso le biglietterie dislocate sulla
> piazza:
>
> http://www.opapisa.it/boxoffice
>
> Partner del Progetto Ci-Tel "Front office Telematico per il
> cittadino"
> Ente Coordinatore Comune di Pisa
>
> http://www.comune.pisa.it/doc/e-government.htm
>
>
> ==================================================
> dott. Ivano Mario Luberti
> Archimede Informatica societa' cooperativa a r. l.
> Sede Operativa
> Via Gereschi 36 - 56126- Pisa
> tel.: +39-050- 580959
> tel/fax: +39-050-9711344
> e-mail: archimede at archicoop.it
> web: http://www.archicoop.it
>
>
>
>
>
> No virus found in this outgoing message.
> Checked by AVG Anti-Virus.
> Version: 7.1.375 / Virus Database: 267.14.25/247 - Release Date: 31/01/2006
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
More information about the Mono-devel-list
mailing list