[AT Invoice] An error occurred while making the HTTP request to ...

[AT Invoice] An error occurred while making the HTTP request to ...

  
Forge Component
(8)
Published on 2013-01-18 by Paulo Ramos
8 votes
Published on 2013-01-18 by Paulo Ramos
Hi,
 
I'm trying to use this component to communicate with AT but when invoking the webservice from an Outsystems App, I get this error:
 
An error occurred while making the HTTP request to (...) 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.
 
However, if I execute this same code from my own .NET ConsoleApplication or WindowsForm Application, the call is made without any problems.
 
I've already googled a lot about this issue, but didn't get any results so far. Have you had this problem? How did you solve it?
 
 
Thanks.
 
Filipe
Hi Filipe,

I'm not sure, but take a look at this post if you haven't yet.
Hi Paulo,

I've already taken a look at that topic. I can make a successful request if inoking the code from my own ConsoleApplication. If executing that same code from an Outsystems application, I get the error I said earlier. So, I'm sure the certificates and its data are ok, and that I'm sending all the fields in the correct manner.

Any additional help?

Thanks.
Filipe