How to enable REST API in SQL Server Reporting Service 2017? - sql-server

I have been attempting to implement a solution to integrate SSRS reports into a react application, and have managed to use the report execution service 2005 to fetch a report in PDF format and return the file to the client app. The current implementation is all hard coded, and I need a way to allow users to select a report from a dynamically populated list. I thought the REST API documented here: https://app.swaggerhub.com/apis/microsoft-rs/SSRS/2.0 would be a good option to help achieve this, however the report server doesn't seem to have the REST API available at http://supercooldomain.com/reportserver/api/v2.0. Does anyone know how I can enable the rest API or point me to some resources? We are using SQL Server 2017.

The REST API should be enabled by default. To access it simply call it's URL:
http://<reportservername>/Reports/api/v2.0/CatalogItems(Path='/testfolder')

Related

How to call SOAP web service from InTouch Wonderware or SQL Server 2014

I've been trying for a while to call an existing SOAP web service from InTouch Wonderware or MS SQL 2014. It doesn't matter which of the two calls it, as the Wonderware project reads/writes to the SQL Server database anyway.
My knowledge is mostly limited to Wonderware and its in-program options to access the SQL Server database, which doesn't work well with the usual guides on the web service topic.
The web service is provided by the customer, over a decade old and outsourced, which rules out any changes to it. The goal is to request raw material data from the web service by ID, and later returning the produced material data. The parameters of each function is documented, but the only existing URL requires username/password and directly shows the content of the WSDL file. That file (when saved locally) works on SoapUI, and test cases deliver the required results.
My problem is the first step - connecting to the web service and sending/receiving the messages. WebSVC (the InTouch web service client) cannot handle the basic authentification, even failing to connect when including username and password in the link (which works in any browser). Guides on that topic are often outdated, or don't match the problem at hand.
As my knowledge of databases and web programming is limited, how can I use the web service (in a preferably uncomplicated way)? Performance doesn't matter - the database handles less than 10 requests per minute on average, and delays don't disrupt anything essential.
To quote Jeroen Mostert's comment: "if you're on Windows, PowerShell's New-WebServiceProxy allows you to wire up SOAP services quite easily, and inserting things into SQL Server from it is equally simple (Invoke-Sqlcmd)."
This approach works. To sum up the steps until I got an answer from the web service:
Upgrade to PowerShell 5.1 (Win7 VM didn't have it)
Set up WebServiceProxy by microsoft guide
Add credentials, attributes and test method by external guide, solving the authentication issue and getting the required input format

reports using ssrs from JIRA

I am looking for way to build reports using SSRS from JIRA if that is not possible I am okay moving the data from Jira to a SQL DB utilizing SSIS. I am new to Jira and REST API. Connecting directly to the Jira back end Database is not an option
The jira api currently only supports JSON. so your best bet is to either build a custom reporting services extension to handle JSON as a data source or create a webservice that passes through the json calls and converts the results to xml which SSRS will be able to handle.
while both of these sound difficult depending on your requirements may only take a few lines of C# code:
there also seem to be a few 3rd party options but I haven't tried them

Backend for iOS app

My question is how do i get information from a server to my iphone app. let's assume I have completed my current project I'm working on that only needs data to be uploaded to my application.
I understand there is a database or server I must create but how do I go about creating or modifying one for my needs.
I mainly want to store login information from one user and allow users to search for people who have entered login information (name) to add to a friends lists within the current app.
i think in your case you can use Django-tastypie for backend will be good choice.since using django you can develop it in quick time and the tastypie has api services which can used easily for retrieval and sending data
you can go through this
http://django-tastypie.readthedocs.org/en/latest/
Take a look at services like Stackmob or Parse. These types of service could make it really easy for you to get the server side part of your application up and running. These services would act as your database and also provide an easy api for you to access the server side pieces.

What is the difference between ReportService2005.asmx and ReportExecution2005.asmx Web Service Endpoints in SSRS?

Does anyone know what the difference is between the two web service endpoints ReportService2005.asmx and ReportExecution2005.asmx in SQL Server Reporting Services? is there an article that I can go through? Thanks.
The ReportExecution2005 endpoint allows developers to programmatically process and render reports in a report server. The WSDL for this endpoint is accessed through ReportExecution2005.asmx?wsdl.
The ReportService2005 Web service (reportservice2005.asmx) allows developers to programmatically manage objects in a report server.
As Mitch says, ReportExecution2005 is for executing reports, handling drilldown, rendering, etc. and ReportService2005 is used for creating things (data sources, subscriptions, even reports), as well as updating, deleting, querying, etc.
Two handy references are the MSDN method listings for ReportExecutionService (ReportExecution2005 web service endpoint) and ReportingService2005 (ReportService2005 web service endpoint).
Don't confuse these with the ReportService2006 endpoint, which is used if you have SSRS configured for Sharepoint integrated mode.
Hope that helps!
ReportService2005
Enables you to manage a report server and its contents including server settings, security, reports, subscriptions, and data sources.
Can be accessed by: http://servername:port/ReportServer/ReportService2005.asmx?wsdl
ReportExecution2005
Enables report execution
Can be accessed by: http://servername:port/ReportServer/ReportExecution2005.asmx?wsdl

Advice on which non .Net technology to use for file transfer over the internet

My newest task is going to be to implement automatic update of a licence:
The program detects that the licence is expired or about to expire and offers the user to automatically upate this. So far so good. Now what is needed:
The program sends the user's credentials to a win 2008 server over the internet.
The server checks the credentials and if they are OK generates a licence file that is sent back.
How to implement these steps if I cannot use .Net technology?
What not instead of transferring a file, think of it like invoking a web service (or web page) on the server and that returning the content of the license file?
In the VB application you then receive the page response and save that to a local file.
This alternative is used in LicenseSpot for online activation. You can check the API documentation for a general idea.

Resources