<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>SQL Reporting Services</title><link>http://blogs.interknowlogy.com/timmccarthy/category/101.aspx</link><description>SQL Reporting Services</description><dc:language>en-US</dc:language><generator>.Text Version 0.95.2004.111</generator><item><dc:creator>Tim McCarthy</dc:creator><title>I think I found a bug in SQL 2005 Reporting Services</title><link>http://blogs.interknowlogy.com/timmccarthy/archive/2006/08/27/3824.aspx</link><pubDate>Sun, 27 Aug 2006 13:58:00 GMT</pubDate><guid>http://blogs.interknowlogy.com/timmccarthy/archive/2006/08/27/3824.aspx</guid><description>&lt;p&gt;When using cascading parameters, if your data sources (for report parameter(s)) are connecting to databases, then they work perfectly fine.  But if your data sources happen to be web services, then they just don&amp;#8217;t work.  &lt;/p&gt;
&lt;p&gt;I opened up a case with Microsoft PSS about this, and was told in so many words &amp;#8220;that&amp;#8217;s just how the SQL Reporting Services engine works, it treats web service XML data sources as expressions and cannot send a parameter value from one report parameter to another.&amp;#8221;&lt;/p&gt;
&lt;p&gt;It seems like that it is just assumed that everbody who uses SQL Reporting Services will only use databases for their data sources.  I happen to be working with a client who determines what database to connect to at runtine, and also has much of their report logic put into a business logic tier, and so we are using web services to expose the logic and data to the reports.  It actually works quite well, except for this quirk about cascading parameters.&lt;/p&gt;
&lt;p&gt;The case is still open, and if I do not get a resolution, I will definitely classify this as a bug.&lt;/p&gt;&lt;img src ="http://blogs.interknowlogy.com/timmccarthy/aggbug/3824.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>Tim McCarthy</dc:creator><title>Using web services with parameters as a data source in SQL 2005 Reporting Services</title><link>http://blogs.interknowlogy.com/timmccarthy/archive/2006/08/05/3660.aspx</link><pubDate>Sat, 05 Aug 2006 22:25:00 GMT</pubDate><guid>http://blogs.interknowlogy.com/timmccarthy/archive/2006/08/05/3660.aspx</guid><description>&lt;p&gt;First of all, I think it is awesome to be able call web services and other sources of XML data from reporting services.  It is great when you want to reuse business logic in a report tht lives in another system or business logic layer, etc. and do not want to reinvent and duplicate the logic in a stored procedure.&lt;/p&gt;
&lt;p&gt;But I ran into some difficulty getting this to work with web services that have partameters.  Wow, the documentation on this really sucks.  I finally got it to work, with the help of a good blog entry by &lt;a href="http://blogs.msdn.com/bimusings/archive/2006/03/24/560026.aspx" target="_blank"&gt;Russell Christopher&lt;/a&gt; and a &lt;a href="http://channel9.msdn.com/ShowPost.aspx?PostID=137650#solution" target="_blank"&gt;good post on the Channel 9 Forums&lt;/a&gt; by &lt;a href="http://channel9.msdn.com/Niners/jcnovoa" target="_blank"&gt;jcnovoa&lt;/a&gt; that refers to a good solution by &lt;a href="http://blogs.msdn.com/bwelcker/" target="_blank"&gt;Brian W&lt;/a&gt; from Microsoft.  The keys were:&lt;/p&gt;
&lt;p&gt;1.  Separate out the Method and SoapAction elements:&lt;/p&gt;
&lt;p&gt;&lt;Query&gt;&lt;br /&gt;    &lt;Method Namespace="&lt;A href="http://contoso.webservices/"&gt;http://Contoso.WebServices/&lt;/A&gt;" Name="GetAppointmentLogs" /&gt;&lt;br /&gt;    &lt;SoapAction&gt;http://Contoso.WebServices/GetAppointmentLogs&lt;/SoapAction&gt;&lt;br /&gt;&lt;/Query&gt;&lt;/p&gt;
&lt;p&gt;2.  Pass the parameters in from the parameters tab of the DataSet window in Visual Studio (by clicking on the Edit Selected DataSet ellipse).&lt;/p&gt;
&lt;p&gt;&lt;img height="384" alt="Parameters" src="/downloads/timmccarthy/images/parameters.bmp" width="464" border="0" /&gt;&lt;/p&gt;
&lt;p&gt;Watch out for the format of the dates when passing to web services!  The format is CCYY-MM-DD &lt;img src="/downloads/timmccarthy/images/smile.gif" /&gt;&lt;/p&gt;&lt;query&gt;&lt;img src ="http://blogs.interknowlogy.com/timmccarthy/aggbug/3660.aspx" width = "1" height = "1" /&gt;</description></item></channel></rss>