Skip to Content
Former Member
Dec 05, 2008 at 10:14 AM

XI 3.1 Webservices API: Read time out during getDocumentInformation()



my client is moving vom BO 6.5 to BO XI 3.1. The client uses BO to create mass reports for indivual subscribers in a batch mode fashion. We are currently evaluating the Webservices API, dealing with Desktop Intelligence reports.

I have implemented a load test prototype using the Webservices API with the help of the examples found here.

Retrieving a single report works fine, but when I try to put some load on the server and request reports with several parallel threads, I get the "Read timeout error" when calling getDocumentInformation(repID, null, actions, null, boRetrieveData). The actions array just contains the FillPrompts instance.

2008-12-05 11:05:07,448 INFO (test-5 ) [HTTPSender ] Unable to sendViaPost to url[http://bojv01:8080/dswsbobje/services/ReportEngine] Read timed out

at Method)




at org.apache.commons.httpclient.HttpParser.readRawLine(

at org.apache.commons.httpclient.HttpParser.readLine(

at org.apache.commons.httpclient.HttpConnection.readLine(

at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.readLine(

at org.apache.commons.httpclient.HttpMethodBase.readStatusLine(

at org.apache.commons.httpclient.HttpMethodBase.readResponse(

at org.apache.commons.httpclient.HttpMethodBase.execute(

at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(

at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(

at org.apache.commons.httpclient.HttpClient.executeMethod(

at org.apache.commons.httpclient.HttpClient.executeMethod(

at org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(

at org.apache.axis2.transport.http.HTTPSender.sendViaPost(

at org.apache.axis2.transport.http.HTTPSender.send(

at org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(

at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(

at org.apache.axis2.engine.AxisEngine.send(

at org.apache.axis2.description.OutInAxisOperationClient.send(

at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(

at org.apache.axis2.client.OperationClient.execute(

at com.businessobjects.dsws.reportengine.ReportEngine.getDocumentInformation(Unknown Source)

BTW, the threads use different logins and in consequence different connections/sessions.

The timeout occurs after 30secs, so simple reports with no prompts are created without error. Increasing the timeout on the connection as suggested in other postings did not help.

I think the issue is related to Axis2. I don't know how to set the timeout on the Axis client via the BO API. Trying to recreate the client API from the WSDL did not work. Is there any example how to do this correctly? Having the source of the Axis client, one would have the chance to set the timeout on the client programmatically ...

Any help would be greatly appreciated,