here's the deal I have an Interface based dll that has all of the function
stubs for my database function calls (mid tier). I have a Window service
that implements all of these interfaces. I want to just expose the
interfaces to the client and have the processes run on the server. I want
to use strictly TCP the client machine and the remote machine are both
behind the firewall. If I use HTTP I can generate a soapsuds proxy class
that will let me use the interface. The error I get now is

An unhandled exception of type 'System.Runtime.Remoting.RemotingException'
occurred in mscorlib.dll

Additional information: Cannot load type
ApolloCoreDataManagerNET.CParseDataAccessXmlDocument,
ApolloCoreDataManagerNET.

I guess if I think about it this is correct since I cannot generate the
proxy class of my window service that is hosting it beacuse I cannot
inherit MarshalByRefObject because I have to inherit
System.ServiceProcess.SerivceBase to run my window service. Anyone have a
clue how to do this correctly using TCP as the protocol? How do I generate
the proxy class since I cannot use soapsuds with TCP or can I? I cannot
seem to get soapsuds to work with TCP and Window Serivces. I cannot get
soapsuds to work with HTTP and window services. If I use a console app to
act as the server of the remote object and use HTTP and then use soapsuds
to generate the meta data needed it works fine.

HELP!!!

thanks,

JJ

You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced 
DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to