.NET app can only access Web service with Fiddler on

0

I have a client application developed in .NET, I am not able to call a WS through the URL that was passed by my provider. I ran the test using SOAP UI and it worked perfectly, I received the answer without any problems, but my application only works when I am monitoring the connection using FIDDLER. I already checked the following point:

  • I configured Fiddler to not work as PROXY. My .NET service keeps running;
  • I have already researched that Fiddler makes a copy of the PROXY settings on my machine, but I can not understand why Fiddler works and without it it does not work anymore. Note: last year this app already existed and worked perfectly, we had to stop it for a year and now when trying to resume I'm having this problem.

    The error message I get is: The request failed with HTTP status 502: Proxy Error (Forefront TMG denied the specified Uniform Resource Locator (URL).)

    PS: I did not put the source of the call because I do not have it now, it stays with another team but I can manage to be of the utmost importance.

        
    asked by anonymous 16.12.2016 / 19:01

    1 answer

    1

    This problem was that the .NET application was run by a user who did not have sufficient privileges to complete the request to the web service. When I used FIDDLER it was with my user, who had the permissions. When you change the user who runs the application by a user with permissions, the problem has been resolved.

    A good practice that I will take is to run FIDDLER with the same user running the problematic application.

        
    21.12.2016 / 17:07