cancel
Showing results for 
Search instead for 
Did you mean: 

REST Service only with NW DevStudio

0 Kudos

Hello

all blog and demos of consuming an REST Service are using the NW DevStudio. Is it not possible to use the new REST Adapter in PI if I only implement it direct at the Enterprise Service Builder?

I I tried to implement an scenario like PI REST Adapter - Consuming synchronous RESTful service, but I can't use a wsdl or something like this to create an External Definition or it's not possible to import the DataTypes from a JSON Response like https://maps.googleapis.com/maps/api/geocode/json?address=stuttgart. Maybe somebody knows the answer.

regards

Joerg

Accepted Solutions (1)

Accepted Solutions (1)

engswee
Active Contributor
0 Kudos

Hi Joerg

There is no issue developing it using the Swing UI (Enterprise Service Builder) instead of NWDS.

WSDL is only applicable to SOAP web service, and there is no standard way to import an external definition for REST services which uses JSON. Instead, you will have to manually define a Data Type in ESR that mirrors the JSON structure, refer to the first screenshot in the blog and create the same using ESR Swing.

Rgds

Eng Swee

Answers (0)