Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

can some one explain multiple ways of configuring and consuming restful web service.

aditya524
Level 1
Level 1

hi ,

can some one explain the multiple ways of configuring and consuming in a web service in AEM.

also pls suggest examples of get and post methods for a restful service.

1 Reply
smacdonald2008
Level 10
Level 10

AEM does not expose a web service like Adobe LiveCycle ES did. Therefore you are not configuring an OOTB web service in AEM.

If you want to consume a 3rd party web service - you need to code an AEM Service that can use HTTP Java API to invoke a service (eg - perform a GET to get back data), parse the results (usually in JSON format) and then display the results. See this article as an example:

Creating an Adobe Experience Manager 6.4 HTL Component that displays data from a Restful Web Service

Hope this helps...