<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments for Solutek</title>
	<link>http://solutek.org</link>
	<description>Unoriginal Enough To Have Something To Say</description>
	<pubDate>Fri, 21 Nov 2008 23:05:21 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.1</generator>
		<item>
		<title>Comment on ‘WebService’ is undefined Error: ASP.NET AJAX javscript call to a web service by George</title>
		<link>http://solutek.org/2007/12/03/7/#comment-15</link>
		<dc:creator>George</dc:creator>
		<pubDate>Mon, 10 Nov 2008 02:25:54 +0000</pubDate>
		<guid>http://solutek.org/2007/12/03/7/#comment-15</guid>
		<description>This drove me crazy all day.  I had no intellisense with regard to the web services, kept getting "object undefined error", etc.  I rebuilt as a website, not a project.  This created slightly different directory structure (automatic app_code directory, for example).  It also didn't create the "web application 1" sub folder.  For whatever reason, it worked.  I think it was related somehow to the way the asmx file points to the class file -- somehow one couldn't see the other.  Now I have intellisense, everything working fine.

Wrox has a good example of it in chapter 10 of their book, the source code can be downloaded at: 

http://www.wrox.com/WileyCDA/WroxTitle/Beginning-ASP-NET-3-5-In-C-and-VB.productCd-047018759X,descCd-DOWNLOAD.html</description>
		<content:encoded><![CDATA[<p>This drove me crazy all day.  I had no intellisense with regard to the web services, kept getting &#8220;object undefined error&#8221;, etc.  I rebuilt as a website, not a project.  This created slightly different directory structure (automatic app_code directory, for example).  It also didn&#8217;t create the &#8220;web application 1&#8243; sub folder.  For whatever reason, it worked.  I think it was related somehow to the way the asmx file points to the class file &#8212; somehow one couldn&#8217;t see the other.  Now I have intellisense, everything working fine.</p>
<p>Wrox has a good example of it in chapter 10 of their book, the source code can be downloaded at: </p>
<p><a href="http://www.wrox.com/WileyCDA/WroxTitle/Beginning-ASP-NET-3-5-In-C-and-VB.productCd-047018759X,descCd-DOWNLOAD.html" rel="nofollow">http://www.wrox.com/WileyCDA/WroxTitle/Beginning-ASP-NET-3-5-In-C-and-VB.productCd-047018759X,descCd-DOWNLOAD.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on ‘WebService’ is undefined Error: ASP.NET AJAX javscript call to a web service by Vaibhav</title>
		<link>http://solutek.org/2007/12/03/7/#comment-14</link>
		<dc:creator>Vaibhav</dc:creator>
		<pubDate>Wed, 29 Oct 2008 05:59:14 +0000</pubDate>
		<guid>http://solutek.org/2007/12/03/7/#comment-14</guid>
		<description>Hi,

I used your method but issue is I am getting namespace undefined error. What is missing?

Thanks,
Vaibhav</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I used your method but issue is I am getting namespace undefined error. What is missing?</p>
<p>Thanks,<br />
Vaibhav</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on ‘WebService’ is undefined Error: ASP.NET AJAX javscript call to a web service by Knowledge with Neil &#187; Blog Archive &#187; &#8216;Webservice&#8217; is undefined effor with ASP.NET AJAX</title>
		<link>http://solutek.org/2007/12/03/7/#comment-13</link>
		<dc:creator>Knowledge with Neil &#187; Blog Archive &#187; &#8216;Webservice&#8217; is undefined effor with ASP.NET AJAX</dc:creator>
		<pubDate>Sat, 02 Aug 2008 14:11:44 +0000</pubDate>
		<guid>http://solutek.org/2007/12/03/7/#comment-13</guid>
		<description>[...] Credit where credit&#8217;s due, thanks to Omen&#8217;s blog and Ryan at Solutek. [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] Credit where credit&#8217;s due, thanks to Omen&#8217;s blog and Ryan at Solutek. [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on ‘WebService’ is undefined Error: ASP.NET AJAX javscript call to a web service by Neil Richards</title>
		<link>http://solutek.org/2007/12/03/7/#comment-12</link>
		<dc:creator>Neil Richards</dc:creator>
		<pubDate>Sat, 02 Aug 2008 13:11:44 +0000</pubDate>
		<guid>http://solutek.org/2007/12/03/7/#comment-12</guid>
		<description>Your post helped me solve the problem I was having.  However my experience was slightly different.  

I used

myNamespace.myService.myFunction (i.e. Services was unnecessary)

I have no idea why that's the case.  


Also, for completeness, you can also use 

[System.Web.Script.Services.ScriptService()] on top of the class rather than:

using System.Web.Script.Services;

and

[ScriptService]</description>
		<content:encoded><![CDATA[<p>Your post helped me solve the problem I was having.  However my experience was slightly different.  </p>
<p>I used</p>
<p>myNamespace.myService.myFunction (i.e. Services was unnecessary)</p>
<p>I have no idea why that&#8217;s the case.  </p>
<p>Also, for completeness, you can also use </p>
<p>[System.Web.Script.Services.ScriptService()] on top of the class rather than:</p>
<p>using System.Web.Script.Services;</p>
<p>and</p>
<p>[ScriptService]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on ‘WebService’ is undefined Error: ASP.NET AJAX javscript call to a web service by Ryan</title>
		<link>http://solutek.org/2007/12/03/7/#comment-11</link>
		<dc:creator>Ryan</dc:creator>
		<pubDate>Fri, 13 Jun 2008 00:26:42 +0000</pubDate>
		<guid>http://solutek.org/2007/12/03/7/#comment-11</guid>
		<description>Aakash ya because that is me posting it on that forum.  I thought I'd make a blog post about it so it's easier for people to find.</description>
		<content:encoded><![CDATA[<p>Aakash ya because that is me posting it on that forum.  I thought I&#8217;d make a blog post about it so it&#8217;s easier for people to find.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on ‘WebService’ is undefined Error: ASP.NET AJAX javscript call to a web service by Aakash Agarwal</title>
		<link>http://solutek.org/2007/12/03/7/#comment-10</link>
		<dc:creator>Aakash Agarwal</dc:creator>
		<pubDate>Thu, 12 Jun 2008 06:38:02 +0000</pubDate>
		<guid>http://solutek.org/2007/12/03/7/#comment-10</guid>
		<description>HEY!!!

COPIED FROM 

http://forums.asp.net/p/1042412/1964351.aspx</description>
		<content:encoded><![CDATA[<p>HEY!!!</p>
<p>COPIED FROM </p>
<p><a href="http://forums.asp.net/p/1042412/1964351.aspx" rel="nofollow">http://forums.asp.net/p/1042412/1964351.aspx</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on ‘WebService’ is undefined Error: ASP.NET AJAX javscript call to a web service by leonore</title>
		<link>http://solutek.org/2007/12/03/7/#comment-9</link>
		<dc:creator>leonore</dc:creator>
		<pubDate>Fri, 30 May 2008 20:13:30 +0000</pubDate>
		<guid>http://solutek.org/2007/12/03/7/#comment-9</guid>
		<description>thank you thank you thank you! You really saved my hours' crazy researching. I've been reading vs' Help doc, digging in google, but nothing came out until here... 
thanks a lot!</description>
		<content:encoded><![CDATA[<p>thank you thank you thank you! You really saved my hours&#8217; crazy researching. I&#8217;ve been reading vs&#8217; Help doc, digging in google, but nothing came out until here&#8230;<br />
thanks a lot!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on ‘WebService’ is undefined Error: ASP.NET AJAX javscript call to a web service by Ryan</title>
		<link>http://solutek.org/2007/12/03/7/#comment-8</link>
		<dc:creator>Ryan</dc:creator>
		<pubDate>Sat, 19 Apr 2008 13:33:37 +0000</pubDate>
		<guid>http://solutek.org/2007/12/03/7/#comment-8</guid>
		<description>Nice that I could be of service.  I searched forever about the problem and finally figured it out after I sat down and thought about it for long time about the differences between the site and app proj.</description>
		<content:encoded><![CDATA[<p>Nice that I could be of service.  I searched forever about the problem and finally figured it out after I sat down and thought about it for long time about the differences between the site and app proj.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on ‘WebService’ is undefined Error: ASP.NET AJAX javscript call to a web service by WayHey</title>
		<link>http://solutek.org/2007/12/03/7/#comment-7</link>
		<dc:creator>WayHey</dc:creator>
		<pubDate>Fri, 18 Apr 2008 16:48:52 +0000</pubDate>
		<guid>http://solutek.org/2007/12/03/7/#comment-7</guid>
		<description>Thank you - if only i'd googled earlier, I could have left work by now!</description>
		<content:encoded><![CDATA[<p>Thank you - if only i&#8217;d googled earlier, I could have left work by now!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on ‘WebService’ is undefined Error: ASP.NET AJAX javscript call to a web service by Paul</title>
		<link>http://solutek.org/2007/12/03/7/#comment-6</link>
		<dc:creator>Paul</dc:creator>
		<pubDate>Wed, 16 Apr 2008 22:18:19 +0000</pubDate>
		<guid>http://solutek.org/2007/12/03/7/#comment-6</guid>
		<description>Nice...... want to knw how many hours I wasted on this?</description>
		<content:encoded><![CDATA[<p>Nice&#8230;&#8230; want to knw how many hours I wasted on this?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 2.016 seconds -->
