[Mono-list] XML-RPC.NET on Mono - Exception: couldn't find type

Deepak Jois subscriptions@vyom.org
Sun, 14 Dec 2003 22:53:04 -0000


Hi All
I hope this is the right forum to ask this question. I am trying to
run a basic XML-RPC.NET server and client usng .NET
remoting on Mono (freshly compiled from CVS), which takes a username
and a password and returns a bool indicating if the login was
successful or not.

I have checked and double checked and I seem to have followed the
instructions in the FAQ exactly for implementing the client, as well
as the server (using .NET remoting)

The client seems to be running fine, but immediately when the client
sends a request to the server, an exception is thrown at the server.

------------------------------------------
System.Exception: couldn't find type
in <0x00103> CookComputing.XmlRpc.XmlRpcServerFormatterSink:GetTypeName 
(string)
in <0x0007e> 
CookComputing.XmlRpc.XmlRpcServerFormatterSink:DeserializeRequest 
(System.Runtime.Remoting.Channels.ITransportHeaders,System.IO.Stream)
in <0x0009e> CookComputing.XmlRpc.XmlRpcServerFormatterSink:ProcessMessage 
(System.Runtime.Remoting.Channels.IServerChannelSinkStack,System.Runtime.Remoting.Messaging.IMessage,System.Runtime.Remoting.Channels.ITransportHeaders,System.IO.Stream,System.Runtime.Remoting.Messaging.IMessage&,System.Runtime.Remoting.Channels.ITransportHeaders&,System.IO.Stream&)
in <0x00062> 
System.Runtime.Remoting.Channels.Http.HttpServerTransportSink:DispatchRequest 
(System.IO.Stream,System.Runtime.Remoting.Channels.ITransportHeaders,System.IO.Stream&,System.Runtime.Remoting.Channels.ITransportHeaders&)
in <0x00042> 
System.Runtime.Remoting.Channels.Http.HttpServerTransportSink:ServiceRequest 
(System.Runtime.Remoting.Channels.Http.RequestArguments,System.IO.Stream,System.Runtime.Remoting.Channels.ITransportHeaders)
------------------------------------------------

My server.exe.config file looks like this :

<configuration>
   <system.runtime.remoting>
     <application>
       <channels>
         <channel ref="http" port="5678">
           <serverProviders>
       <formatter type="CookComputing.XmlRpc.
XmlRpcServerFormatterSinkProvider, CookComputing.XmlRpc"/>
           </serverProviders>
         </channel>
       </channels>
     </application>
   </system.runtime.remoting>
</configuration>


I hope somebody can help me.

Thanks and Regards
Deepak