Skip to Content
author's profile photo Former Member
Former Member

REST Service only with NW DevStudio

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

test.JPG (57.3 kB)
Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on Jan 15, 2016 at 01:32 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.