Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there.
Changed by [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=77305 --- shadow/77305 2006-01-19 11:10:20.000000000 -0500 +++ shadow/77305.tmp.32281 2006-01-19 11:10:20.000000000 -0500 @@ -0,0 +1,82 @@ +Bug#: 77305 +Product: Mono: Class Libraries +Version: 1.1 +OS: +OS Details: +Status: NEW +Resolution: +Severity: +Priority: Wishlist +Component: CORLIB +AssignedTo: [EMAIL PROTECTED] +ReportedBy: [EMAIL PROTECTED] +QAContact: [EMAIL PROTECTED] +TargetMilestone: --- +URL: +Summary: The SoapReader fails to deserialize char[] that contains white space. + +Description of Problem: + +I am calling to the remote method, which returns char[], via Remoting +infrastructure. +I am using http protocol with Soap formatter. +If the returned char[] contains spaces, the client fails during soap +deserialization with following exception: + +Exception caught System.FormatException: string contains more than one +character +. +in <0x0008c> System.Char:Parse (System.String str) +in <0x0000a> System.Convert:ToChar (System.String value, IFormatProvider +provider) +in <0x0000d> System.String:System.IConvertible.ToChar (IFormatProvider +provider) +in <0x0022d> System.Convert:ToType (System.Object value, System.Type +conversionType, IFormatProvider provider) +in <0x0001d> System.Convert:ChangeType (System.Object value, System.Type +conversionType, IFormatProvider provider) +in <0x00172> +System.Runtime.Serialization.Formatters.Soap.SoapTypeMapper:ParseXs +dValue (System.String value, System.Type type) +in <0x0004e> +System.Runtime.Serialization.Formatters.Soap.SoapTypeMapper:ReadInt +ernalSoapValue (System.Runtime.Serialization.Formatters.Soap.SoapReader +reader,System.Type type) +in <0x00066> +System.Runtime.Serialization.Formatters.Soap.SoapReader:Deserialize +Object (System.Type type, Int64 id, Int64 parentId, +System.Reflection.MemberInfo parentMemberInfo, System.Int32[] indices) +in <0x00167> +System.Runtime.Serialization.Formatters.Soap.SoapReader:Deserialize +Component (System.Type componentType, System.Int64 componentId, +System.Int64 componentHref, Int64 parentId, System.Reflection.MemberInfo +parentMemberInfo, System.Int32[] indices) +in <0x003e1> +System.Runtime.Serialization.Formatters.Soap.SoapReader:Deserialize +Array (Int64 id) +in <0x000a9> +System.Runtime.Serialization.Formatters.Soap.SoapReader:Deserialize + () +in <0x00307> +System.Runtime.Serialization.Formatters.Soap.SoapReader:Deserialize + (System.IO.Stream inStream, ISoapMessage soapMessage) +in <0x000b4> +System.Runtime.Serialization.Formatters.Soap.SoapFormatter:Deserial +ize (System.IO.Stream serializationStream, +System.Runtime.Remoting.Messaging.HeaderHandler handler) +in <0x00012> +System.Runtime.Serialization.Formatters.Soap.SoapFormatter:Deserial +ize (System.IO.Stream serializationStream) +in <0x0004e> +System.Runtime.Remoting.Channels.SoapClientFormatterSink:Deserializ +eMessage (System.IO.Stream responseStream, ITransportHeaders +responseHeaders, IMethodCallMessage mcm, +System.Runtime.Remoting.Channels.SoapMessageFormatter soapMsgFormatter) +in <0x000f5> +System.Runtime.Remoting.Channels.SoapClientFormatterSink:SyncProces +sMessage (IMessage msg) +in <0x002e8> System.Runtime.Remoting.Proxies.RemotingProxy:Invoke +(IMessage request) +in <0x002e5> System.Runtime.Remoting.Proxies.RealProxy:PrivateInvoke +(System.Runtime.Remoting.Proxies.RealProxy rp, IMessage msg, +System.Exception exc, System.Object[] out_args) _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
