Integration of WSO2 Api Manager with AEM 6.5 | Community
Skip to main content
Level 2
May 21, 2020
Solved

Integration of WSO2 Api Manager with AEM 6.5

  • May 21, 2020
  • 2 replies
  • 7956 views

Hi Team,

 

Can we integrate WSO2 Api Manager with Adobe Experience Manager 6.5?

I have one requirement like, Whenever any rest api comes, firstly it will be deployed in wso2 api manager and then this layer will talk to AEM.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by BrianKasingli

@kirtikhatri1 

Hello, sure WSO2 API Manager can definitely be used with AEM. I'm assuming that AEM will be used as a headless solution.

Illustrated above is AEM being used as a headless solution; the client wishes to get information about a store in AEM:

  1. The client makes a GET-REQUEST to /api/store/ABEPOP.json
  2. WS02 API Manager will make a internal GET-REQUEST to the AEM publish environment: /content/my-site/api/store/ABEPOP.model.json, and returns JSON data.
  3. WS02 API Manager caches the JSON response and returns the response back to the client.
  4. The client then displays the store information to the user.

If you wish to learn how to create content API within AEM's content structure, utilising AEM's content services and WCM Core Components V2 will be your best bet. Check out this tutorial provided by Adobe themselves. https://docs.adobe.com/content/help/en/experience-manager-learn/getting-started-with-aem-headless/overview.html

Let me know how it goes,

Brian.

2 replies

raghavc
Level 4
May 22, 2020

AEM uses sling which is REST based framework, So any content in AEM can be accessed using a URL (REST API).

 

Please do share more info on what would be purpose of the API which you are planning to configure in WSO2 API Manager and what info it would fetch from AEM instance.

Level 2
May 28, 2020
HI Ragav,
BrianKasingli
Community Advisor and Adobe Champion
BrianKasingliCommunity Advisor and Adobe ChampionAccepted solution
Community Advisor and Adobe Champion
May 25, 2020

@kirtikhatri1 

Hello, sure WSO2 API Manager can definitely be used with AEM. I'm assuming that AEM will be used as a headless solution.

Illustrated above is AEM being used as a headless solution; the client wishes to get information about a store in AEM:

  1. The client makes a GET-REQUEST to /api/store/ABEPOP.json
  2. WS02 API Manager will make a internal GET-REQUEST to the AEM publish environment: /content/my-site/api/store/ABEPOP.model.json, and returns JSON data.
  3. WS02 API Manager caches the JSON response and returns the response back to the client.
  4. The client then displays the store information to the user.

If you wish to learn how to create content API within AEM's content structure, utilising AEM's content services and WCM Core Components V2 will be your best bet. Check out this tutorial provided by Adobe themselves. https://docs.adobe.com/content/help/en/experience-manager-learn/getting-started-with-aem-headless/overview.html

Let me know how it goes,

Brian.

Level 2
May 27, 2020
Hey Brian, Just an update, We are using AEM forms. Let me tell u exactly What I have done. I deployed one API (pizzashack api) into wso2 api manager, And when we try out by adding the subsciption, so there is one option to download it as a swagger. so same downloaded swagger, I am using in AEM as cloud services -> datasource and then selecting REST from the dropdown and tried uploading the swagger file which I downloaded from wso2. I am not able t upload it.