Hani Atassi
March 26th, 2003, 02:33 PM
I have the WebService (Server) class hosted under IIS. The Webservice is a class derived from MarshalByRefObject. The file web.config is setup to let IIS load the server class when it's called.
I built the client application successfully, but it works only if I reference the WebService library (not web reference but regular DLL reference). I am using RemotingConfiguration.Configure("myfile.exe.config") to configure the client to connect to the webservice. As I believe also, the proxy is being built runtime and then used.
I don't understand why I need to reference the webservice assembly inside my client. Did I do anything worng?
Thanks,
I built the client application successfully, but it works only if I reference the WebService library (not web reference but regular DLL reference). I am using RemotingConfiguration.Configure("myfile.exe.config") to configure the client to connect to the webservice. As I believe also, the proxy is being built runtime and then used.
I don't understand why I need to reference the webservice assembly inside my client. Did I do anything worng?
Thanks,