[Mono-bugs] [Bug 567672] Service callback method doesn't work

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Dec 30 10:52:50 EST 2009


http://bugzilla.novell.com/show_bug.cgi?id=567672

http://bugzilla.novell.com/show_bug.cgi?id=567672#c1


--- Comment #1 from Mika Aalto <mika.aalto at tut.fi> 2009-12-30 15:52:48 UTC ---
If I set IsOneWay=false in operation contracts, I'll get following exception:

Exception in async operation: System.Xml.XmlException: Expecting
SendMessageResponse tag from namespace http://tempuri.org/, got ShowMessage and
http://tempuri.org/ instead
  at System.Xml.XmlReader.ReadStartElement (System.String localName,
System.String namespaceName) [0x00000] in <filename unknown>:0 
  at
System.ServiceModel.Dispatcher.DataContractMessagesFormatter.MessageToParts
(System.ServiceModel.Description.MessageDescription md,
System.ServiceModel.Channels.Message message) [0x00000] in <filename unknown>:0 
  at System.ServiceModel.Dispatcher.BaseMessagesFormatter.DeserializeReply
(System.ServiceModel.Channels.Message message, System.Object[] parameters)
[0x00000] in <filename unknown>:0 
  at System.ServiceModel.ClientRuntimeChannel.Request
(System.ServiceModel.Description.OperationDescription od, System.Object[]
parameters) [0x00000] in <filename unknown>:0 
  at System.ServiceModel.ClientRuntimeChannel.DoProcess
(System.Reflection.MethodBase method, System.String operationName,
System.Object[] parameters) [0x00000] in <filename unknown>:0 
  at System.ServiceModel.ClientRuntimeChannel.Process
(System.Reflection.MethodBase method, System.String operationName,
System.Object[] parameters) [0x00000] in <filename unknown>:0 

Unhandled Exception: System.Xml.XmlException: Expecting SendMessageResponse tag
from namespace http://tempuri.org/, got ShowMessage and http://tempuri.org/
instead
  at System.Xml.XmlReader.ReadStartElement (System.String localName,
System.String namespaceName) [0x00000] in <filename unknown>:0 
  at
System.ServiceModel.Dispatcher.DataContractMessagesFormatter.MessageToParts
(System.ServiceModel.Description.MessageDescription md,
System.ServiceModel.Channels.Message message) [0x00000] in <filename unknown>:0 
  at System.ServiceModel.Dispatcher.BaseMessagesFormatter.DeserializeReply
(System.ServiceModel.Channels.Message message, System.Object[] parameters)
[0x00000] in <filename unknown>:0 
  at System.ServiceModel.ClientRuntimeChannel.Request
(System.ServiceModel.Description.OperationDescription od, System.Object[]
parameters) [0x00000] in <filename unknown>:0 
  at System.ServiceModel.ClientRuntimeChannel.DoProcess
(System.Reflection.MethodBase method, System.String operationName,
System.Object[] parameters) [0x00000] in <filename unknown>:0 
  at System.ServiceModel.ClientRuntimeChannel.Process
(System.Reflection.MethodBase method, System.String operationName,
System.Object[] parameters) [0x00000] in <filename unknown>:0

-- 
Configure bugmail: http://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