cancel
Showing results for 
Search instead for 
Did you mean: 

Agentry - Consume JSON Web Service

Former Member
0 Kudos

I am trying to consume a web service that only returns the data in JSON format.  Is there a way to consume a JSON web service in Agentry?

Accepted Solutions (0)

Answers (1)

Answers (1)

sudhiranjan_lenka
Contributor
0 Kudos

Hi Christopher,

From Agentry prospective It's exactly same as you make a SAP service(BAPI) call.

In Java you can write a simple class which will consume a JSON web service instead of SAP  BAPI

then you can iterate the JSON object to set your Object properties.

(From StepHandler don't call BAPI class, call your custom class which will consume your web service.)

Calling a JSON web service from Java is simple.

Thanks,

Sudhir.