Discussions
Categories
- 17.9K All Categories
- 3.4K Industry Applications
- 3.3K Intelligent Advisor
- 62 Insurance
- 536.1K On-Premises Infrastructure
- 138.2K Analytics Software
- 38.6K Application Development Software
- 5.7K Cloud Platform
- 109.4K Database Software
- 17.5K Enterprise Manager
- 8.8K Hardware
- 71.1K Infrastructure Software
- 105.2K Integration
- 41.6K Security Software
OBIEE 10 web services issues

Hi,
I want to use webservices to download the data from Answers. In case of small reports all is working correctly, but if I want to download complex report I received an error: 'Error occured while processing the query' (sometimes it passed, but I need to have a sure that if I will schedule this SSIS package I will received data). Please see below my code in VB.NET
Sub Main()
Try
sessionid = sawservice.logon(Dts.Variables("login").Value.ToString(), Dts.Variables("password").Value.ToString())
repPath = Dts.Variables("*").Value.ToString
repref.reportPath = repPath
xmlQueryExecutionOption.async = True
xmlQueryExecutionOption.maxRowsPerPage = 500
xmlQueryExecutionOption.refresh = True
xmlQueryExecutionOption.presentationInfo = False
xmlviewservice.Timeout = 90000
QueryResult = xmlviewservice.executeXMLQuery(repref, saw.XMLQueryOutputFormat.SAWRowsetData, xmlQueryExecutionOption, reportparams, sessionid)
xmlviewservice.executeXMLQueryAsync(repref, saw.XMLQueryOutputFormat.SAWRowsetData, xmlQueryExecutionOption, reportparams, sessionid)
Catch e As Exception
MsgBox(e.Message & Chr(10) & "ExecuteQuery")
End Try
Try
Using writer As New StreamWriter("*")
Do While Not QueryResult.finished
QueryResult = xmlviewservice.fetchNext(QueryResult.queryID, sessionid)
writer.WriteLine(QueryResult.rowset.ToString())
Loop
End Using
Catch ex As Exception
MsgBox(ex.Message & Chr(10) & "Module Extracting")
End Try
sawservice.logoff(sessionid)
End Sub
The same situation is if I run 'executeSQLQuery' - my IT departament is not cooperating with me, I don't know configuration of OBIEE, I cannot change anything in configuration.
Kind regards,
Piotr