p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   .NET Web Services (http://p2p.wrox.com/forumdisplay.php?f=102)
-   -   The underlying connection was closed: Unable to co (http://p2p.wrox.com/showthread.php?t=32296)

anurag_singh02 August 9th, 2005 12:48 AM

The underlying connection was closed: Unable to co
HI All

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" />


Dinesh Singh Bisht August 17th, 2005 11:15 PM

hey Anurag

Are you able to access this web service using the url you have specified
i mean

I am not very much sure about your problem
but this problem generally comes when you try to access something which you are not able to access to. like you are not able to access a web services on some IP.
you try to access the same using just URL in your explorer if you could do so then the problem is something else
but if you can't access from the browser even then the problem is of accessibility.

I hope this will help.


All times are GMT -4. The time now is 07:44 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.