The underlying connection was closed: Unable to co
I am trying to build a test remoting project. i have created one class library project and build one clsRemote file which returns Hello message. In that i have included one web.config file having <wellknown mode="Singleton" type="clsRemote.Class1, clsRemote" objectUri="PortData.soap" /> where clsRemote is the namespace and class1 having a function Hello.
this class lib is in my local machine and when i try to connect to this class i gets a error that "The underlying connection was closed: Unable to connect to the remote server." pls suggest what may be the prob.
on client side config file i am using <client url="http://localhost:8080/clsRemote">
<wellknown type="clsRemote.Class1, clsRemote" url="http://localhost:8080/clsRemote/PortData.soap" />