Bugzilla – Bug 524960
Inqueryment of error happen in XFire connecting with Mono ServiceHost
Last modified: 2009-07-24 11:12:53 UTC
Description of Problem: Inqueryment of error happen in XFire connecting with Mono ServiceHost Steps to reproduce the problem: 1. new System.ServiceModel.ServiceHost(XXX) Config : <services> <service name="XXX" behaviorConfiguration="PluginServiceBehavior"> <host> <baseAddresses> <add baseAddress="http://192.168.1.27:8080/XXXX/" /> </baseAddresses> </host> <endpoint address="XXX" binding="basicHttpBinding" bindingConfiguration="basicHttpConfig" contract="XXXXX" /> </service> </services> 2. Client(XFire) Send POST /PATH/ HTTP/1.1 SOAPAction: "http://XXXXXXX/IXXXX/Login" Content-Type: text/xml; charset=UTF-8 User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; XFire Client +http://xfire.codehaus.org) Host: 192.168.0.110:8000 Expect: 100-continue Content-Length: 489 <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soap:Body><ns1:LoginJava xmlns:ns1="http://XXXXXXXXXXXXX/XXXX/"><ns1:strUserId>admin</ns1:strUserId><ns1:strDataSource>VALUE</ns1:strDataSource><ns1:User>admin</ns1:User><ns1:strTojikata>0</ns1:strTojikata><ns1:strOKorNG>0</ns1:strOKorNG></ns1:LoginJava></soap:Body></soap:Envelope> 3.Mono C# Application Down Actual Results: HTTP/1.1 100 Continue HTTP/1.1 415 Expected content-type 'text/xml; charset=utf-8' but got 'text/xml; charset=UTF-8' Server: Mono-HTTPAPI/1.0 Date: Fri, 24 Jul 2009 18:57:58 GMT Content-Length: 0 -------------------------------------------- when charset=utf-8 ,no errors happened when charset=UTF-8 , errors happened -------------------------------------------- Expected Results: Unhandled Exception: System.InvalidOperationException: The reply channel didn't return RequestContext at System.ServiceModel.Dispatcher.ChannelDispatcher+ListenerLoopManager.ProcessRequest () [0x00024] in /private/tmp/monobuild/build/BUILD/mono-2.4.2.2/mcs/class/System.ServiceModel/System.ServiceModel.Dispatcher/ChannelDispatcher.cs:411 at System.ServiceModel.Dispatcher.ChannelDispatcher+ListenerLoopManager.StartLoopCore () [0x00037] in /private/tmp/monobuild/build/BUILD/mono-2.4.2.2/mcs/class/System.ServiceModel/System.ServiceModel.Dispatcher/ChannelDispatcher.cs:383 at System.ServiceModel.Dispatcher.ChannelDispatcher+ListenerLoopManager.StartLoop () [0x00000] in /private/tmp/monobuild/build/BUILD/mono-2.4.2.2/mcs/class/System.ServiceModel/System.ServiceModel.Dispatcher/ChannelDispatcher.cs:361 How often does this happen? Additional Information: