Hi everyone.
I have a web service written by me, that calls another web service.
Thing is... when i make a request, i get the error...
"System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.Sockets.Socket.InternalConnect(EndPoint remoteEP)
at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Int32 timeout, Exception& exception)".
The web service exists and is listening, because i can call it when running code in Visual Studio Compiler.
I believe this happens because the web service doesn't support anonymous access.
I need to pass along credentials with the web service.
Any ideas?
Thanks in advance.
I have a web service written by me, that calls another web service.
Thing is... when i make a request, i get the error...
"System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.Sockets.Socket.InternalConnect(EndPoint remoteEP)
at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Int32 timeout, Exception& exception)".
The web service exists and is listening, because i can call it when running code in Visual Studio Compiler.
I believe this happens because the web service doesn't support anonymous access.
I need to pass along credentials with the web service.
Any ideas?
Thanks in advance.