There are some good answers already. This is what what my advice would be:
Hi Tjark,
Webservice is for API which uses SOAP protocol whereas REST is a protocol and hence we work with APIs which support REST protocol.
Tbh, modern technologies/platforms prefer to implement REST over soap because of simplicity and flexibility.
But SOAP API protocol integration will take place over old technologies like SAP.
Regards,
Naman Khard
I agree with Naman, extending the answer using ChatGPT:
The choice between SOAP (Simple Object Access Protocol) and REST (Representational State Transfer) in web development depends on various factors, and there isn't a one-size-fits-all answer. Here are some scenarios where you might prefer one over the other:
Choose SOAP when:
Formal Contracts and Strong Typing are Required:
Built-in Security:
ACID Compliance:
Asynchronous Processing:
Choose REST when:
Simplicity and Ease of Use:
Resource-Centric:
Statelessness:
Performance and Scalability:
Rule of Thumb:
Use REST:
Use SOAP:
Ultimately, the decision depends on your specific project requirements, the ecosystem you are working in, and the trade-offs you are willing to make in terms of complexity, standards, and flexibility.
So between Mendix Apps it's absolutely fine to use OData - REST is only the Backup if you want to interact with the "outside Mendix world". And SOAP is only for historical reasons in Mendix?