Link to home
Start Free TrialLog in
Avatar of mwidholm
mwidholm

asked on

Calling SSRS Webservice - Syntax not working

Hello,

I'm trying to call a web service on our SSRS box with VB.Net.  The service is called "ReportingService" and I've triple-checked the spelling.

The syntax I'm using:
Dim rs As ReportingService

I get a "Type expected" error.  

Dim rs As ReportingService() looks at it as an array

Thanks,
Meg
Dim rs As ReportingService
Dim rs As ReportingService()

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of talbers_bci
talbers_bci

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of mwidholm
mwidholm

ASKER

Thank You talbers!  I'm still getting the same error, but there are some nuances in there that were really nice to capture.  I'll post back when I figure it out.
For my code to work you have to have a reference to the report server.  

Basically go project>add web reference> go through the wizard.  If you have any trouble you can find help online.
I actually ended up going another route with this.  I'm using the Acrobat process to print the files.
Went a different way though this code is still great.
I am curious as to what you ended up doing.   Did you export the report to a pdf and then print?
Whoops, I never responded to your last question talbers. Yes, exported the .PDFs and then printed. It's not ideal by any stretch, but it did the job.