I am in the planning phase of a project that will use a 3rd party service that supports both REST and SOAP. The SOAP API is more mature and thus supports more operations.
I'd love to depend only on the REST API, but specific use cases have forced the use of the SOAP API. So really there are two options:
- Depend ONLY on the SOAP API to do my business logic
- Depend on the REST API AND fall back to the SOAP API when necessary
Some opinions on both would be great. And if it is a good idea to consume both in a single application, what are some common best practices and pitfalls?