Hi All,
I'm trying to solve an issue I've been facing for almost 2 weeks, trying to invoke a web service, using POST over HTTPS, which is getting the message "The underlying connection was closed". The strange thing is that the invoke works well when Fiddler is running on my PC.
I've read several post and forums entries, like the one wrote by Eric: http://blogs.telerik.com/fiddler/posts/13-02-28/help!-running-fiddler-fixes-my-app-. But none of the suggestions there worked for me. The server certificate seems to be trusted by my PC, so I think it's not related to that.
So is there any way I can see what Fiddler does to change the original request?
The C# code I'm using is as follows, when I'm trying to reach the following web service: https://serviciospublicos.bse.com.uy/SeguridadServiciosWS/WsSeguridadServicios/
ServicePointManager.Expect100Continue = true;
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls;
ServicePointManager.SetTcpKeepAlive(true, 10000, 10000);
ServicePointManager.DefaultConnectionLimit = 1000;
WsSecureSvc.WsSecureClient client = new WsSecureSvc.WsSecureClient();
WsSecureSvc.resultLog resp = client.log(someParam);
Please let me know if I'm doing something wrong there.
Any help would be really appreciatted as I'm totally stuck on getting this working.
Thanks!