Creating Adobe Experience Manager bundles that invoke third party Restful web services | Community
Skip to main content
praveenk9004043
New Participant
December 14, 2015
Solved

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

  • December 14, 2015
  • 7 replies
  • 1515 views

Hi,

I want to consume the restful web service from AEM as a POC. 

Below is the URL i am refering for the Restful service 

https://helpx.adobe.com/experience-manager/using/restful-services.html

When i run my build in Mavan it is successful and i am seeing the restfulservice-bundle-1.0-SNAPSHOT.jar.being deployed.

when i go to the felix console i am getting the error attached screen shot for your reference

In my error log file i am getting the following error

14.12.2015 14:26:59.015 *ERROR* [qtp1194019397-215] org.apache.felix.http.jetty %services.pluginTitle: Unable to access service reference list. (org.osgi.framework.InvalidSyntaxException: Missing opening parenthesis: DistanceImpl)
org.osgi.framework.InvalidSyntaxException: Missing opening parenthesis: DistanceImpl

 

can someone help me to resolve this issue?

Appreciate you help.

 

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

I have successfully got this working with AEM 6.1. I will update the article to include an AEM 6.1 package and make a few updates in the article. Here is the sample running in 6.1.

https://helpx.adobe.com/experience-manager/using/restful-services.html

7 replies

praveenk9004043
New Participant
December 16, 2015

Hi Smacdonald,

Than you for all the valuable support you provided for me.It would be great if you can help us in providing the steps which you have implemented as i see the documentation provide in the URL hold good for only 5.5 & 5.6.

I have downloaded the restful service code from Adobe site and imported the code in eclipse luna using archetype10 with all the necessary changes and when i did the build  using the mavan latest binaries are not being deployed in AEM to see my changes.

 

Regards

Pr@veen

smacdonald2008
smacdonald2008Accepted solution
New Participant
December 15, 2015

I have successfully got this working with AEM 6.1. I will update the article to include an AEM 6.1 package and make a few updates in the article. Here is the sample running in 6.1.

https://helpx.adobe.com/experience-manager/using/restful-services.html

smacdonald2008
New Participant
December 15, 2015

I will look into this on Tues (still mon night here). 

praveenk9004043
New Participant
December 15, 2015

Hi Smac,

Than you for your response

Need your help as i am doing a POC please provide me the steps once you deploy in AEM6.1

Regards

Pr@veen

smacdonald2008
New Participant
December 15, 2015

Our AEM community articles always state which AEM versions that the article code was tested on. This one was used on 5.5 and 5.6. One issue i see in 6.1 (according to the attachment) is your junit libs are wrong version. I will look at this and getting it running on AEM 6.1. 

New Participant
December 15, 2015

Can you post your code for DistanceImpl?

praveenk9004043
New Participant
December 14, 2015

btw, i am using AEM6.1 while the exercise is meant for 5.5&5.6

Thanks 

Pr@veen