I created a simple webservice on my local system. I then created the proxy on the command line (Services.cs).
I wrote a Console App to use the webservices. Added a reference to System.Web.Services And did a right click Add --> Existing Item --> Services.cs
Anonymous Access is set on IIS.
The failure I get is:
Unhandled Exception: System.Net.WebException: Unable to connect to the remote server --> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it.
I tried setting (in the WebService) Dynamic Port to false. After I did this, it worked the first time, but since then has the same error as above.
OS: Windows XP Pro
Any thoughts would be appreciated.
Thanks, Jason
It might be worth while posting this in the Web services or WCF forums
.NET 2.0 ASMX Web Services: http://forums.microsoft.com/MSDN/ShowForum.aspx?ForumID=46&SiteID=1
WCF: http://forums.microsoft.com/MSDN/ShowForum.aspx?ForumID=118&SiteID=1
Thanks, i will do that.
J
No comments:
Post a Comment