Microsoft Certified: Azure Developer Associate (AZ-204)Connect to and consume Azure services and third-party servicesMedium
A company is integrating a legacy on-premises application with a new Azure-based microservice. The legacy application only supports SOAP-based web services, while the microservice exposes a RESTful API. To facilitate this integration, they need a solution that can transform SOAP requests into RESTful calls and vice-versa, apply security policies, and monitor API usage. Which Azure service should be used?
- AAzure Functions with custom transformation logic
- BAzure App Service with a custom proxy
- CAzure Logic Apps with built-in connectors
- DAzure API Management
Show answer & explanationAnswer & explanation
Correct answer: D. Azure API Management
Azure API Management (APIM) is specifically designed for scenarios involving API transformation, security, and monitoring. It can act as a facade, converting SOAP requests to REST and vice-versa, applying authentication/authorization policies, caching, and providing analytics on API usage.
Why the other options are wrong
- A. While Azure Functions can perform transformations, they require significant custom code for all policies, monitoring, and robust API management features.
- B. Azure App Service hosts web applications and APIs, but a custom proxy would require significant development effort to replicate the features offered by APIM.
- C. Azure Logic Apps are workflow orchestrators and can integrate APIs, but they are not primarily designed for comprehensive API gateway functionalities like policy enforcement, transformation, and monitoring as a central API facade.
API Management Facade
Azure API Management can act as a facade for backend APIs, abstracting their implementation details, transforming protocols (e.g., SOAP to REST), and applying policies uniformly.
- Hides backend complexity.
- Enables protocol translation.
- Applies security, caching, and throttling.
Memory trick: APIM is the universal translator and security guard for all your APIs.