Geting errors 500 and 502 with a SOAP service

  

I'm develloping an mobile application that consume data from a SOAP service. The flow of the data is:

1) User request data on mobile device;
2) Mobile request to OutSystems server;
3) OutSystems server request to SOAP;
4) SOAP service response to OutSystems server;
5) OutSystems server manipulate the data, persists in database to generate the id's;
6) OutSystems return the entities to the mobile device;
7) Mobile persists the data.

The problem is, sometimes when there is a lot of data from SOAP service a error occour. Sometimes it's the 500 error (Failed to find exception mapping for OSRequestTimeoutException), sometimes it's error 502 (Failed to parse JSON request content) and sometimes (with a little insistence) the application works.

Someone knows what can I do to solve any of these problems?


Again, this errors just occour with lots of data, when it's just some data from SOAP service the application works just fine.


Hi Henrique Perfoll Neto,

The problem is database connection time or outsystem preference  time. 

Have you tried it . once increase time connection. 

Hope this is helpful for you.

Rahul Sahu wrote:

Hi Henrique Perfoll Neto,

The problem is database connection time or outsystem preference  time. 

Have you tried it . once increase time connection. 

Hope this is helpful for you.

Rahul do you know what parameters specifically I have to change?