AEM6.1 integration with the booking engine | Community
Skip to main content
praveenk9004043
Level 4
November 22, 2016
Solved

AEM6.1 integration with the booking engine

  • November 22, 2016
  • 2 replies
  • 1870 views

 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

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 smacdonald2008

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. 

2 replies

smacdonald2008
smacdonald2008Accepted solution
Level 10
November 22, 2016

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. 

kautuk_sahni
Community Manager
Community Manager
November 23, 2016

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