<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Calling A Web Service From SQL Server 2005</title>
	<atom:link href="http://blog.hoegaerden.be/2008/11/11/calling-a-web-service-from-sql-server-2005/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.hoegaerden.be/2008/11/11/calling-a-web-service-from-sql-server-2005/</link>
	<description>SQL Server, BI, .NET, IT and anything else I have been playing with.</description>
	<lastBuildDate>Sat, 04 Feb 2012 12:25:12 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Valentino Vranken</title>
		<link>http://blog.hoegaerden.be/2008/11/11/calling-a-web-service-from-sql-server-2005/comment-page-1/#comment-3963</link>
		<dc:creator>Valentino Vranken</dc:creator>
		<pubDate>Sat, 07 Jan 2012 11:29:40 +0000</pubDate>
		<guid isPermaLink="false">http://blog.hoegaerden.be/2008/11/11/calling-a-web-service-from-sql-server-2005/#comment-3963</guid>
		<description>Good to know, thanks for reporting back! :)</description>
		<content:encoded><![CDATA[<p>Good to know, thanks for reporting back! <img src='http://blog.hoegaerden.be/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Johnny</title>
		<link>http://blog.hoegaerden.be/2008/11/11/calling-a-web-service-from-sql-server-2005/comment-page-1/#comment-3962</link>
		<dc:creator>Johnny</dc:creator>
		<pubDate>Fri, 06 Jan 2012 06:47:06 +0000</pubDate>
		<guid isPermaLink="false">http://blog.hoegaerden.be/2008/11/11/calling-a-web-service-from-sql-server-2005/#comment-3962</guid>
		<description>Hi Valentino,

You were spot on.

Thanks</description>
		<content:encoded><![CDATA[<p>Hi Valentino,</p>
<p>You were spot on.</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Valentino Vranken</title>
		<link>http://blog.hoegaerden.be/2008/11/11/calling-a-web-service-from-sql-server-2005/comment-page-1/#comment-3961</link>
		<dc:creator>Valentino Vranken</dc:creator>
		<pubDate>Thu, 05 Jan 2012 17:31:21 +0000</pubDate>
		<guid isPermaLink="false">http://blog.hoegaerden.be/2008/11/11/calling-a-web-service-from-sql-server-2005/#comment-3961</guid>
		<description>Hi Johnny,

According to the Books Online, the SET NOCOUNT option &quot;stops the message that shows the count of the number of rows affected by a Transact-SQL statement or stored procedure from being returned as part of the result set&quot;.

As we&#039;re calling the custom stored proc using T-SQL, I would think that the setting would indeed also do its thing here.  Unfortunately I&#039;m not able to try this out at the moment, maybe you can confirm? :)

Regards,
Valentino.</description>
		<content:encoded><![CDATA[<p>Hi Johnny,</p>
<p>According to the Books Online, the SET NOCOUNT option &#8220;stops the message that shows the count of the number of rows affected by a Transact-SQL statement or stored procedure from being returned as part of the result set&#8221;.</p>
<p>As we&#8217;re calling the custom stored proc using T-SQL, I would think that the setting would indeed also do its thing here.  Unfortunately I&#8217;m not able to try this out at the moment, maybe you can confirm? <img src='http://blog.hoegaerden.be/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Regards,<br />
Valentino.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Johnny</title>
		<link>http://blog.hoegaerden.be/2008/11/11/calling-a-web-service-from-sql-server-2005/comment-page-1/#comment-3960</link>
		<dc:creator>Johnny</dc:creator>
		<pubDate>Thu, 05 Jan 2012 12:24:38 +0000</pubDate>
		<guid isPermaLink="false">http://blog.hoegaerden.be/2008/11/11/calling-a-web-service-from-sql-server-2005/#comment-3960</guid>
		<description>This article does make this whole process very easy.
I would like to know is it possible to suppress the number of records that are affected from being displayed like when you use SET NOCOUNT ON in standard stored procedure?

Thanks</description>
		<content:encoded><![CDATA[<p>This article does make this whole process very easy.<br />
I would like to know is it possible to suppress the number of records that are affected from being displayed like when you use SET NOCOUNT ON in standard stored procedure?</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SQL CLR Stored Procedure and Web Service</title>
		<link>http://blog.hoegaerden.be/2008/11/11/calling-a-web-service-from-sql-server-2005/comment-page-1/#comment-3873</link>
		<dc:creator>SQL CLR Stored Procedure and Web Service</dc:creator>
		<pubDate>Mon, 24 Oct 2011 09:36:49 +0000</pubDate>
		<guid isPermaLink="false">http://blog.hoegaerden.be/2008/11/11/calling-a-web-service-from-sql-server-2005/#comment-3873</guid>
		<description>[...] http://blog.hoegaerden.be/2008/11/11/calling-a-web-service-from-sql-server-2005/ [...]</description>
		<content:encoded><![CDATA[<p>[...] <a href="http://blog.hoegaerden.be/2008/11/11/calling-a-web-service-from-sql-server-2005/">http://blog.hoegaerden.be/2008/11/11/calling-a-web-service-from-sql-server-2005/</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tory burch boots sale</title>
		<link>http://blog.hoegaerden.be/2008/11/11/calling-a-web-service-from-sql-server-2005/comment-page-1/#comment-3832</link>
		<dc:creator>tory burch boots sale</dc:creator>
		<pubDate>Thu, 22 Sep 2011 06:49:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.hoegaerden.be/2008/11/11/calling-a-web-service-from-sql-server-2005/#comment-3832</guid>
		<description>thanks ,it is useful for me right now.
it confused me for a long time.</description>
		<content:encoded><![CDATA[<p>thanks ,it is useful for me right now.<br />
it confused me for a long time.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mehdi</title>
		<link>http://blog.hoegaerden.be/2008/11/11/calling-a-web-service-from-sql-server-2005/comment-page-1/#comment-3776</link>
		<dc:creator>Mehdi</dc:creator>
		<pubDate>Mon, 08 Aug 2011 04:19:41 +0000</pubDate>
		<guid isPermaLink="false">http://blog.hoegaerden.be/2008/11/11/calling-a-web-service-from-sql-server-2005/#comment-3776</guid>
		<description>thanks, very clear and very useful.

but I have a question. I want to set my web service url dynamically. as you mentioned about sqlserv.exex.config. but when I use your code to access read the configuration file using ConnectionManager, it is not defined in my C# project. how can I use ConectionManager in the project. I also wrote in using part the following code:
Using system.configuration

but it does not work.

it would be appreciated if help me to solve the problem.

Thanks and Regards.</description>
		<content:encoded><![CDATA[<p>thanks, very clear and very useful.</p>
<p>but I have a question. I want to set my web service url dynamically. as you mentioned about sqlserv.exex.config. but when I use your code to access read the configuration file using ConnectionManager, it is not defined in my C# project. how can I use ConectionManager in the project. I also wrote in using part the following code:<br />
Using system.configuration</p>
<p>but it does not work.</p>
<p>it would be appreciated if help me to solve the problem.</p>
<p>Thanks and Regards.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SQL learning</title>
		<link>http://blog.hoegaerden.be/2008/11/11/calling-a-web-service-from-sql-server-2005/comment-page-1/#comment-3324</link>
		<dc:creator>SQL learning</dc:creator>
		<pubDate>Fri, 14 Jan 2011 04:57:56 +0000</pubDate>
		<guid isPermaLink="false">http://blog.hoegaerden.be/2008/11/11/calling-a-web-service-from-sql-server-2005/#comment-3324</guid>
		<description>Wow good thing I found your blog. I&#039;m a student and I&#039;m working for a website using apsx with SQL server 2005! thank you thank you!</description>
		<content:encoded><![CDATA[<p>Wow good thing I found your blog. I&#8217;m a student and I&#8217;m working for a website using apsx with SQL server 2005! thank you thank you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: A Developer&#039;s Blog &#183; 2011</title>
		<link>http://blog.hoegaerden.be/2008/11/11/calling-a-web-service-from-sql-server-2005/comment-page-1/#comment-3314</link>
		<dc:creator>A Developer&#039;s Blog &#183; 2011</dc:creator>
		<pubDate>Sat, 08 Jan 2011 14:00:53 +0000</pubDate>
		<guid isPermaLink="false">http://blog.hoegaerden.be/2008/11/11/calling-a-web-service-from-sql-server-2005/#comment-3314</guid>
		<description>[...] articles in my Top 10 of 2010.&#160; At number one, still an article that I wrote back in 2008: Calling a web service from SQL Server 2005.&#160; I have a feeling that this will be different next year, because two other posts have pushed [...]</description>
		<content:encoded><![CDATA[<p>[...] articles in my Top 10 of 2010.&#160; At number one, still an article that I wrote back in 2008: Calling a web service from SQL Server 2005.&#160; I have a feeling that this will be different next year, because two other posts have pushed [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SAMIR</title>
		<link>http://blog.hoegaerden.be/2008/11/11/calling-a-web-service-from-sql-server-2005/comment-page-1/#comment-3273</link>
		<dc:creator>SAMIR</dc:creator>
		<pubDate>Fri, 17 Dec 2010 10:39:06 +0000</pubDate>
		<guid isPermaLink="false">http://blog.hoegaerden.be/2008/11/11/calling-a-web-service-from-sql-server-2005/#comment-3273</guid>
		<description>I&#039;m getting following error on executing Stored Procedure-

Msg 6522, Level 16, State 1, Procedure usp_GetWeatherByZipCode, Line 0
A .NET Framework error occurred during execution of user defined routine or aggregate &#039;usp_GetWeatherByZipCode&#039;: 
System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a receive. ---&gt; System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---&gt; System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
System.Net.Sockets.SocketException: 
   at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
System.IO.IOException: 
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Connection.SyncRead(HttpWebRequest request, Boolean userRetrievedStream, Boolean probeRead)
System.Net.WebException: 
   at System.Web.Services.Protocols.WebClientProtocol.GetWebResponse(WebRequest request)
   at System.Web.Services.Protocols.HttpWebClientProtocol.GetWebResponse(WebRequest request)
   at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
   at WebServiceFromDB.com.cdyne.ws.Weather.GetCityWeatherByZIP(String ZIP)
   at StoredProcedures.WeatherSP(String zipCode)
.

(1 row(s) affected)</description>
		<content:encoded><![CDATA[<p>I&#8217;m getting following error on executing Stored Procedure-</p>
<p>Msg 6522, Level 16, State 1, Procedure usp_GetWeatherByZipCode, Line 0<br />
A .NET Framework error occurred during execution of user defined routine or aggregate &#8216;usp_GetWeatherByZipCode&#8217;:<br />
System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a receive. &#8212;&gt; System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. &#8212;&gt; System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host<br />
System.Net.Sockets.SocketException:<br />
   at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)<br />
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)<br />
System.IO.IOException:<br />
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)<br />
   at System.Net.PooledStream.Read(Byte[] buffer, Int32 offset, Int32 size)<br />
   at System.Net.Connection.SyncRead(HttpWebRequest request, Boolean userRetrievedStream, Boolean probeRead)<br />
System.Net.WebException:<br />
   at System.Web.Services.Protocols.WebClientProtocol.GetWebResponse(WebRequest request)<br />
   at System.Web.Services.Protocols.HttpWebClientProtocol.GetWebResponse(WebRequest request)<br />
   at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)<br />
   at WebServiceFromDB.com.cdyne.ws.Weather.GetCityWeatherByZIP(String ZIP)<br />
   at StoredProcedures.WeatherSP(String zipCode)<br />
.</p>
<p>(1 row(s) affected)</p>
]]></content:encoded>
	</item>
</channel>
</rss>

