<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/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>Web Services</title><link>https://www.infopathdev.com:443/forums/48.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: How to work with SQL stored procedure with InfoPath using SQL webservice</title><link>https://www.infopathdev.com:443/forums/thread/60851.aspx</link><pubDate>Fri, 29 Oct 2010 10:03:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:60851</guid><dc:creator>Sohaib Khan</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/60851.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=60851</wfw:commentRss><description>I&amp;#39;ve resolved this issue by assigning Full Trust in the infopath forms</description></item><item><title>How to work with SQL stored procedure with InfoPath using SQL webservice</title><link>https://www.infopathdev.com:443/forums/thread/60850.aspx</link><pubDate>Fri, 29 Oct 2010 08:07:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:60850</guid><dc:creator>Sohaib Khan</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/60850.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=60850</wfw:commentRss><description>&lt;p&gt;Hi, I&amp;#39;ve developed a SQL Server based webservice (SOAP) &lt;/p&gt;
&lt;p&gt;&lt;br /&gt;/****** Object:&amp;nbsp; Endpoint [SQL_Test]&amp;nbsp;&amp;nbsp;&amp;nbsp; Script Date: 10/28/2010 11:22:48 ******/&lt;br /&gt;CREATE ENDPOINT [SQL_Test] &lt;br /&gt;&amp;nbsp;AUTHORIZATION [DOMAIN\user]&lt;br /&gt;&amp;nbsp;STATE=STARTED&lt;br /&gt;&amp;nbsp;AS HTTP (PATH=N&amp;#39;/Test&amp;#39;, PORTS = (CLEAR), AUTHENTICATION = (NTLM), SITE=N&amp;#39;xxx.xxx.x.xxx&amp;#39;, CLEAR_PORT = xx, COMPRESSION=DISABLED)&lt;br /&gt;&amp;nbsp;FOR SOAP (&lt;br /&gt;WEBMETHOD &amp;#39;GetCountries&amp;#39;( NAME=N&amp;#39;[TestDatabase].[dbo].[GetCountries]&amp;#39;&lt;br /&gt;, SCHEMA=DEFAULT&lt;br /&gt;, FORMAT=ALL_RESULTS), BATCHES=DISABLED, WSDL=N&amp;#39;[master].[sys].[sp_http_generate_wsdl_defaultcomplexorsimple]&amp;#39;, SESSIONS=DISABLED, SESSION_TIMEOUT=60, DATABASE=N&amp;#39;TestDatabase&amp;#39;, NAMESPACE=N&amp;#39;http://TestDatabase&amp;#39;, SCHEMA=STANDARD, CHARACTER_SET=XML)&lt;/p&gt;
&lt;p&gt;Then, I created a new Blank InfoPath form. I added my webservice in DataSource. In DataSource, I clicked on field1 drop down and selected Drop Down List. When i try to Preview, it gives me following error: &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&amp;quot;The query cannot be run for the following DataObject: GetCountries InfoPath cannot run the specified query. Access is denied.&amp;quot; &lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;May i know the reason please ?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thanks&lt;/p&gt;</description></item></channel></rss>