<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/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>ASP.NET AJAX Networking and Web Services</title><link>http://forums.asp.net/1009.aspx</link><description>Discuss your issues with the client and server interaction in AJAX using web services and other transports used by AJAX</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: why has the default include bhavior of a web service changed?</title><link>http://forums.asp.net/thread/1376369.aspx</link><pubDate>Mon, 21 Aug 2006 12:33:35 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1376369</guid><dc:creator>dekarma</dc:creator><author>dekarma</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1376369.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1009&amp;PostID=1376369</wfw:commentRss><description>I ran into the same problem today. I used to include a script reference to a webservice dynamically (webpart code) using &lt;br /&gt;&lt;br /&gt;ScriptManager.GetCurrent(Page).RegisterScriptReference(Page.ResolveUrl("~/Service.asmx/js"));&lt;br /&gt;&lt;br /&gt;After I found out that calls were made to "undefined?mn=xxx", I changed it to&lt;br /&gt;&lt;br /&gt;ScriptManager.GetCurrent(Page).RegisterScriptReference(Page.ResolveUrl("~/Service.asmx/js?__svcPath=Service.asmx"));&lt;br /&gt;&lt;br /&gt;This works, but it does looks a bit redundant to me :(&lt;br /&gt;</description></item><item><title>Re: why has the default include bhavior of a web service changed?</title><link>http://forums.asp.net/thread/1345300.aspx</link><pubDate>Wed, 19 Jul 2006 08:12:42 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1345300</guid><dc:creator>Luis Abreu</dc:creator><author>Luis Abreu</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1345300.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1009&amp;PostID=1345300</wfw:commentRss><description>&lt;p&gt;hello again.&lt;/p&gt;
&lt;p&gt;hum,...i must have done something wrong because i tried something like that and it did not work...i'll give it a go again. thanks.&lt;/p&gt;</description></item><item><title>Re: why has the default include bhavior of a web service changed?</title><link>http://forums.asp.net/thread/1344989.aspx</link><pubDate>Tue, 18 Jul 2006 22:33:55 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1344989</guid><dc:creator>HaoK</dc:creator><author>HaoK</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1344989.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1009&amp;PostID=1344989</wfw:commentRss><description>&lt;p&gt;Its basically whatever script you want to be evaluated, so scriptLoad="alert('hi')" or something like what we do scriptLoad="Sample.ProxyClass.path = 'http://url/app/fooservice.asmx'".&lt;/p&gt;
&lt;p&gt;Hope that helps,&lt;br /&gt;-Hao&lt;/p&gt;</description></item><item><title>Re: why has the default include bhavior of a web service changed?</title><link>http://forums.asp.net/thread/1344964.aspx</link><pubDate>Tue, 18 Jul 2006 21:43:32 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1344964</guid><dc:creator>Luis Abreu</dc:creator><author>Luis Abreu</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1344964.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1009&amp;PostID=1344964</wfw:commentRss><description>&lt;p&gt;hello.&lt;/p&gt;
&lt;p&gt;thanks for the reply.&lt;/p&gt;
&lt;p&gt;can you give me an example of how to use that new property?&lt;/p&gt;</description></item><item><title>Re: why has the default include bhavior of a web service changed?</title><link>http://forums.asp.net/thread/1344901.aspx</link><pubDate>Tue, 18 Jul 2006 20:39:23 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1344901</guid><dc:creator>HaoK</dc:creator><author>HaoK</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1344901.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1009&amp;PostID=1344901</wfw:commentRss><description>&lt;p&gt;I should also mention that we did add a new query string parameter for the /js requests which supports generating a path in the proxy, but its explicit, i.e. you pass in the path:&lt;/p&gt;
&lt;p&gt;&amp;lt;script src=testSoap.asbx/js?__svcPath=http://localhost/atlas/BCL/testSoap.asbx" type="text/javascript"&amp;gt;&amp;lt;/script&amp;gt;&lt;/p&gt;
&lt;p&gt;Hope that helps,&lt;br /&gt;-Hao&lt;/p&gt;</description></item><item><title>Re: why has the default include bhavior of a web service changed?</title><link>http://forums.asp.net/thread/1344779.aspx</link><pubDate>Tue, 18 Jul 2006 19:16:15 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1344779</guid><dc:creator>HaoK</dc:creator><author>HaoK</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1344779.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1009&amp;PostID=1344779</wfw:commentRss><description>&lt;p&gt;The change was made to fix the issue where the path was incorrect due to the fact that we were computing the path with respect to the server as opposed to the client, i.e. webfarm scenarios, port forwarding.&amp;nbsp; So now the client sets the path to the url it uses to access the site via the OnScriptLoad method which you see.&amp;nbsp; Perhaps we should add the old behavior back as a default for the direct /js include scenario.&lt;/p&gt;
&lt;p&gt;Thanks for reporting this,&lt;br /&gt;-Hao&lt;/p&gt;</description></item><item><title>Re: why has the default include bhavior of a web service changed?</title><link>http://forums.asp.net/thread/1342495.aspx</link><pubDate>Sun, 16 Jul 2006 10:51:53 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1342495</guid><dc:creator>Luis Abreu</dc:creator><author>Luis Abreu</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1342495.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1009&amp;PostID=1342495</wfw:commentRss><description>btw, what's the purpose of theonscriptload attribute that has been added to the servicereference class?</description></item><item><title>why has the default include bhavior of a web service changed?</title><link>http://forums.asp.net/thread/1342493.aspx</link><pubDate>Sun, 16 Jul 2006 10:44:35 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1342493</guid><dc:creator>Luis Abreu</dc:creator><author>Luis Abreu</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1342493.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1009&amp;PostID=1342493</wfw:commentRss><description>&lt;p&gt;hello guys.&lt;/p&gt;
&lt;p&gt;can anyone tell me why the behavior of the traditional proxy generation has changed in this last ctp? till now, we could get the proxy by doing something like this:&lt;/p&gt;
&lt;p&gt;&amp;lt;script type="text/javascript" src="path/js"&amp;gt;&amp;lt;/script&amp;gt;&lt;/p&gt;
&lt;p&gt;currently, this returns the proxy but doesn't set the path property of the proxy...&lt;/p&gt;
&lt;p&gt;yes, i can see that you guys changed the generatefields method of the webserivceclientproxygenerator class...what i'd like to know is:&lt;/p&gt;
&lt;p&gt;1.) why isn't this documented?&lt;/p&gt;
&lt;p&gt;2.) why is this changed necessary?&lt;/p&gt;
&lt;p&gt;btw, this change breaks all your online demos (including videos, quickstarts, etc)....&lt;/p&gt;</description></item></channel></rss>