on 12-02-2015 1:13 AM
Hi,
We are getting below error while adding data provider using Restful webservices to report in eclipse, please help suggest
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at com.crunchify.client.AddDataProvider.main(AddDataProvider.java:41)
Please help suggest on above error , we restarted BO server also but we are getting same error
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Server returned HTTP response code: 503 for URL: http://server.com:6405/biprws/raylight/v1/documents/16455/dataproviders
In most general cases, if you receive something else than HTTP 200, you'd better check for the error stream.
Please do try something like:
InputStream responseStream;
try {
// Normal content.
responseStream = connection.getInputStream();
}
catch (final IOException e) {
// Error content.
responseStream = connection.getErrorStream();
}
Thanks,
eric
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.