Expand my Community achievements bar.

SOLVED

AEM6.1 integration with the booking engine

Avatar

Level 4

 Hi Team,

Very Good Morning

I have come across with one of the requirement  one of the vendor is looking forward to use AEM6.1 replacing the current system in interwoven i wanted to know weather we can integrate AEM6.1 with any of the ticket booking engines like amadeus if any one in the group has come across with this integration can you please share the url for integration.

Regards

Pr@veen

1 Accepted Solution

Avatar

Correct answer by
Level 10

Like other integrations - you would need need to communicate with the other produce with Restful requests or Java API. You would have to have write a custom Servlet or Service on the AEM side and to communicate with AEM from the other product you would need to use Restful means. 

There is no out of the box feature for this. 

View solution in original post

2 Replies

Avatar

Correct answer by
Level 10

Like other integrations - you would need need to communicate with the other produce with Restful requests or Java API. You would have to have write a custom Servlet or Service on the AEM side and to communicate with AEM from the other product you would need to use Restful means. 

There is no out of the box feature for this. 

Avatar

Administrator

Hi  Jason Mack

There is no integration or connector component between these two products. You would have to create a custom AEM service and integrate using its Rest API - which it supports. Here is a community article on how to hook a Restful service into AEM.

Link: https://helpx.adobe.com/experience-manager/using/custom-sling-servlets.html

Creating Adobe Experience Manager bundles that invoke third party Restful web services

Create a OSGI service or Sling Servlets and write a code to send HTTP request GET/POST in it. 

Example Code :-

import org.apache.commons.httpclient.HttpClient;
import org.apache.commons.httpclient.methods.PostMethod;

String url = "http://www.google.com";
        InputStream in = null;

        try {
            HttpClient client = new HttpClient();
            PostMethod method = new PostMethod(url);

            //Add any parameter if u want to send it with Post req.
            method.addParameter("p", "apple");

            int statusCode = client.executeMethod(method);

            if (statusCode != -1) {
                in = method.getResponseBodyAsStream();
            }

 

I hope this would help you. 

 

Thanks and Regards

Kautuk Sahni



Kautuk Sahni