An error occurred while making the HTTP request 

An error occurred while making the HTTP request 

  
Hi,

While contacting the AT webservice I'm getting this error:

An error occurred while making the HTTP request to https://servicos.portaldasfinancas.gov.pt:700/fews/faturas. This could be due to the fact that the server certificate is not configured properly with HTTP.SYS in the HTTPS case. This could also be caused by a mismatch of the security binding between the client and the server.

If I execute the same code in my own ConsoleApplication or WindowsForms application, the execution is made with success. If I execute it using an Outsystems application consuming the extension, I get the error above.

Have you had this problem? I've already googled a lot about it but until now, nothing I've found actually helped.


Thanks.

Filipe