For a deeper look into our DataScope Select SOAP API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials

question

Upvotes
Accepted
76 4 3 7

httpget request is not completing for thegiven url ?

trying to to check any schedule is created prior to submit my schedule with the same name.but request seems to be not completing at the below end point.

end point https://hosted.datascopeapi.reuters.com/RestApi/v1/Extractions/ScheduleGetByName(ScheduleName='schedule name')

String urlGet = urlHost + "/Extractions/ScheduleGetByName(ScheduleName='" + ScheduleName + "')"; HttpGet request = new HttpGet(urlGet); request.addHeader("Authorization", "Token "+sessionToken);

System.out.println("Retrieve Schedule with this name: "+ ScheduleName); --running till here

HttpResponse response = httpclient.execute(request); --at here it is getting stuck

dss-rest-apidatascope-selectdsstick-history-rest-api
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

1 Answer

Upvotes
Accepted
4.4k 10 6 9

Hi @samara,

Is this the same question as: https://community.developers.refinitiv.com/questions/22191/while-retrieving-schedule-id-with-schedule-name-re.html ?

You said it stuck on the third request right? IIRC, Apache allows concurrent connections to only two connections per client by default. So you should try to increase the MaxConnPerRoute and see if it work.

Then again, I believe you could use Schedules endpoint to retrieves all schedules instead.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

This happens only when two requests returns 404 then third one is getting stuck. i didn't understand this behavior. Anyways Thank you for you help!!

Click below to post an Idea Post Idea