Apache syncope Rest API in Talend

Highlighted
Four Stars

Apache syncope Rest API in Talend

Hi
How to make a call to Syncope using REST API. I am trying to make a REST call using the url  But I am not able to get the response. 
Please help on this.
Regards
Vishnu
Employee

Re: Apache syncope Rest API in Talend

Hi,
You could use one of REST framework e.g. Apache CXF to make a call to Syncope using it's REST API.
For example with CXF WebClient:

WebClient client = WebClient.create("http://localhost:8080/syncope/cxf/", Collections.singletonList(new JacksonJsonProvider()));
String authorizationHeader = "Basic " + Base64Utility.encode((username + ":" + password).getBytes());
client.header("Authorization", authorizationHeader);
client = client.path("users").accept("application/json");
client.get(...);
Regards.
Employee

Re: Apache syncope Rest API in Talend

Another alternative is to use the Syncope client library:
http://syncope.apache.org/docs/reference-guide.html#client-library

What’s New for Talend Spring ’19

Watch the recorded webinar!

Watch Now

Definitive Guide to Data Quality

Create systems and workflow to manage clean data ingestion and data transformation.

Download

Tutorial

Introduction to Talend Open Studio for Data Integration.

Watch

Downloads and Trials

Test drive Talend's enterprise products.

Downloads