SSRS : How to call API from shared xml datasource with parameters in SSRS?

76719856 40 Reputation points
2023-06-01T11:12:05.1266667+00:00

I have a report that uses both a shared SQL DataSource and an XML DataSource. I've tested the shared SQL DataSource connection and it works. The XML DataSource is calling an API with the parameters that I send to the report.

The URL is constructed like this Parameters!API_Url.Value & "u_ID=" & Parameters!u_ID.Value & "&sourceType=" & Parameters!sourceType.Value & "&clientID=" & Parameters!clientID.Value & "&applicationID=" & Parameters!applicationID.Value

I have added a dataset with this shared XML data source but when I open the report the error showed.error

How can I solve this?

I want to use the shared XML data source in the dataset.

SQL Server Reporting Services
SQL Server Reporting Services
A SQL Server technology that supports the creation, management, and delivery of both traditional, paper-oriented reports and interactive, web-based reports.
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Anonymous
    2023-06-02T01:34:29.38+00:00
    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.