locked
How to access SSRS reports in windows application(c#) programatically RRS feed

  • Question

  • Hi ,

    I am using SQL server 2008, VS 2008.  have developed a web app and referenced SSRS web services and successfully able to access the ssrs reports from my web app programatically and converting the report into PDF.

    But when I try to implement the same with windows app, I am not getting the below classes which I am able to in web app.

    ReportingService2005

    ReportExecutionService

    I have added the service reference to ssrs web services  in win app, but I could not see these classes, what is the problem with my implementaion.

    here are the SSRS web service url's

     

     

    Thanks

    Sanjay

     

    http://myserver/ReportServer/ReportService2005.asmx" http://myserver/ReportServer/ReportExecution2005.asmx

     

    Tuesday, May 25, 2010 4:52 PM

Answers

  • Hi Sanjay,

    According to your description, the question is you are not able to ReportService2005 and ReportExecution2005 from the services reference. If I have misunderstood, please don't hesitate to let me know.

    In Visual Studio 2008, if we add a service reference instead of web service reference, the Visual Studio will auto create a WCF client. In this case, we are not able to invoke the web services reference directly. We need to call the WCF client.

    In order to add a web service reference, please follow the steps described in this article:
    http://msdn.microsoft.com/en-us/library/bb628649.aspx
    After doing that, you will be able to invoke ReportService2005 and ReportExecution2005 again.

    If you have any more questions, please feel free to ask.

    Thanks,
    Jin Chen


    Jin Chen - MSFT
    Thursday, May 27, 2010 6:09 AM

All replies

  • Hi Sanjay,

    According to your description, the question is you are not able to ReportService2005 and ReportExecution2005 from the services reference. If I have misunderstood, please don't hesitate to let me know.

    In Visual Studio 2008, if we add a service reference instead of web service reference, the Visual Studio will auto create a WCF client. In this case, we are not able to invoke the web services reference directly. We need to call the WCF client.

    In order to add a web service reference, please follow the steps described in this article:
    http://msdn.microsoft.com/en-us/library/bb628649.aspx
    After doing that, you will be able to invoke ReportService2005 and ReportExecution2005 again.

    If you have any more questions, please feel free to ask.

    Thanks,
    Jin Chen


    Jin Chen - MSFT
    Thursday, May 27, 2010 6:09 AM
  • Hi Jin,

    Thank you very much,

    This is what I am searching for. My problem got solved, thank you very much.

    Sanjay Bollina

    Thursday, May 27, 2010 10:41 AM