Example of using SSRS SOAP API

This example uses adventure works sample  database and reports, please refer to books on line for setup instructions.

1.       Open Visual Studio and create a console application (VB or C#)

2.       Replace the code in Module.vb or Module.cs with the appropriate code snippet

a.       C#

using System;

using SoapAPI.ReportService2005;

 

class Module1

{

 

         public void Main()

         {

                 ReportingService2005 rs = new ReportingService2005();

                 rs.Credentials = System.Net.CredentialCache.DefaultCredentials;

 

                 rs.Url = "http://Localhost/reportserver/reportservice2005.asmx";

 

                 Property name = new Property();

                 name.Name = "Name";

 

                 Property description = new Property();

                 description.Name = "Description";

 

                 Property[] properties = new Property[2];

                 properties(0) = name;

                 properties(1) = description;

                 try {

                          Property[] returnProperties = rs.GetProperties("/AdventureWorks Sample Reports/Company Sales", properties);

                          Property p;

                          foreach ( p in returnProperties) {

                                   Console.WriteLine((p.Name + ": " + p.Value));

                          }

                 }

 

                 catch (Exception e) {

                          Console.WriteLine(e.Message);

                 }

                 finally {

                          Console.ReadLine();

                 }

         }

 

}

b.      VB

Imports System

Imports SoapAPI.ReportService2005

 

Module Module1

 

    Sub Main()

        Dim rs As New ReportingService2005

        rs.Credentials = System.Net.CredentialCache.DefaultCredentials

 

        rs.Url = "http://Localhost/reportserver/reportservice2005.asmx"

 

        Dim name As New [Property]

        name.Name = "Name"

 

        Dim description As New [Property]

        description.Name = "Description"

 

        Dim properties(1) As [Property]

        properties(0) = name

        properties(1) = description

        Try

            Dim returnProperties As [Property]() = rs.GetProperties("/AdventureWorks Sample Reports/Company Sales", properties)

            Dim p As [Property]

            For Each p In returnProperties

                Console.WriteLine((p.Name + ": " + p.Value))

            Next p

 

        Catch e As Exception

            Console.WriteLine(e.Message)

        Finally

            Console.ReadLine()

        End Try

    End Sub

 

End Module

3.       Run the application

Comments

# re: Example of using SSRS SOAP API
Gravatar Thanks for sharing this coding with us.
Left by online psychology masters degree on 5/30/2009 9:54 AM
# re: Example of using SSRS SOAP API
Gravatar There are only 50 copies but i'm sure that not all of the 1st 50 will show up on time with a computer to do the installation.
Left by occupational safety training on 5/30/2009 9:55 AM
# re: Example of using SSRS SOAP API
Gravatar its great.
Left by biology degree on 5/30/2009 9:56 AM
# re: Example of using SSRS SOAP API
Gravatar i think this would be more helpful
<BeginStoryboard>
<Storyboard>
<PointAnimation
Storyboard.TargetName="MyEllipseGeometry"
Storyboard.TargetProperty="Center"
From="150,100" To="650,200" Duration="0:0:3"
RepeatBehavior="Forever" AutoReverse="True"/>
</Storyboard>
</BeginStoryboard>
Left by biology degree on 5/30/2009 9:56 AM
# re: Example of using SSRS SOAP API
Gravatar <TextBlock.Foreground>
<LinearGradientBrush>
<LinearGradientBrush.GradientStops>
<GradientStop Offset="0" Color="Yellow" />
<GradientStop Offset="1" Color="Red" />
</LinearGradientBrush.GradientStops>
</LinearGradientBrush>
</TextBlock.Foreground>

<TextBlock.Background>
<VisualBrush>
<VisualBrush.Visual>
<MediaElement Source="C:\\apollo11_launchclip04.mpg" />
</VisualBrush.Visual>
</VisualBrush>
</TextBlock.Background>

</TextBlock>
Left by online science degree programs on 5/30/2009 10:01 AM
# re: Example of using SSRS SOAP API
Gravatar <ControlTemplate.Triggers>
<Trigger Property="IsSelected" Value="True">
<Setter Property="Opacity" Value="1.0" />
</Trigger>
</ControlTemplate.Triggers>
</ControlTemplate>
</Setter.Value>
</Setter>
<Style.Triggers>
Left by law degree on 5/30/2009 10:01 AM
# using SSRS SOAP API
Gravatar Well well well, what do we have here?
Left by regcure on 6/14/2009 2:49 PM
# re: Example of using SSRS SOAP API
Gravatar Yeah definately cool.

SOAP - you have got to love it - mass producing SSRS reports has never been so easy!!!
Left by notebook auctions on 7/21/2009 4:18 AM
# re: Example of using SSRS SOAP API
Gravatar Thanks for this, has really helped me with my SOAP.
Left by pico projectors on 7/21/2009 4:19 AM
# re: Example of using SSRS SOAP API
Gravatar Yeah definitely cool.thanks for posting!
Left by Regcure on 7/23/2009 2:16 PM
# re: Example of using SSRS SOAP API
Gravatar cool article
Left by vigrx plus on 8/11/2009 3:15 PM
# re: Example of using SSRS SOAP API
Gravatar Thanks for this, has really helped me with my SOAP.
Left by psoriasis treatment on 8/19/2009 11:18 AM
# re: Example of using SSRS SOAP API
Gravatar Thanks for this, has really helped..but I'm sure that not all of the 1st 50 will show up on time with a computer to do the installation.

pills for colon
Left by Gorge on 9/20/2009 7:51 AM
# re: Example of using SSRS SOAP API
Gravatar This example uses adventure works sample database and reports, please refer to books on line for setup instructions.

1. Open Visual Studio and create a console application (VB or C#)

2. Replace the code in Module.vb or Module.cs with the appropriate code snippet
Left by Free online games on 9/29/2009 6:36 AM
# re: Example of using SSRS SOAP API
Gravatar I absolutely admire the writer of this article!

regcure
Left by bob rowe on 10/1/2009 11:58 PM
# re: Example of using SSRS SOAP API
Gravatar great site
Left by vigrx plus on 10/5/2009 3:53 PM
# re: Example of using SSRS SOAP API
Gravatar Thanks for this, has really helped..but I'm sure that not all of the 1st 50 will show up on time with a computer to do the installation.
Left by kids learn piano on 10/17/2009 10:32 PM
# re: Example of using SSRS SOAP API
Gravatar this has really helped me with my SOAP.
Left by registry cleaner reviews on 10/22/2009 11:58 AM
#  Patent Litigation
Gravatar Thanks for this post! This has really helped..but I'm sure that not all of the 1st 50 will show up on time with a computer to do the installation.
Left by Patent Litigation on 10/23/2009 12:51 AM
# re: Example of using SSRS SOAP API
Gravatar Yeah, this is such a very techy site..but i can somehow relate. Thanks for the information you shared. Patent Attorney
Left by Patent Attorney on 10/23/2009 3:53 AM
# Example of using SSRS SOAP API
Gravatar Yes, there are only 50 copies but i'm sure that not all of the 1st 50 will show up on time with a computer to do the installation process
Left by Patent Licensing on 10/23/2009 9:04 PM
# re: Example of using SSRS SOAP API
Gravatar This is a nice post! I am thankful that this kind of knowledge is been shared by people who are expert in this position. Patent Assertion
Left by Patent Assertion on 10/25/2009 3:00 AM
# re: Example of using SSRS SOAP API
Gravatar Hey, I am an expert in General Patent. Please check out my Patent Violation
Left by Patent Violation on 10/26/2009 5:01 AM
# re: Example of using SSRS SOAP API
Gravatar I am a Real Estate expert who recently reviewed this site.It offers Machala Real Estate. Please check it out!
Left by Machala Real Estate on 10/30/2009 2:42 AM
# re: Example of using SSRS SOAP API
Gravatar Thanks for the great example. This really cleared things up for me.
Left by bowling how to on 10/31/2009 12:02 PM
# re: Example of using SSRS SOAP API
Gravatar It's been a real pleasure reading this article. Rock Hill 1031 Exchange
Left by Rock Hill Commercial Brokerage on 11/3/2009 5:28 PM
# re: Example of using SSRS SOAP API
Left by torah defense on 11/3/2009 10:54 PM
# re: Example of using SSRS SOAP API
Gravatar Yes, there are only 50 copies but i'm sure that not all of the 1st 50 will show up on time with a computer to do the installation process.
Left by Patent Enforcement on 11/4/2009 7:23 PM
# re: Example of using SSRS SOAP API
Gravatar This is such a good advise! Please give up the good work.
Left by Patent Infringement on 11/4/2009 11:38 PM
# re: Example of using SSRS SOAP API
Gravatar fer to books on line for setup instructions.

1. Open Visual Studio and create a console application (V
Left by christian louboutin sale on 11/16/2009 1:56 AM

Leave Your Comment

Title*
Name*
Email (never displayed)
 (will show your gravatar)
Url
Comment*

 

Preview Your Comment.