views:

353

answers:

3

Hi everyone,

I want to add service reference to SQL reporting services on local machine. In Reporting Service Configuration Manager under Web Service URL tab I have report service URL exposed, I have tried to add web reference to project with that Web Reference URL, but it can not be found.

Please tell me am I missing something or is this right way to to?

Thanks a lot.

A: 

There are two kind of address in SSRS, (youcan find them on SSRS Configuration Tool)

 //localhost:xxxx/Reports

and

 //localhost:xxxx/ReportServer

you have to use ReportServer

Nasser Hadjloo
I do use report server and I add ReportService.asmx to URL so it looks like this https://localhost/ReportServer/ReportService.asmx is it because of ports that you specified as xxxx??
SonOfOmer
@SonOfOmer - I actuallymeans you have touse ReportService.asmx after `//localhost:xxxx/ReportServer` and `xxxx` means portnumber. So you missed port number and thatswhy youcan not connect to web service
Nasser Hadjloo
In Reporting Service Configuration Manager TCP port is 80 and I tried to visit https://localhost:80/ReportServer/ReportService.asmx and page is not found.
SonOfOmer
Canyou open this URL `//localhost:80/ReportServer/`?
Nasser Hadjloo
Yes and opened page contains "localhost/ReportServerMicrosoft SQL Server Reporting Services Version 10.50.1600.1" text
SonOfOmer
@SonOfOmar - if you can see `//localhost:80/ReportServer/` then it is finished, just use this address not `//localhost:80/ReportServer/ReportService.asmx` both are the same, and at theen Do you use SSL?
Nasser Hadjloo
A: 

First of all, you should try this url: http://localhost/ReportServer/ReportService.asmx?WSDL

WSDL at the end of the url is very important, because only by this querystring web-service will return the Web-Service Definition for the reporting services reference.

Other way, in "Add web-reference" dialog you can choose the "Web services on the local machine" (see the picture), and choose your service there.

alt text

Additional information about permissions needed is here: http://msdn.microsoft.com/en-us/library/ms169816.aspx

VMAtm