nabeelmukhtar / mendeley-java-sdk

Automatically exported from code.google.com/p/mendeley-java-sdk
1 stars 0 forks source link

Outdated api links #1

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The constants for the api links are outdated.
They are no longer located at com.mendeley but rather at api.mendeley

core\src\main\resources\com\mendeley\oapi\services\constant\MendeleyAPIURLS

Original issue reported on code.google.com by jim.hoka...@gmail.com on 17 Jul 2011 at 10:46

GoogleCodeExporter commented 9 years ago
This defect is fixed in the build 1.0.22.

Original comment by nabeelmukhtar on 13 Sep 2011 at 12:26

GoogleCodeExporter commented 9 years ago
Why I couldn't run this program successfully? When I run the code of 
"PublicStatsApiSample.java", the error came out to interrupt the 
implementation.The error information showed as follows:
2011-11-24 12:44:42 org.apache.http.impl.client.DefaultRequestDirector 
handleResponse
警告: Authentication error: Unable to respond to any of these challenges: {}
Exception in thread "main" com.mendeley.oapi.services.MendeleyException: 
{"error":"Invalid consumer key"}

    at com.mendeley.oapi.services.impl.MendeleyApiGateway.callApiGet(MendeleyApiGateway.java:292)
    at com.mendeley.oapi.services.impl.MendeleyApiGateway.callApiGet(MendeleyApiGateway.java:220)
    at com.mendeley.oapi.services.impl.PublicStatsServiceImpl.getPublications(PublicStatsServiceImpl.java:126)
    at com.mendeley.oapi.services.example.PublicStatsApiSample.main(PublicStatsApiSample.java:46)

Original comment by sunjs9...@gmail.com on 24 Nov 2011 at 4:47