Hi<br />
<br />
I have quite a few webservices i need use as my Datasources for the reports i have generate. I did the 1st one and it worked fine....no problems but ever since then i do not seem to be able to get Birt to use a webservice as its datasource. It seems as if the dataset never gets a result, or it gets an empty result.<br />
<br />
I can also never preview the PDF in RAD and when u deploy the report and try it thru Tomcat, i get the following error in the Tomcat console. I can however call that same service thru soapUI and i get a response back, with no problems.<br />
<br />
<strong class='bbc'>Tomcat Console Output when calling the Birt report</strong><br />
SEVERE: Cannot execute statement.<br />
org.eclipse.datatools.connectivity.oda.OdaException: Server returned HTTP response code: 500 for URL: <a class='bbc_url' href='
http://10.5.25.200'>http://10.5.25.200</a><br />
:9080/PaymentsAppService_WAR/BeneficiaryWebService<br />
at org.eclipse.datatools.enablement.oda.ws.util.RawMessageSender.getSOAPResponse(RawMessageSender.java:107)<br />
at org.eclipse.datatools.enablement.oda.ws.impl.Query.getInputStream(Query.java:184)<br />
at org.eclipse.datatools.enablement.oda.ws.impl.Query.initXMLQuery(Query.java:136)<br />
at org.eclipse.datatools.enablement.oda.ws.impl.Query.executeQuery(Query.java:128)<br />
at org.eclipse.datatools.connectivity.oda.consumer.helper.OdaQuery.doExecuteQuery(OdaQuery.java:464)<br />
at org.eclipse.datatools.connectivity.oda.consumer.helper.OdaQuery.executeQuery(OdaQuery.java:428)<br />
at org.eclipse.birt.data.engine.odaconsumer.PreparedStatement.execute(PreparedStatement.java:599)<br />
at org.eclipse.birt.data.engine.executor.DataSourceQuery.execute(DataSourceQuery.java:771)<br />
at org.eclipse.birt.data.engine.impl.PreparedOdaDSQuery$OdaDSQueryExecutor.executeOdiQuery(PreparedOdaDSQuery.ja<br />
va:399)<br />
at org.eclipse.birt.data.engine.impl.QueryExecutor.execute(QueryExecutor.java:1045)<br />
at org.eclipse.birt.data.engine.impl.ServiceForQueryResults.executeQuery(ServiceForQueryResults.java:232)<br />
at org.eclipse.birt.data.engine.impl.QueryResults.getResultIterator(QueryResults.java:158)<br />
at org.eclipse.birt.report.engine.data.dte.QueryResultSet.<init>(QueryResultSet.java:98)<br />
at org.eclipse.birt.report.engine.data.dte.DteDataEngine.doExecuteQuery(DteDataEngine.java:168)<br />
at org.eclipse.birt.report.engine.data.dte.AbstractDataEngine.execute(AbstractDataEngine.java:265)<br />
at org.eclipse.birt.report.engine.executor.ExecutionContext.executeQuery(ExecutionContext.java:1875)<br />
at org.eclipse.birt.report.engine.executor.QueryItemExecutor.executeQuery(QueryItemExecutor.java:80)<br />
at org.eclipse.birt.report.engine.executor.TableItemExecutor.execute(TableItemExecutor.java:62)<br />
at org.eclipse.birt.report.engine.internal.executor.dup.SuppressDuplicateItemExecutor.execute(SuppressDuplicateI<br />
temExecutor.java:43)<br />
at org.eclipse.birt.report.engine.internal.executor.wrap.WrappedReportItemExecutor.execute(WrappedReportItemExec<br />
utor.java:46)<br />
at org.eclipse.birt.report.engine.internal.executor.l18n.LocalizedReportItemExecutor.execute(LocalizedReportItem<br />
Executor.java:34)<br />
at org.eclipse.birt.report.engine.layout.html.HTMLBlockStackingLM.layoutNodes(HTMLBlockStackingLM.java:65)<br />
at org.eclipse.birt.report.engine.layout.html.HTMLPageLM.layout(HTMLPageLM.java:90)<br />
at org.eclipse.birt.report.engine.layout.html.HTMLReportLayoutEngine.layout(HTMLReportLayoutEngine.java:99)<br />
at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.doRun(RunAndRenderTask.java:170)<br />
at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run(RunAndRenderTask.java:75)<br />
at za.co.absa.online.reports.handler.BirtReportHandler.generateReport(BirtReportHandler.java:82)<br />
at za.co.absa.online.reports.ReportFilter.doFilter(ReportFilter.java:59)<br />
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)<br />
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)<br />
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)<br />
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)<br />
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)<br />
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)<br />
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)<br />
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)<br />
at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:859)<br />
at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:579)<br />
at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1555)<br />
at java.lang.Thread.run(Thread.java:619)<br />
<br />
<br />
<strong class='bbc'>PS: </strong><br />
I have also tried running in it debug mode in RAD but then i still get a blank PDF with no results returned and the following error in the RAD console.<br />
<br />
<strong class='bbc'>RAD Debug Console when running report in Debug mode</strong><br />
Nov 15, 2010 5:55:41 PM org.eclipse.birt.report.debug.internal.core.vm.ReportVMServer start<br />
INFO: [Server] client accepted<br />
Nov 15, 2010 5:55:41 PM org.eclipse.birt.report.debug.internal.core.vm.ReportVMServer$1 run<br />
INFO: [Server] enter request dispatching<br />
Nov 15, 2010 5:55:41 PM org.eclipse.birt.report.debug.internal.core.launcher.ReportLauncher configEngine<br />
INFO: User class path received:<br />
Retrieving document at '<a class='bbc_url' href='
http://10.5.25.200:9080/PaymentsAppService_WAR/BeneficiaryWebService/BeneficiaryWebService.wsdl'.'>http://10.5.25.200:9080/PaymentsAppService_WAR/BeneficiaryWebService/BeneficiaryWebService.wsdl'.</a><br />
Retrieving document at 'BeneficiaryServiceDelegate.wsdl', relative to '<a class='bbc_url' href='
http://10.5.25.200:9080/PaymentsAppService_WAR/BeneficiaryWebService/BeneficiaryWebService.wsdl'.'>http://10.5.25.200:9080/PaymentsAppService_WAR/BeneficiaryWebService/BeneficiaryWebService.wsdl'.</a><br />
Nov 15, 2010 5:55:45 PM org.eclipse.birt.data.engine.odaconsumer.PreparedStatement execute<br />
SEVERE: Cannot execute statement.<br />
Throwable occurred: org.eclipse.datatools.connectivity.oda.OdaException: Server returned HTTP response code: 500 for URL: <a class='bbc_url' href='
http://10.5.25.200:9...ciaryWebService'>http://10.5.25.200:9...ciaryWebService</a><br />
at org.eclipse.datatools.enablement.oda.ws.util.RawMessageSender.getSOAPResponse(RawMessageSender.java:107)<br />
at org.eclipse.datatools.enablement.oda.ws.impl.Query.getInputStream(Query.java:183)<br />
at org.eclipse.datatools.enablement.oda.ws.impl.Query.initXMLQuery(Query.java:135)<br />
at org.eclipse.datatools.enablement.oda.ws.impl.Query.executeQuery(Query.java:127)<br />
at org.eclipse.datatools.connectivity.oda.consumer.helper.OdaQuery.doExecuteQuery(OdaQuery.java:443)<br />
at org.eclipse.datatools.connectivity.oda.consumer.helper.OdaQuery.executeQuery(OdaQuery.java:408)<br />
at org.eclipse.birt.data.engine.odaconsumer.PreparedStatement.execute(PreparedStatement.java:546)<br />
at org.eclipse.birt.data.engine.executor.DataSourceQuery$OdaQueryExecutor.run(DataSourceQuery.java:929)<br />
at java.lang.Thread.run(Thread.java:736)<br />
Nov 15, 2010 5:55:51 PM org.eclipse.birt.report.debug.internal.core.vm.ReportVMServer$1 run<br />
WARNING: [Server] client disconnected<br />
<br />
<br />
I have taken the SOAP Request i use in my dataset and paste that directly in soapUI to call the service....and it works fine....i always get a response.<br />
I have put System.out's in the service to see what is being passed in from the birt soap request and also what i am returning to birt and i can see the correct vals are coming in and that i return data back to birt...it just seems as if birt never displays the results returned....as if it does not know how.<br />
<br />
I have googled the above errors now for a few days but with no luck. Please anybody that can shed some light on this issue please help.<br />
<br />
I am running the follwoing:<br />
- RAD 7.5.5.1<br />
- Birt v.2.3.2<br />
- 64Bit operating system if it matters (Win XP)<br />
<br />
Regards