[Mono-bugs] [Bug 391783] New: Cannot call WCF methods of type void
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Sat May 17 13:23:10 EDT 2008
https://bugzilla.novell.com/show_bug.cgi?id=391783
Summary: Cannot call WCF methods of type void
Product: Mono: Class Libraries
Version: SVN
Platform: i686
OS/Version: Linux
Status: NEW
Severity: Normal
Priority: P5 - None
Component: WCF
AssignedTo: atsushi at ximian.com
ReportedBy: schmmd at cs.washington.edu
QAContact: mono-bugs at lists.ximian.com
Found By: ---
This example shows a problem that mono olive has when calling a remote method
that has a return value of type 'void'. Here is the exception that the sample
produces. The method does run, and it appears from the trace that the
exception occurs in the deserialization. No exception is produced under .NET
3.0.
Starting the server... [press enter to exit]
Starting the client... [press enter to exit]
Method run...
System.IndexOutOfRangeException: Array index is out of range.
at (wrapper stelemref) System.Object:stelemref (object,intptr,object)
at System.ServiceModel.Dispatcher.BaseMessagesFormatter.SerializeReply
(System.ServiceModel.Channels.MessageVersion version, System.Object[]
parameters, System.Object result) [0x00000]
at System.ServiceModel.Dispatcher.DispatchOperation.HandleInvokeResult
(System.ServiceModel.Channels.RequestContext rc,
System.ServiceModel.OperationContext octx, TimeSpan sendTimeout,
System.Object[] outputs, System.Object result, System.Object[]
ctx_initialization_results) [0x00000]
at System.ServiceModel.Dispatcher.DispatchOperation.DoProcessRequest
(System.ServiceModel.Channels.RequestContext rc,
System.ServiceModel.OperationContext octx, TimeSpan sendTimeout) [0x00000]
at System.ServiceModel.Dispatcher.DispatchOperation.ProcessRequest
(System.ServiceModel.Channels.RequestContext rc,
System.ServiceModel.OperationContext octx, TimeSpan sendTimeout) [0x00000]
Unhandled Exception: System.Runtime.Serialization.SerializationException:
Expecting element 'ExceptionDetail' from namespace
'http://schemas.datacontract.org/2004/07/System.ServiceModel'. Encountered
'Element' with name 'detail', namespace ''
at System.Runtime.Serialization.XmlFormatterDeserializer.Verify
(System.Runtime.Serialization.KnownTypeCollection knownTypes, System.Type type,
System.String name, System.String Namespace, System.Xml.XmlReader reader)
[0x00000]
at System.Runtime.Serialization.XmlFormatterDeserializer.Deserialize
(System.Xml.XmlReader reader, System.Type type,
System.Runtime.Serialization.KnownTypeCollection knownTypes,
IDataContractSurrogate surrogate, System.String name, System.String Namespace,
Boolean verifyObjectName) [0x00000]
at System.Runtime.Serialization.DataContractSerializer.ReadObject
(System.Xml.XmlDictionaryReader reader, Boolean verifyObjectName) [0x00000]
at System.Runtime.Serialization.XmlObjectSerializer.ReadObject
(System.Xml.XmlDictionaryReader reader) [0x00000]
at System.ServiceModel.Channels.MessageFault.CreateFault11
(System.ServiceModel.Channels.Message message, Int32 maxBufferSize) [0x00000]
at System.ServiceModel.Channels.MessageFault.CreateFault
(System.ServiceModel.Channels.Message message, Int32 maxBufferSize) [0x00000]
at System.ServiceModel.ClientRuntimeChannel.Request
(System.ServiceModel.Description.OperationDescription od, System.Object[]
parameters) [0x00000]
at System.ServiceModel.ClientRuntimeChannel.Process
(System.Reflection.MethodBase method, System.String operationName,
System.Object[] parameters) [0x00000]
at __clientproxy_Contract.method () [0x00000]
at ConfigurationSectionOverWCFTest.Program.Main (System.String[] args)
[0x00000]
** (WCFTest.exe:12850): WARNING **: QueueUserAPC: error looking up thread
handle 0x40d
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the mono-bugs
mailing list