In Sage X3 , we may come across the error “read econnreset” while invoking subprogram based standard web service ‘AOWSIMPORT’ using third party.
Refer the below figure:

To invoke standard webservice ‘AOWSIMPORT’ and its input XML, please refer the link:https://www.greytrix.com/blogs/sagex3/2019/05/30/how-to-invoke-import-export-template-through-web services/
Cause:
This is due to the value of the clbfile I_FILE is set to 0. Refer the below figure:

Follow the steps given below to solve this error:
Navigate To: All > Development > Script Dictionary > Webservice
- Choose AOWSIMPORT from the left menu
- Go to the Mapping tab and locate I_FILE
- Increase the length value to 8.(example: 8 = (512*(2^8)-2) =131,070 characters)
Refer the below figure:

On this way we can solve the ” Read ECONNRESET” web service error while using AOWSIMPORT standard sub-programmed web service.
In this way we can solve the webservice error “read ECONNRESET” while using AOWSIMPORT standard subprogram based webservice by changing the length of I_FILE.