on 2019 Feb 05 11:43 PM
What is difference between ycommercewebservices and ywebservices? Which one should use for a specific case?
Request clarification before answering.
The ywebservices extension is a template for the REST-based web-services. The aim behind the ywebservices extension is to have an extension which can be used to create Web Services based on the standard Spring MVC.
The ycommercewebservices extension exposes part of the Commerce Facades as REST-based web services. It depends on commercefacades extension and is part of the OCC module. The Commerce Web Services are essentially a relatively thin additional layer on top of the Commerce Facades, which perform certain object conversions.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you Arvind. So if i understood correctly, we should use ycommercewebservices template extension when we want to expose/use the logic of commerce facades to external clients we should use this template extension.
Whereas ywebservices should be used when we want to create any REST best web service using standard MVC framework.
I think both template extensions are based on MVC spring framework.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.