<?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: [Microsoft.Web.Script.Services.ScriptService()]  -  The type or namespace name 'Web' does not exist in the namespace 'Microsoft'</title><link>http://forums.asp.net/thread/3522031.aspx</link><pubDate>Thu, 19 Nov 2009 14:05:22 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3522031</guid><dc:creator>Narayan L S</dc:creator><author>Narayan L S</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3522031.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1009&amp;PostID=3522031</wfw:commentRss><description>&lt;p&gt;add System.Web.Extensions&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: [Microsoft.Web.Script.Services.ScriptService()]  -  The type or namespace name 'Web' does not exist in the namespace 'Microsoft'</title><link>http://forums.asp.net/thread/3521997.aspx</link><pubDate>Thu, 19 Nov 2009 13:48:01 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3521997</guid><dc:creator>Narayan L S</dc:creator><author>Narayan L S</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3521997.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1009&amp;PostID=3521997</wfw:commentRss><description>&lt;p&gt;Try adding&amp;nbsp;System.Web.Extensions DLL reference in your app it will work.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;div&gt;Sincerely,&lt;br /&gt;Narayan LS&lt;/div&gt;
&lt;div&gt;Microsoft Online Community Support&lt;br /&gt;&lt;br /&gt;Please remember to click “Mark as Answer” on the post that helps you, and to click “Mark as Not Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. &lt;/div&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: [Microsoft.Web.Script.Services.ScriptService()]  -  The type or namespace name 'Web' does not exist in the namespace 'Microsoft'</title><link>http://forums.asp.net/thread/3271115.aspx</link><pubDate>Thu, 02 Jul 2009 11:25:48 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3271115</guid><dc:creator>JamieKitson</dc:creator><author>JamieKitson</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3271115.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1009&amp;PostID=3271115</wfw:commentRss><description>&lt;p&gt;You need to install Web Services Enhancements (WSE) 2.0 SP2 for Microsoft .NET
&lt;/p&gt;&lt;p&gt;
http://www.microsoft.com/DOWNLOADS/details.aspx?familyid=FC5F06C5-821F-41D3-A4FE-6C7B56423841&amp;amp;displaylang=en&lt;/p&gt;</description></item><item><title>Re: [Microsoft.Web.Script.Services.ScriptService()]  -  The type or namespace name 'Web' does not exist in the namespace 'Microsoft'</title><link>http://forums.asp.net/thread/3266914.aspx</link><pubDate>Tue, 30 Jun 2009 15:25:29 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3266914</guid><dc:creator>snowyinmn</dc:creator><author>snowyinmn</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3266914.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1009&amp;PostID=3266914</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I was having troubles with this too - after looking on the msdn website, I noticed that you need .NET 3.5, well I&amp;#39;m running on 2.0 so I&amp;#39;m out of luck.&lt;/p&gt;</description></item><item><title>Re: [Microsoft.Web.Script.Services.ScriptService()]  -  The type or namespace name 'Web' does not exist in the namespace 'Microsoft'</title><link>http://forums.asp.net/thread/2113032.aspx</link><pubDate>Wed, 16 Jan 2008 15:38:20 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2113032</guid><dc:creator>kabrown</dc:creator><author>kabrown</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2113032.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1009&amp;PostID=2113032</wfw:commentRss><description>&lt;p&gt;Sorry for the delay.&amp;nbsp; I really don&amp;#39;t know how to answer your questions.&amp;nbsp; Like I said, I&amp;#39;m pretty new to ASP and AJAX myself and still trying to make sense of it all.&lt;/p&gt;
&lt;p&gt;A web service &amp;quot;allows distributed applications to share business logic over a network&amp;quot;.&amp;nbsp; You can use them in a variety of ways.&amp;nbsp; One of the few ways I&amp;#39;ve implemented them is using cascading dropdowns in the sample code I gave earlier.&amp;nbsp; There&amp;#39;s lots of different ways to consume a web service, but I don&amp;#39;t have much experience with them.&amp;nbsp; I did a search on consuming webservices and got tons of hits, this would probably be a better learning tool for you.&lt;/p&gt;
&lt;p&gt;As far as your specific questions about the code sample, perhaps a little more of the actual code would help make sense.&amp;nbsp; There are two drop downs.&amp;nbsp; The first has a data source and the datavaluefield is &amp;quot;RoleId&amp;quot;.&amp;nbsp; RoleId is used by the serviceMethod &amp;quot;GetEmployeesByRole&amp;quot;.&amp;nbsp; The two dropdowns are &amp;quot;tied&amp;quot; together within the&amp;nbsp;cascading dropdown&amp;#39;s code &amp;quot;parentcontrol=ddlRole&amp;quot; and &amp;quot;targetcontrol=ddlEmployee&amp;quot;.&lt;/p&gt;&lt;font size="2"&gt;
&lt;p&gt;Role: &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&amp;lt;&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;asp&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;:&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;DropDownList&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;ID&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;=&amp;quot;ddlRole&amp;quot;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;runat&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;=&amp;quot;server&amp;quot;&lt;/p&gt;&lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;
&lt;p&gt;DataSourceID&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;=&amp;quot;ods_Roles&amp;quot;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;DataTextField&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;=&amp;quot;RoleName&amp;quot;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;DataValueField&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;=&amp;quot;RoleId&amp;quot;&lt;/p&gt;&lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;OnSelectedIndexChanged&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;=&amp;quot;Page_Load&amp;quot;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;ToolTip&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;=&amp;quot;Narrow results by selecting a Role.&amp;quot;&amp;gt;&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt; 
&lt;p&gt;&amp;lt;/&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;asp&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;:&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;DropDownList&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&amp;gt;&lt;/p&gt;&lt;/font&gt;&lt;font size="2"&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Volunteer:&lt;/p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&amp;lt;&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;asp&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;:&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;DropDownList&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;ID&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;=&amp;quot;ddlEmployee&amp;quot;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;runat&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;=&amp;quot;server&amp;quot;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;ToolTip&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;=&amp;quot;Narrow results by selecting an employee(s).&amp;quot;&amp;gt;&amp;lt;/&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;asp&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;:&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;DropDownList&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&amp;gt;&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt; 
&lt;p&gt;&amp;lt;&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;ajaxToolkit&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;:&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;CascadingDropDown&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;ID&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;=&amp;quot;cddlEmployee&amp;quot;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;runat&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;=&amp;quot;server&amp;quot;&lt;/p&gt;&lt;/font&gt;&lt;font size="2"&gt;&lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;Category&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;=&amp;quot;Roles&amp;quot;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;LoadingText&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;=&amp;quot;Please wait...&amp;quot;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;ParentControlID&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;=&amp;quot;ddlRole&amp;quot;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;PromptText&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;=&amp;quot;Select a Volunteer&amp;quot;&lt;/p&gt;&lt;/font&gt;&lt;font size="2"&gt;&lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;TargetControlID&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;=&amp;quot;ddlEmployee&amp;quot;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;ServicePath&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;=&amp;quot;http://localhost:65269/OpenDoor/ODCService.asmx&amp;quot;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;ServiceMethod&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;=&amp;quot;GetEmployeesByRole&amp;quot;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;/&amp;gt;&lt;/p&gt;&lt;/font&gt;&lt;font size="2"&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;
&lt;p&gt;&amp;lt;&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;asp&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;:&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;ObjectDataSource&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;ID&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;=&amp;quot;ods_Roles&amp;quot;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;runat&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;=&amp;quot;server&amp;quot;&lt;/p&gt;&lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;
&lt;p&gt;OldValuesParameterFormatString&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;=&amp;quot;original_{0}&amp;quot;&lt;/font&gt;&lt;font size="2"&gt; &lt;/p&gt;&lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;
&lt;p&gt;SelectMethod&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;=&amp;quot;GetRoles&amp;quot;&lt;/p&gt;&lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;
&lt;p&gt;TypeName&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;=&amp;quot;dsRoleTableAdapters.RolesTableAdapter&amp;quot;&amp;gt;&lt;/p&gt;&lt;/font&gt;&lt;font size="2"&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&amp;lt;/&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;asp&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;:&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;ObjectDataSource&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&amp;gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;
&lt;p&gt;&amp;lt;&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;asp&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;:&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;Button&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;ID&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;=&amp;quot;Button2&amp;quot;&lt;/p&gt;&lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;
&lt;p&gt;runat&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;=&amp;quot;server&amp;quot;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;Text&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;=&amp;quot;Get Schedules&amp;quot;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;onClick&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;=&amp;quot;ddl_SelectedIndexChange&amp;quot;/&amp;gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;Good Luck!&lt;/p&gt;&lt;/font&gt;</description></item><item><title>Re: [Microsoft.Web.Script.Services.ScriptService()]  -  The type or namespace name 'Web' does not exist in the namespace 'Microsoft'</title><link>http://forums.asp.net/thread/2108735.aspx</link><pubDate>Mon, 14 Jan 2008 18:00:41 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2108735</guid><dc:creator>imei</dc:creator><author>imei</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2108735.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1009&amp;PostID=2108735</wfw:commentRss><description>&lt;p&gt;This is very helpful. &lt;/p&gt;
&lt;p&gt;I see that the line that invokes the webservice is ServicePath=&amp;quot;http://......&amp;quot;. Is this the only line I need to invoke a webservice?&lt;/p&gt;
&lt;p&gt;How does the parameter pass into the GetEmployeesByRole method (if it takes parameters)? &lt;/p&gt;
&lt;p&gt;Also, Where can I place this code, in ButtonClick, Pageload, or something like that? &lt;/p&gt;
&lt;p&gt;THANKS!&lt;/p&gt;</description></item><item><title>Re: [Microsoft.Web.Script.Services.ScriptService()]  -  The type or namespace name 'Web' does not exist in the namespace 'Microsoft'</title><link>http://forums.asp.net/thread/2108549.aspx</link><pubDate>Mon, 14 Jan 2008 16:27:46 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2108549</guid><dc:creator>kabrown</dc:creator><author>kabrown</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2108549.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1009&amp;PostID=2108549</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m not sure I understand exactly what you&amp;#39;re asking.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;If you have added a webservice to your project you can test it by using it&amp;#39;s URL.&amp;nbsp; For example&amp;nbsp; I have a webservice in my project called TestService.asmx.&amp;nbsp; In order to test it I use this URL:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://localhost:65269/OpenDoor/TestService.asmx"&gt;http://localhost:65269/OpenDoor/TestService.asmx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;To get the proper port, just run your project in debug which gives me:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://localhost:65269/OpenDoor/Default.asp"&gt;http://localhost:65269/OpenDoor/Default.asp&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;then just change the Default.asp to TestService.asmx&lt;/p&gt;
&lt;p&gt;In my ASP file I&amp;#39;m using the webservice in a Cascading drop down (used in the ServicePath):&lt;/p&gt;&lt;font color="#0000ff" size="2"&gt;
&lt;p&gt;&amp;lt;&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;ajaxToolkit&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;:&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;CascadingDropDown&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;ID&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;=&amp;quot;cddlEmployee&amp;quot;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;runat&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;=&amp;quot;server&amp;quot;&lt;/p&gt;&lt;/font&gt;&lt;font size="2"&gt;&lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;Category&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;=&amp;quot;Roles&amp;quot;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;LoadingText&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;=&amp;quot;Please wait...&amp;quot;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;ParentControlID&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;=&amp;quot;ddlRole&amp;quot;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;PromptText&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;=&amp;quot;Select a Volunteer&amp;quot;&lt;/p&gt;&lt;/font&gt;&lt;font size="2"&gt;&lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;TargetControlID&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;=&amp;quot;ddlEmployee&amp;quot;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;ServicePath&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;=&amp;quot;http://localhost:65269/OpenDoor/TestService.asmx&amp;quot;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;ServiceMethod&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;=&amp;quot;GetEmployeesByRole&amp;quot;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;/&amp;gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color="#0000ff" size="2"&gt;&amp;nbsp;Hope that was what you were looking for.&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;/p&gt;&lt;/font&gt;</description></item><item><title>Re: [Microsoft.Web.Script.Services.ScriptService()]  -  The type or namespace name 'Web' does not exist in the namespace 'Microsoft'</title><link>http://forums.asp.net/thread/2108405.aspx</link><pubDate>Mon, 14 Jan 2008 15:14:44 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2108405</guid><dc:creator>imei</dc:creator><author>imei</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2108405.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1009&amp;PostID=2108405</wfw:commentRss><description>&lt;p&gt;Actually you&amp;#39;re a great help! It gave confidence that what I did was fine and it turned to be the case.&amp;nbsp; The only problem was that the assembly didn&amp;#39;t come in immediately.&amp;nbsp;Much later after I added the reference,&amp;nbsp;I got a message saying that &amp;quot;web.config was modified outside....do you want to reload...&amp;quot; and I said &amp;quot;yes&amp;quot;. There, it is, the assembly showed up in my web.config file. And it works now!&lt;/p&gt;
&lt;p&gt;We need to let people know about the delay of the added reference being effective...for some reason on some cases....&lt;/p&gt;
&lt;p&gt;I do have a second question and would appreciate your help.&amp;nbsp;&amp;nbsp; Do you have a sample code to invoke the Webservice from a Browser or JS client code? I understand that I can&amp;#39;t test the Webmethod as Query String via URL with parameters passed in, although, that&amp;#39;s a preferred way for me.&lt;/p&gt;
&lt;p&gt;Many thanks again!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: [Microsoft.Web.Script.Services.ScriptService()]  -  The type or namespace name 'Web' does not exist in the namespace 'Microsoft'</title><link>http://forums.asp.net/thread/2108358.aspx</link><pubDate>Mon, 14 Jan 2008 14:49:43 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2108358</guid><dc:creator>kabrown</dc:creator><author>kabrown</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2108358.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1009&amp;PostID=2108358</wfw:commentRss><description>&lt;p&gt;I added AJAXControlToolKit.dll&lt;/p&gt;
&lt;p&gt;I am using the latest AJAX download.&amp;nbsp; I wouldn&amp;#39;t think the dll would vary from version to version.&amp;nbsp; And I didn&amp;#39;t get any hits when I searched for AJAXExtension Toolkit.dll.&lt;/p&gt;
&lt;p&gt;Sorry, not much help....&lt;/p&gt;</description></item><item><title>Re: [Microsoft.Web.Script.Services.ScriptService()]  -  The type or namespace name 'Web' does not exist in the namespace 'Microsoft'</title><link>http://forums.asp.net/thread/2108249.aspx</link><pubDate>Mon, 14 Jan 2008 13:59:53 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2108249</guid><dc:creator>imei</dc:creator><author>imei</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2108249.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1009&amp;PostID=2108249</wfw:commentRss><description>&lt;p&gt;Do you have the exact name for the AJAX Extension assembly?&amp;nbsp; When I did the steps instructed, it added &amp;quot;AJAXExtentionToolkit.dll&amp;quot; and the error message still didn&amp;#39;t go away. However, it complains about &amp;#39;Script&amp;#39;, not &amp;#39;Web&amp;#39; does not exist.&lt;/p&gt;
&lt;p&gt;Any suggestions?&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;</description></item><item><title>Re: [Microsoft.Web.Script.Services.ScriptService()]  -  The type or namespace name 'Web' does not exist in the namespace 'Microsoft'</title><link>http://forums.asp.net/thread/2100218.aspx</link><pubDate>Wed, 09 Jan 2008 21:42:46 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2100218</guid><dc:creator>kabrown</dc:creator><author>kabrown</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2100218.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1009&amp;PostID=2100218</wfw:commentRss><description>&lt;p&gt;Thanks so much for your advice -- That&amp;#39;s exactly what I needed!&lt;/p&gt;</description></item><item><title>Re: [Microsoft.Web.Script.Services.ScriptService()]  -  The type or namespace name 'Web' does not exist in the namespace 'Microsoft'</title><link>http://forums.asp.net/thread/1745106.aspx</link><pubDate>Fri, 08 Jun 2007 05:47:29 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1745106</guid><dc:creator>jamanga</dc:creator><author>jamanga</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1745106.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1009&amp;PostID=1745106</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi, &lt;/p&gt;
&lt;p&gt;I&amp;#39;m pretty new to web apps but try the following:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;div&gt;Install ASP.NET AJAX Extensions from &lt;a href="http://ajax.asp.net/downloads/default.aspx?tabid=47"&gt;http://ajax.asp.net/downloads/default.aspx?tabid=47&lt;/a&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;&amp;quot;Add Reference&amp;quot;&amp;nbsp;within your project, look for the assembly and Add it.&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;This should add the reference to your web.config file.&lt;/p&gt;</description></item><item><title>Re: [Microsoft.Web.Script.Services.ScriptService()]  -  The type or namespace name 'Web' does not exist in the namespace 'Microsoft'</title><link>http://forums.asp.net/thread/1739426.aspx</link><pubDate>Tue, 05 Jun 2007 06:57:09 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1739426</guid><dc:creator>prsuman</dc:creator><author>prsuman</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1739426.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1009&amp;PostID=1739426</wfw:commentRss><description>&lt;p&gt;Hi All Where do i get this System.web.Extensions Reference.. i Need it.. its very urgent...&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thanks in Advance&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;suman&lt;/p&gt;</description></item><item><title>Re: [Microsoft.Web.Script.Services.ScriptService()]  -  The type or namespace name 'Web' does not exist in the namespace 'Microsoft'</title><link>http://forums.asp.net/thread/1626600.aspx</link><pubDate>Mon, 19 Mar 2007 14:18:33 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1626600</guid><dc:creator>swdev</dc:creator><author>swdev</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1626600.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1009&amp;PostID=1626600</wfw:commentRss><description>&lt;p&gt;Try adding the System.Web.Extensions reference.&lt;/p&gt;</description></item><item><title>Re: [Microsoft.Web.Script.Services.ScriptService()]  -  The type or namespace name 'Web' does not exist in the namespace 'Microsoft'</title><link>http://forums.asp.net/thread/1626436.aspx</link><pubDate>Mon, 19 Mar 2007 12:23:13 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1626436</guid><dc:creator>swdev</dc:creator><author>swdev</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1626436.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1009&amp;PostID=1626436</wfw:commentRss><description>&lt;p&gt;I'm also getting the same error. I can successfully run the example project&amp;nbsp;: Make Client-Side Network Callbacks with ASP.NET AJAX" found at &lt;a href="http://www.asp.net/learn/videos/view.aspx?tabid=63&amp;amp;id=79"&gt;http://www.asp.net/learn/videos/view.aspx?tabid=63&amp;amp;id=79&lt;/a&gt;&amp;nbsp;(as mentioned above) but when I try and implement similar functionlity in another application I dont even recieve intellisence on the Microsoft.Web.Script.Services.ScriptService() call. I have doubled checked web.config files assembly references etc etc. The one thing I can say is that my application that gives the error is a Web Application Project&amp;nbsp;rather than the new Stock project model. Any help would be greatly appreciated...&lt;/p&gt;
&lt;p&gt;sw&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>