In addition to automatic REST interface in 1C:Enterprise platform, we have implemented the ability to create our own arbitrary HTTP-services.
You can generate a response to the request yourself using the script. In this case, you have convenient access to the body, headers and line of original request, as well as you can generate the code, body and headers of response on your own.
Compared with the existing platform SOAP web-services, HTTP-services have several advantages:
- Easy to program the client of such services;
- Potentially a smaller amount of transferred data;
- Potentially lower computational load;
- HTTP-services are focused on the «resources», while SOAP services are focused on the «actions».