on 01-14-2016 11:31 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.