<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Calling Web Services from Silverlight using IIS 7.0 and ARR</title><link>http://blogs.msdn.com/carlosag/archive/2008/11/15/CallingWebServicesFromSilverlightUsingIISandARR.aspx</link><description>During this PDC I attended Ian's presentation about WPF and Silverlight where he demonstrated the high degree of compatibility that can be achieved between a WPF desktop application and a Silverlight application. One of the differences that he demonstrated</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Calling Web Services from Silverlight using IIS 7.0 and ARR | Tmao Coders</title><link>http://blogs.msdn.com/carlosag/archive/2008/11/15/CallingWebServicesFromSilverlightUsingIISandARR.aspx#9087845</link><pubDate>Sat, 15 Nov 2008 08:17:31 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9087845</guid><dc:creator>Calling Web Services from Silverlight using IIS 7.0 and ARR | Tmao Coders</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://www.tmao.info/calling-web-services-from-silverlight-using-iis-70-and-arr/"&gt;http://www.tmao.info/calling-web-services-from-silverlight-using-iis-70-and-arr/&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: Calling Web Services from Silverlight using IIS 7.0 and ARR</title><link>http://blogs.msdn.com/carlosag/archive/2008/11/15/CallingWebServicesFromSilverlightUsingIISandARR.aspx#9102525</link><pubDate>Sun, 16 Nov 2008 05:55:31 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9102525</guid><dc:creator>Aaron Fischer</dc:creator><description>&lt;p&gt;Would this work with an https end point?&lt;/p&gt;
</description></item><item><title>re: Calling Web Services from Silverlight using IIS 7.0 and ARR</title><link>http://blogs.msdn.com/carlosag/archive/2008/11/15/CallingWebServicesFromSilverlightUsingIISandARR.aspx#9102588</link><pubDate>Sun, 16 Nov 2008 07:58:34 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9102588</guid><dc:creator>CarlosAg</dc:creator><description>&lt;p&gt;Yes it will, just specify the https:// url and it will work.&lt;/p&gt;
</description></item><item><title>re: Calling Web Services from Silverlight using IIS 7.0 and ARR</title><link>http://blogs.msdn.com/carlosag/archive/2008/11/15/CallingWebServicesFromSilverlightUsingIISandARR.aspx#9485367</link><pubDate>Wed, 18 Mar 2009 03:53:41 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9485367</guid><dc:creator>keoz</dc:creator><description>&lt;p&gt;Hi is there any extra steps to enable ARR? i have installed it but my app always points to localhost instead of webservicex.net thanks&lt;/p&gt;
</description></item><item><title>re: Calling Web Services from Silverlight using IIS 7.0 and ARR</title><link>http://blogs.msdn.com/carlosag/archive/2008/11/15/CallingWebServicesFromSilverlightUsingIISandARR.aspx#9485375</link><pubDate>Wed, 18 Mar 2009 03:56:45 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9485375</guid><dc:creator>Keoz</dc:creator><description>&lt;p&gt;Where exactly should i place the rewrite tags? in the web.config of the web application?&lt;/p&gt;
</description></item><item><title>re: Calling Web Services from Silverlight using IIS 7.0 and ARR</title><link>http://blogs.msdn.com/carlosag/archive/2008/11/15/CallingWebServicesFromSilverlightUsingIISandARR.aspx#9485383</link><pubDate>Wed, 18 Mar 2009 04:02:32 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9485383</guid><dc:creator>CarlosAg</dc:creator><description>&lt;p&gt;Yes, you can place them in the web.config of the application. This is what will trigger the &amp;quot;proxy&amp;quot; capabilities of ARR.&lt;/p&gt;
</description></item><item><title>re: Calling Web Services from Silverlight using IIS 7.0 and ARR</title><link>http://blogs.msdn.com/carlosag/archive/2008/11/15/CallingWebServicesFromSilverlightUsingIISandARR.aspx#9485390</link><pubDate>Wed, 18 Mar 2009 04:05:25 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9485390</guid><dc:creator>CarlosAg</dc:creator><description>&lt;p&gt;By the way if you are using the RTW version you will need to go to the Application Request Routing Proxy feature at the Server - level and enable the proxy capabilities. For security reasons this &amp;quot;flag&amp;quot; was added on RTW.&lt;/p&gt;
</description></item><item><title>re: Calling Web Services from Silverlight using IIS 7.0 and ARR</title><link>http://blogs.msdn.com/carlosag/archive/2008/11/15/CallingWebServicesFromSilverlightUsingIISandARR.aspx#9485435</link><pubDate>Wed, 18 Mar 2009 04:25:32 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9485435</guid><dc:creator>Keoz</dc:creator><description>&lt;p&gt;Is that the URL rewriting feature? i cant see the Application Request Routing Proxy feature however i can see that my rule is recognized in that feature module, this is my rule&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;&amp;lt;rewrite&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;rules&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;rule name=&amp;quot;Country Forward&amp;quot; stopProcessing=&amp;quot;true&amp;quot;&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;match url=&amp;quot;^country.asmx$&amp;quot; /&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;action type=&amp;quot;Rewrite&amp;quot; url=&amp;quot;&lt;a rel="nofollow" target="_new" href="http://www.webservicex.net/country.asmx&amp;quot;"&gt;http://www.webservicex.net/country.asmx&amp;quot;&lt;/a&gt; /&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/rule&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/rules&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;&amp;lt;/rewrite&amp;gt;&lt;/p&gt;
&lt;p&gt;and this is how i call the service&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;var countrySvc = new ServiceCountryDetails.countrySoapClient(&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;new System.ServiceModel.BasicHttpBinding(), &lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;new System.ServiceModel.EndpointAddress(&amp;quot;&lt;a rel="nofollow" target="_new" href="http://www.webservicex.net/country.asmx&amp;quot;"&gt;http://www.webservicex.net/country.asmx&amp;quot;&lt;/a&gt;));&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;countrySvc.GetCurrenciesCompleted +=new EventHandler&amp;lt;Client.Data.ServiceCountryDetails.GetCurrenciesCompletedEventArgs&amp;gt;(&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;(s, a) =&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;foreach (var currencyCode in a.Result)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;});&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;countrySvc.GetCurrenciesAsync();&lt;/p&gt;
&lt;p&gt;however i get the cross-domain exception when i hit the calling, am i doing something wrong? thanks&lt;/p&gt;
</description></item><item><title>re: Calling Web Services from Silverlight using IIS 7.0 and ARR</title><link>http://blogs.msdn.com/carlosag/archive/2008/11/15/CallingWebServicesFromSilverlightUsingIISandARR.aspx#9485455</link><pubDate>Wed, 18 Mar 2009 04:37:53 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9485455</guid><dc:creator>CarlosAg</dc:creator><description>&lt;p&gt;If you select the &amp;quot;Server&amp;quot; in the Tree View you should see an Icon in the IIS group that says Application Request Routing.&lt;/p&gt;
&lt;p&gt;Also, your code should be creating the end point to go against &amp;quot;&lt;a rel="nofollow" target="_new" href="http://localhost/country.asmx&amp;quot;"&gt;http://localhost/country.asmx&amp;quot;&lt;/a&gt; instead.&lt;/p&gt;
</description></item><item><title>re: Calling Web Services from Silverlight using IIS 7.0 and ARR</title><link>http://blogs.msdn.com/carlosag/archive/2008/11/15/CallingWebServicesFromSilverlightUsingIISandARR.aspx#9485468</link><pubDate>Wed, 18 Mar 2009 04:45:02 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9485468</guid><dc:creator>keoz</dc:creator><description>&lt;p&gt;nop i only see the URL Rewrite feature, may i have a bad installation?&lt;/p&gt;
&lt;p&gt;antoher question i see webservicex.net has crossdomain.xml on the server however it looks its not enough to call web services directly, is there any other way to call services from this site? thanks for your help&lt;/p&gt;
</description></item></channel></rss>