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
BedrockMission!

Learn More

View all

Sign in to view all badges

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

Avatar

Avatar
Boost 1
Level 1
aditya524
Level 1

Likes

2 likes

Total Posts

3 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile

Avatar
Boost 1
Level 1
aditya524
Level 1

Likes

2 likes

Total Posts

3 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile
aditya524
Level 1

20-02-2019

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.

Replies

Avatar

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,408 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,408 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile
smacdonald2008
Level 10

20-02-2019

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...