Hi everyone
I have been receiving this error while trying to connect to RDAVIDWebService.
david <- DAVIDWebService$new(email="myemail@inst.org")
[INFO] Unable to sendViaPost to url[http://david.abcc.ncifcrf.gov/webservice/services/DAVIDWebService.DAVIDWebServiceHttpSoap12Endpoint/] org.apache.axis2.AxisFault: Transport error: 301 Error: Moved Permanently at org.apache.axis2.transport.http.HTTPSender.handleResponse(HTTPSender.java:310) at org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:200) at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:76) at org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:400) at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:225) at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:435) at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:402) at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229) at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165) at sample.session.client.stub.DAVIDWebServiceStub.authenticate(DAVIDWebServiceStub.java:2288)
Error in .jcall(stub, "S", "authenticate", email) :
org.apache.axis2.AxisFault: Transport error: 301 Error: Moved Permanently
I am getting same error while trying to use the Java Client from DAVID, so I think it's a DAVID error (probably they moved to a new URL which needs to be updated in the packages).
java -Djava.ext.dirs=lib sample.session.client.ChartReportClient
[INFO] Unable to sendViaPost to url[http://david.abcc.ncifcrf.gov/webservice/services/DAVIDWebService.DAVIDWebServiceHttpSoap12Endpoint/] org.apache.axis2.AxisFault: Transport error: 301 Error: Moved Permanently at org.apache.axis2.transport.http.HTTPSender.handleResponse(HTTPSender.java:310) at org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:200) at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:76) at org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:400) at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:225) at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:435) at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:402) at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229) at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165) at sample.session.client.stub.DAVIDWebServiceStub.authenticate(DAVIDWebServiceStub.java:2288) at sample.session.client.ChartReportClient.invokeService(ChartReportClient.java:21) at sample.session.client.ChartReportClient.main(ChartReportClient.java:100)
What would be a solution to that?
Thanks
Vivek
Also getting this error on a fresh install of the package, does anyone have a workaround (could not find a relevant setting to change to update this parameter)?
I don't know of one. The package maintainer needs to change the package to use the new (https) URL. However, I think there are also issues on the server side as the SSL certificate appears to be misconfigured, and the site appears to go down frequently (or at least DNS at my location cannot resolve its name). So both of those issues will have to be fixed before the package can work. I will ping the maintainer of the package so that at least he can get started on the first problem.
Apparently you can specify the url as an argument to new(), but this doesn't get very far (except in the length of Java error generated)
There does seem to be something wrong with the site's SSL configuration, e.g.,
Xiaoli Jiao from the DAVID team was mentioned in another part of this post so might be someone who can help us.
Hi! Any updates on this package?
-Liezel
Hi! Any updates on this package?
-Liezel