Calling method on remote obj with remote obj parm

Calling method on remote obj with remote obj parm

Post by Kris » Sun, 12 Aug 2001 01:19:52


I would like advice on the following situation (so far i have posted on a few newsgroups and got no reply to my queries, so i hope i am not asking the wrong questions):

Basically i have a class called Filter which is set up to be an activated type on the client and server configs

<activated type="Workflow.KwfRemoteServer.Filter, KwfRemoteObjectsServer" />

I have generated a dll using SoapSuds for my client.

I can create a Filter object fine with the code:
Filter oFilter = (Filter)Activator.CreateInstance("KwfRemoteObjectsServer", "Workflow.KwfRemoteServer.Filter").Unwrap();

I can also set properties in my object.

I have another remote object with a method called OpenDefinitionlist which takes in a IFilter object as a parameter (the interface the Filter implements).

When i try and pass the Filter object as a parameter i get this error : System.Runtime.Remoting.RemotingException : Cannot load type System.Runtime.Remoting.Services.RemotingClientProxy

I have gotten this error in every similar situation. Does anyone know what i am doing wrong? I think it doesnt seem to be linking to the Object on the server or something and is trying to load the proxy object.

Basically i am asking how do i send a remote object as a parameter in a method of another remote object.

I would be very grateful if anyone has any ideas as this is pretty important to me.


Sent via
C# Index to resources


1. Remote objects and COM obj

I am using my remote object to provide access to shared
devices. Each device is controlled by a COM object. I would
like to know if there is overhead associated with creating
a com object in the remote object and then accessing it
regularly. The com object's update method called below is
actually empty, and yet when clients call the remote object
update 8 times a second the server runs low in virtual
memory. This is a singleton server with an infinite
lifetime lease. I would really appreciate any ideas as to
what is wrong, thank you so much!

public void Update(string deviceName, string IPaddress)
     if(true == m_devices.Contains(deviceName))
        consoleOutput( IPaddress, "Updating " +
deviceName );
        ((EVCORELib.IEVDevice) m_devices

2. Proper way to run kermit in server mode under inetd?

3. Infamous *Obj..ref..not instance.obj* HELP HELP HELP....

4. djgpp

5. Help!Remote Obj links to Managed DLL,file not found!

6. LPS105 vs. Maxtor 120

7. mail: connecting attachment obj to message obj

8. Remote object method call to return another remote object

9. How to invoke one remote object method from another remote object.

10. Type Load Problem when calling .net obj from C++

11. Please explain why calling a remote singleton method that fires an event deadlocks

12. How to determine if the method is called from a remote client or locally?