cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

OCC call is hitting storefront instead of commercewebservices

0 Likes
617

OCC call is hitting storefront instead of commercewebservices. The call to get token is working perfectly fine but the call to get products or order is saying:

CMS Site not found

and hitting the filters of storefront instead of commercewebservices.

Token call- https://localhost:9002/authorizationserver/oauth/token

OCC call- https://localhost:9002/mycommercewebservices/v2/indsite/products/120398IDC

Accepted Solutions (0)

Answers (2)

Answers (2)

srini_y
Explorer
0 Likes

Please run ant server (if you hadn't done it before) as the tomcat's server.xml has to be updated with the context entry for your /mycommercewebservices.

0 Likes

Hello, Could you please confirm that webroot defined in extensioninfo.xml in your commercewebservices extension is correct? By default it is /rest so you need to use https://localhost:9002/rest/v2/indsite/products/120398IDC as an OCC call

0 Likes

I have updated it to mycommercewebservices.