You are not logged in.

Unanswered posts



Important! This site has been replaced. All content here is read-only. Please visit our brand-new community at https://community.talend.com/. We look forward to hearing from you there!



#1 2017-03-24 17:41:16

vishnukumartj
Member
1 post

vishnukumartj said:

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

Offline

#2 2017-03-27 06:30:10

xldai
Talend Team


xldai said:

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.

Offline

#3 2017-03-27 12:42:12

coheigea
Talend Team


coheigea said:

Re: Apache syncope Rest API in Talend

Another alternative is to use the Syncope client library:

http://syncope.apache.org/docs/referenc … nt-library

Offline

Board footer

Talend Contributor Agreement - Talend Website Privacy Policy