Let’s look at a brief summary of what we learned:
- OCC provides a suite of RESTful web service APIs that enable API clients to access essential Commerce functionalities.
- By default, OAuth2 is employed as the authentication and authorization protocol within OCC.
- WsDTO stands for Web Service Data Transfer Object, which is used for data representation and transport during web service communications on the platform.
- The OCC web service controller can be implemented by configuring API endpoints. This invokes back-end services or facades, maps models or DTOs to WsDTOs, and ensures secure data exchange.
- In SAP Commerce Cloud, WsDTO mapping refers to the process of converting models or DTOs into WsDTOs. This is usually done through declarative field mapping or custom data mapper classes.
- OCC extensions act as access points to enhance the functionalities of the commerce web services extension and are best created using the yocc extension template.