<?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: Problem adding existing Webservice to a Web Application Project</title><link>http://forums.asp.net/thread/2715961.aspx</link><pubDate>Fri, 31 Oct 2008 02:15:07 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2715961</guid><dc:creator>mrmercury</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2715961.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1009&amp;PostID=2715961</wfw:commentRss><description>&lt;span style="mso-ansi-language:EN-US;"&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;You don’t need a reference to the webservice to used with the autocomplete extender, in your case the line should be :&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="mso-ansi-language:EN;"&gt;&lt;font face="Calibri" size="3"&gt;&amp;lt;cc1:AutoCompleteExtender ID=&amp;quot;aceUser&amp;quot; runat =&amp;quot;server&amp;quot; ServicePath =&amp;quot;&lt;b&gt;AutoComplete.asmx &lt;/b&gt;&amp;quot; TargetControlID =&amp;quot;txtEditUserName&amp;quot; ServiceMethod =&amp;quot;GetCompletionList&amp;quot; EnableCaching =&amp;quot;true&amp;quot;&amp;gt;&amp;lt;/cc1:AutoCompleteExtender&amp;gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="mso-ansi-language:EN-US;"&gt;&lt;/span&gt; 
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Problem adding existing Webservice to a Web Application Project</title><link>http://forums.asp.net/thread/2715899.aspx</link><pubDate>Fri, 31 Oct 2008 01:06:06 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2715899</guid><dc:creator>vikaskolluri</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2715899.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1009&amp;PostID=2715899</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;sorry about my poor terminology. I have added the web service application to the project, added web reference.After doing this, a new folder is created &amp;quot;App_WebReferences&amp;quot; under that a localhost folder is created and 3 files are there. &lt;/p&gt;&lt;p&gt;AutoComplete.disco&lt;/p&gt;&lt;p&gt;AutoComplete.discomap&lt;/p&gt;&lt;p&gt;AutoComplete.wsdl &lt;br /&gt;&lt;/p&gt;&lt;p&gt;I can access the web service in a browser, the web service returns the data which is expected. I am using it with a autocompleteextender. Which path do I need to mention in the ScriptManager tag:&lt;/p&gt;&lt;p&gt;&amp;lt;asp:ScriptManager ID=&amp;quot;ScriptManager1&amp;quot; runat=&amp;quot;server&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Services&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;asp:ServiceReference Path =&amp;quot;AutoComplete.asmx&amp;quot; /&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/Services&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/asp:ScriptManager&amp;gt;&lt;/p&gt;&lt;p&gt;Also, which path do I need to mention in the service path for the following line:&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;lt;cc1:AutoCompleteExtender ID=&amp;quot;aceUser&amp;quot; runat =&amp;quot;server&amp;quot; ServicePath =&amp;quot;&lt;b&gt;&amp;lt; &amp;gt; &lt;/b&gt;&amp;quot; TargetControlID =&amp;quot;txtEditUserName&amp;quot; ServiceMethod =&amp;quot;GetCompletionList&amp;quot; EnableCaching =&amp;quot;true&amp;quot;&amp;gt;&amp;lt;/cc1:AutoCompleteExtender&amp;gt; &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;lt;asp:ServiceReference Path =&amp;quot;AutoComplete.asmx&amp;quot; /&amp;gt; &lt;/p&gt;&lt;p&gt;Thanks a lot for your help. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Problem adding existing Webservice to a Web Application Project</title><link>http://forums.asp.net/thread/2715886.aspx</link><pubDate>Fri, 31 Oct 2008 00:54:17 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2715886</guid><dc:creator>johnwsaunders3</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2715886.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1009&amp;PostID=2715886</wfw:commentRss><description>&lt;p&gt;Have you added a web reference to the service? Right-click your WAP and use &amp;quot;Add Web Reference&amp;quot;.&lt;/p&gt;
&lt;p&gt;Also, let&amp;#39;s please stop saying &amp;quot;when I hit F5&amp;quot;. The effect of F5 can differ depending on what you have selected. Instead, let&amp;#39;s start right-clicking on projects and using &amp;quot;Debug-&amp;gt;Start new instance&amp;quot;.&lt;/p&gt;</description></item><item><title>Re: Problem adding existing Webservice to a Web Application Project</title><link>http://forums.asp.net/thread/2715875.aspx</link><pubDate>Fri, 31 Oct 2008 00:36:04 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2715875</guid><dc:creator>vikaskolluri</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2715875.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1009&amp;PostID=2715875</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;missed your question in the previous post: &lt;/p&gt;&lt;p&gt;I have tried to access the web service in browser and I still get the same error.&amp;nbsp;&lt;/p&gt;&lt;p&gt;As I said, I have created one Web service application from&amp;nbsp;&lt;/p&gt;&lt;p&gt;File&amp;gt; New &amp;gt; Project&amp;gt; ASP.NET Web Services Application , I have successfully created and can run and get the data using the web service. I have added that to my solution. Can u pls advise on how to consume that web service in my Web Application Project.. Thanks for all your help..&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Problem adding existing Webservice to a Web Application Project</title><link>http://forums.asp.net/thread/2715868.aspx</link><pubDate>Fri, 31 Oct 2008 00:24:18 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2715868</guid><dc:creator>vikaskolluri</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2715868.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1009&amp;PostID=2715868</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;When I hit rebuild, again the same error. Could not create type test. While trying out on this. I have created one Web service application separately and tried to include all the methods in the existing web service and its created successfully now. I want to include this web service application in my project. I did the following steps:&lt;/p&gt;&lt;p&gt;Right click on my WAP solution &amp;gt; add existing project, browsed the project and added the project in my app. How do I use the web service application methods in my .aspx pages??&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Problem adding existing Webservice to a Web Application Project</title><link>http://forums.asp.net/thread/2715861.aspx</link><pubDate>Fri, 31 Oct 2008 00:09:42 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2715861</guid><dc:creator>johnwsaunders3</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2715861.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1009&amp;PostID=2715861</wfw:commentRss><description>&lt;p&gt;Forget about F5. Right-click the web service project and choose &amp;quot;Rebuild&amp;quot;. Then try F5.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;And have you ever tried accessing the service from a browser like I asked?&lt;/p&gt;</description></item><item><title>Re: Problem adding existing Webservice to a Web Application Project</title><link>http://forums.asp.net/thread/2715858.aspx</link><pubDate>Fri, 31 Oct 2008 00:05:28 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2715858</guid><dc:creator>vikaskolluri</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2715858.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1009&amp;PostID=2715858</wfw:commentRss><description>&lt;p&gt;the name of the existing web service I am planning to use is AutoComplete. The webservice tag in that file is:&lt;/p&gt;&lt;p&gt;&amp;lt;%@ WebService Language=&amp;quot;C#&amp;quot; CodeBehind=&amp;quot;~/AutoComplete.cs&amp;quot; Class=&amp;quot;AutoComplete&amp;quot; %&amp;gt;&lt;/p&gt;&lt;p&gt;Since, that didnt work out, I created a new web service called test. tag is as follows:&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;lt;%@ WebService Language=&amp;quot;C#&amp;quot; CodeBehind=&amp;quot;~/Test.cs&amp;quot; Class=&amp;quot;Test&amp;quot; %&amp;gt; &lt;/p&gt;&lt;p&gt;both of them didnt work in my case.. Pls advise.. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Problem adding existing Webservice to a Web Application Project</title><link>http://forums.asp.net/thread/2715854.aspx</link><pubDate>Fri, 31 Oct 2008 00:01:46 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2715854</guid><dc:creator>mrmercury</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2715854.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1009&amp;PostID=2715854</wfw:commentRss><description>&lt;p&gt;Try changing the tag to:&lt;/p&gt;
&lt;p&gt;&amp;lt;%@ WebService Language=&amp;quot;C#&amp;quot; CodeBehind=&amp;quot;~/AutoComplete.cs&amp;quot; Class=&amp;quot;AutoComplete&amp;quot; %&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Since that seems to be the name of the .asmx file.&lt;/p&gt;</description></item><item><title>Re: Problem adding existing Webservice to a Web Application Project</title><link>http://forums.asp.net/thread/2715848.aspx</link><pubDate>Thu, 30 Oct 2008 23:58:51 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2715848</guid><dc:creator>vikaskolluri</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2715848.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1009&amp;PostID=2715848</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="margin:15px 15px 15px 30px;width:95%;"&gt;&lt;div&gt;
      &lt;p&gt;Are the web service and the Web Application Project in the same solution?&lt;/p&gt;&lt;p&gt;&lt;b&gt;Yes, they are in the same solution. &lt;/b&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;What version of Visual Studio are you using, and what edition (Express, Professional, etc.)&lt;/p&gt;&lt;p&gt;&lt;b&gt;VS2005 Team Edition for Software Developers with SP1 Installed.&lt;/b&gt; &lt;br /&gt;&lt;/p&gt;&lt;p&gt;Have you done a full build of the web service? Can you access the web service URL through a browser?&lt;/p&gt;&lt;p&gt;&lt;b&gt;I could not build the page cos when I hit F5, it pops up with the error &amp;quot;Could not create type test&amp;quot; &lt;/b&gt;&lt;/p&gt;&lt;p&gt;The web service test is the one I have created to test whether any new web service added to the WAP works or not. &lt;br /&gt;&lt;/p&gt;
    &lt;/div&gt;&lt;/div&gt;</description></item><item><title>Re: Problem adding existing Webservice to a Web Application Project</title><link>http://forums.asp.net/thread/2715847.aspx</link><pubDate>Thu, 30 Oct 2008 23:58:29 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2715847</guid><dc:creator>vikaskolluri</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2715847.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1009&amp;PostID=2715847</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;To be more specific about my case. I have a web application project which is converted from VS2003. The solution was compiled/built on a different computer and sent to me. Please note that the virtual directory is created under c:\inetpub\wwwroot. On my computer VS.NET is installed on D drive and so I copied the files to &lt;b&gt;c:\inetpub\wwwroot &lt;/b&gt;folder&lt;b&gt; &lt;/b&gt;and opened in my&lt;b&gt; &lt;/b&gt;vs.net. I have added new aspx pages to the project and made lot of changes to it. Everything executes fine. But not this web service I created. Hope this helps.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Problem adding existing Webservice to a Web Application Project</title><link>http://forums.asp.net/thread/2715844.aspx</link><pubDate>Thu, 30 Oct 2008 23:54:23 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2715844</guid><dc:creator>vikaskolluri</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2715844.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1009&amp;PostID=2715844</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="margin:15px 15px 15px 30px;width:95%;"&gt;&lt;div&gt;
      &lt;p&gt;Are the web service and the Web Application Project in the same solution?&lt;/p&gt;&lt;p&gt;&lt;b&gt;Yes, they are in the same solution. &lt;/b&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;What version of Visual Studio are you using, and what edition (Express, Professional, etc.)&lt;/p&gt;&lt;p&gt;&lt;b&gt;VS2005 Team Edition for Software Developers with SP1 Installed.&lt;/b&gt; &lt;br /&gt;&lt;/p&gt;&lt;p&gt;Have you done a full build of the web service? Can you access the web service URL through a browser?&lt;/p&gt;&lt;p&gt;&lt;b&gt;I could not build the page cos when I hit F5, it pops up with the error &amp;quot;Could not create type test&amp;quot; &lt;/b&gt;&lt;/p&gt;&lt;p&gt;The web service test is the one I have created to test whether any new web service added to the WAP works or not. &lt;br /&gt;&lt;/p&gt;
    &lt;/div&gt;&lt;/div&gt;</description></item><item><title>Re: Problem adding existing Webservice to a Web Application Project</title><link>http://forums.asp.net/thread/2715841.aspx</link><pubDate>Thu, 30 Oct 2008 23:49:47 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2715841</guid><dc:creator>johnwsaunders3</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2715841.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1009&amp;PostID=2715841</wfw:commentRss><description>&lt;p&gt;Are the web service and the Web Application Project in the same solution?&lt;/p&gt;
&lt;p&gt;What version of Visual Studio are you using, and what edition (Express, Professional, etc.)&lt;/p&gt;
&lt;p&gt;Have you done a full build of the web service? Can you access the web service URL through a browser?&lt;/p&gt;</description></item><item><title>Re: Problem adding existing Webservice to a Web Application Project</title><link>http://forums.asp.net/thread/2715840.aspx</link><pubDate>Thu, 30 Oct 2008 23:49:46 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2715840</guid><dc:creator>mrmercury</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2715840.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1009&amp;PostID=2715840</wfw:commentRss><description>&lt;span style="mso-ansi-language:EN-US;"&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;I think you have a problem with the classes’ names, from you first post the WebService seems to be named AutoComplete, but in your codebehind file it’s named Test.&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;</description></item><item><title>Re: Problem adding existing Webservice to a Web Application Project</title><link>http://forums.asp.net/thread/2715835.aspx</link><pubDate>Thu, 30 Oct 2008 23:43:25 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2715835</guid><dc:creator>vikaskolluri</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2715835.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1009&amp;PostID=2715835</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;My web service tag is given below: &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;lt;%@ WebService Language=&amp;quot;C#&amp;quot; CodeBehind=&amp;quot;~/Test.cs&amp;quot; Class=&amp;quot;Test&amp;quot; %&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;I could see that in every page, the page directive is Inherits = &amp;quot;&amp;lt;projectdll&amp;gt;.&amp;lt;pagename&amp;gt;. Does this has to do some thing with the problem. any ideas???&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Problem adding existing Webservice to a Web Application Project</title><link>http://forums.asp.net/thread/2715820.aspx</link><pubDate>Thu, 30 Oct 2008 23:31:46 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2715820</guid><dc:creator>johnwsaunders3</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2715820.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1009&amp;PostID=2715820</wfw:commentRss><description>&lt;p&gt;Is the existing service built, up and running? Can you access it through a browser?&lt;/p&gt;</description></item></channel></rss>