<?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 WebServices via AJAX Part 1</title><link>http://blogs.msdn.com/kaevans/archive/2008/04/03/calling-webservices-via-ajax-part-1.aspx</link><description>Several months ago, one of my customers asked me a fairly pointed question: how do you call web services from JavaScript? At least, that's what they asked me, but not really what they meant (I'll explain what their real question was in a subsequent post).</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Calling ASMX Web Service from JavaScript</title><link>http://blogs.msdn.com/kaevans/archive/2008/04/03/calling-webservices-via-ajax-part-1.aspx#8369834</link><pubDate>Tue, 08 Apr 2008 23:17:49 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8369834</guid><dc:creator>Lifengineer</dc:creator><description>&lt;p&gt;Calling ASMX Web Service from JavaScript&lt;/p&gt;
</description></item><item><title>re: Calling WebServices via AJAX Part 1</title><link>http://blogs.msdn.com/kaevans/archive/2008/04/03/calling-webservices-via-ajax-part-1.aspx#8369883</link><pubDate>Tue, 08 Apr 2008 23:31:35 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8369883</guid><dc:creator>Jack</dc:creator><description>&lt;p&gt;That's the god damn most boring thing I've ever seen. &amp;nbsp;Where's the boobs?!&lt;/p&gt;
</description></item><item><title>re: Calling WebServices via AJAX Part 1</title><link>http://blogs.msdn.com/kaevans/archive/2008/04/03/calling-webservices-via-ajax-part-1.aspx#8369898</link><pubDate>Tue, 08 Apr 2008 23:36:38 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8369898</guid><dc:creator>dan</dc:creator><description>&lt;p&gt;Great stuff and all, but how did this make it to the front page of Digg?&lt;/p&gt;
&lt;p&gt;I thought Digg was losing it's geek only status.&lt;/p&gt;
&lt;p&gt;Anyway &amp;nbsp;good stuff and congrats on making it to the Digg FP&lt;/p&gt;
&lt;p&gt;Dan&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="Http://Peakracer.com"&gt;Http://Peakracer.com&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: Calling WebServices via AJAX Part 1</title><link>http://blogs.msdn.com/kaevans/archive/2008/04/03/calling-webservices-via-ajax-part-1.aspx#8369903</link><pubDate>Tue, 08 Apr 2008 23:38:34 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8369903</guid><dc:creator>Matt</dc:creator><description>&lt;p&gt;What's with the &amp;quot;D&amp;quot; property in MS AJAX? I rolled some of my own responses with ASP.NET MVC (and therefore did not use &amp;quot;ScriptService&amp;quot; attribute), and the MS AJAX would fail without a &amp;quot;D&amp;quot; property in my JSON response. &amp;nbsp;I have found no documentation about it anywhere ... but I see you mentioned it, indirectly, in your post. &amp;nbsp;What can you tell us about it?&lt;/p&gt;
&lt;p&gt;BTW, great post.&lt;/p&gt;
</description></item><item><title>How to Call Web Services using AJAX | nerdd.net</title><link>http://blogs.msdn.com/kaevans/archive/2008/04/03/calling-webservices-via-ajax-part-1.aspx#8369922</link><pubDate>Tue, 08 Apr 2008 23:43:56 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8369922</guid><dc:creator>nerdd.net | news and opinion</dc:creator><description>&lt;p&gt;\r\nAt some time in your life and that time may be soon, you will need to use javascript to interact&lt;/p&gt;
</description></item><item><title>re: Calling WebServices via AJAX Part 1</title><link>http://blogs.msdn.com/kaevans/archive/2008/04/03/calling-webservices-via-ajax-part-1.aspx#8370067</link><pubDate>Wed, 09 Apr 2008 00:32:44 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8370067</guid><dc:creator>TimothyP</dc:creator><description>&lt;p&gt;This is great, until now I've been using a special Javascript library to call SOAP methods but it didn't always work.&lt;/p&gt;
</description></item><item><title>re: Calling WebServices via AJAX Part 1</title><link>http://blogs.msdn.com/kaevans/archive/2008/04/03/calling-webservices-via-ajax-part-1.aspx#8370102</link><pubDate>Wed, 09 Apr 2008 00:45:48 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8370102</guid><dc:creator>Dave</dc:creator><description>&lt;p&gt;If you aren't already using the ASP.NET AJAX framework for something else, you don't necessarily need to load the page down with MicrosoftAjax.js and the generated proxy.&lt;/p&gt;
&lt;p&gt;As long as you POST the request and set the content-type correctly, you can call the JSON serialized version of an ASMX service with any framework (or XHR directly). &amp;nbsp;Here's an example of using jQuery:&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://encosia.com/2008/03/27/using-jquery-to-consume-aspnet-json-web-services/"&gt;http://encosia.com/2008/03/27/using-jquery-to-consume-aspnet-json-web-services/&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: Calling WebServices via AJAX Part 1</title><link>http://blogs.msdn.com/kaevans/archive/2008/04/03/calling-webservices-via-ajax-part-1.aspx#8370173</link><pubDate>Wed, 09 Apr 2008 01:12:25 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8370173</guid><dc:creator>Kirk Allen Evans</dc:creator><description>&lt;p&gt;@Matt - The {d} prefix is part of the expected response for the ASP.NET AJAX library. The responses are wrapped in this &amp;quot;d&amp;quot; object to prevent a known attack which could happen if the type of the response were arrays (array object constructor hijacking).&lt;/p&gt;
</description></item><item><title>re: Calling WebServices via AJAX Part 1</title><link>http://blogs.msdn.com/kaevans/archive/2008/04/03/calling-webservices-via-ajax-part-1.aspx#8370474</link><pubDate>Wed, 09 Apr 2008 02:57:12 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8370474</guid><dc:creator>editor</dc:creator><description>&lt;p&gt;Note: just remove the only lasting runat=&amp;quot;server&amp;quot; tag from the example in which you manually load generated &amp;quot;proxy.js&amp;quot; file and all would be set and done :) &lt;/p&gt;
&lt;p&gt;We call it CopyPasteException ;)&lt;/p&gt;
</description></item><item><title>re: Calling WebServices via AJAX Part 1</title><link>http://blogs.msdn.com/kaevans/archive/2008/04/03/calling-webservices-via-ajax-part-1.aspx#8370748</link><pubDate>Wed, 09 Apr 2008 05:08:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8370748</guid><dc:creator>Milinda</dc:creator><description>&lt;p&gt;Without using any ASP or add-ons you can make your life easier when calling web services using JavaScript. Use WSRequest.js native JavaScript web service client available at &lt;a rel="nofollow" target="_new" href="https://wso2.org/repos/wso2/trunk/wsf/javascript/native/"&gt;https://wso2.org/repos/wso2/trunk/wsf/javascript/native/&lt;/a&gt;. It supports WS addressing stuff and more. This script is currently maintain by former Microsoft employee Jonthan Marsh (now with WSO2).&lt;/p&gt;
</description></item><item><title>re: Calling WebServices via AJAX Part 1</title><link>http://blogs.msdn.com/kaevans/archive/2008/04/03/calling-webservices-via-ajax-part-1.aspx#8372361</link><pubDate>Wed, 09 Apr 2008 16:42:24 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8372361</guid><dc:creator>jbassett</dc:creator><description>&lt;p&gt;We are accepting beta testers for SalesPeriod currently....&lt;/p&gt;
&lt;p&gt;Send information through Ajax to your PC almost instantly...and 100% securely. &lt;/p&gt;
&lt;p&gt;Use our Ajax-enabled web service or whatever you'd like.&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;
&lt;p&gt;Joe&lt;/p&gt;
</description></item><item><title>Calling Web Services via AJAX - Part 2</title><link>http://blogs.msdn.com/kaevans/archive/2008/04/03/calling-webservices-via-ajax-part-1.aspx#8372579</link><pubDate>Wed, 09 Apr 2008 18:45:52 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8372579</guid><dc:creator>Kirk Allen Evans's Blog</dc:creator><description>&lt;p&gt;Looks like this is an interesting topic to a lot of people since part 1 of this series made it to the&lt;/p&gt;
</description></item><item><title>http://digg.com/programming/how_to_call_web_services_using_ajax</title><link>http://blogs.msdn.com/kaevans/archive/2008/04/03/calling-webservices-via-ajax-part-1.aspx#8372896</link><pubDate>Wed, 09 Apr 2008 20:58:33 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8372896</guid><dc:creator>TrackBack</dc:creator><description /></item><item><title>http://digg.com/</title><link>http://blogs.msdn.com/kaevans/archive/2008/04/03/calling-webservices-via-ajax-part-1.aspx#8372897</link><pubDate>Wed, 09 Apr 2008 20:58:40 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8372897</guid><dc:creator>TrackBack</dc:creator><description /></item><item><title>http://dzone.com/links/calling_webservices_via_ajax_part_1.html</title><link>http://blogs.msdn.com/kaevans/archive/2008/04/03/calling-webservices-via-ajax-part-1.aspx#8372918</link><pubDate>Wed, 09 Apr 2008 21:03:37 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8372918</guid><dc:creator>TrackBack</dc:creator><description /></item><item><title>re: Calling WebServices via AJAX Part 1</title><link>http://blogs.msdn.com/kaevans/archive/2008/04/03/calling-webservices-via-ajax-part-1.aspx#8374871</link><pubDate>Thu, 10 Apr 2008 16:44:53 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8374871</guid><dc:creator>Clarke Isackson</dc:creator><description>&lt;p&gt;It is lots simpler to just use Ajax to call a proxy written C# which does all the interaction with the Web Service. &amp;nbsp;Placing everying on the client like this seems to be taking quite a few steps backwards.&lt;/p&gt;
</description></item><item><title>re: Calling WebServices via AJAX Part 1</title><link>http://blogs.msdn.com/kaevans/archive/2008/04/03/calling-webservices-via-ajax-part-1.aspx#8374947</link><pubDate>Thu, 10 Apr 2008 17:25:50 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8374947</guid><dc:creator>kaevans</dc:creator><description>&lt;p&gt;@Clarke - the AJAX solution still needs to be able to call the proxy. &amp;nbsp;In fact, this is what this post series is leading up to... a proxy that &amp;quot;speaks&amp;quot; JSON that composes several other SOAP-based web services. &amp;nbsp;At some point, though, you have to call the proxy, and this is what the code in this article showed how to do. &amp;nbsp;Check out part 2 at &lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/kaevans/archive/2008/04/09/calling-web-services-via-ajax-part-2.aspx"&gt;http://blogs.msdn.com/kaevans/archive/2008/04/09/calling-web-services-via-ajax-part-2.aspx&lt;/a&gt;, and stay tuned for more installments in this series.&lt;/p&gt;
</description></item><item><title>re: Calling WebServices via AJAX Part 1</title><link>http://blogs.msdn.com/kaevans/archive/2008/04/03/calling-webservices-via-ajax-part-1.aspx#8409861</link><pubDate>Sat, 19 Apr 2008 09:24:30 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8409861</guid><dc:creator>rajesh</dc:creator><description>&lt;p&gt;I never taught of JSON before reading this post. Learned some thing new. thank you.&lt;/p&gt;
</description></item><item><title>re: Calling WebServices via AJAX Part 1</title><link>http://blogs.msdn.com/kaevans/archive/2008/04/03/calling-webservices-via-ajax-part-1.aspx#8418497</link><pubDate>Wed, 23 Apr 2008 10:49:32 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8418497</guid><dc:creator>Geld Lenen</dc:creator><description>&lt;p&gt;I hope I'll be able to write such beautiful (and working) code. For now I just keep it to php!&lt;/p&gt;
</description></item></channel></rss>