<?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>Data Connections</title><link>https://www.infopathdev.com:443/forums/44.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: InfoPath 2010 form with REST call gives error when published to SharePoint 2010</title><link>https://www.infopathdev.com:443/forums/thread/91880.aspx</link><pubDate>Fri, 02 Aug 2013 09:59:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:91880</guid><dc:creator>RaYvA</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/91880.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=91880</wfw:commentRss><description>When you see...&lt;/p&gt;

&amp;#39;a [REST/OTHER] call to a service ON ANOTHER [Sharepoint/non-Sharepoint] SERVER&amp;#39; - It&amp;#39;s 90% of the time authentication.&lt;/p&gt;
Then &amp;#39;When I run the form in InfoPath 2010 Designer, the REST calls work fine.&amp;#39; - Everything on the desktop works fine, it&amp;#39;s 99% of the time authentication.&lt;/p&gt;
And then &amp;#39;When I publish the form to SharePoint, I get an error when the form loads&amp;#39; - Client to Server to Server calls - 100% authentication&lt;/p&gt;
Anonymous calls to REST services should work fine btw.&lt;/p&gt;
Check this post for more details (if you haven&amp;#39;t already started a little research) http://blogs.msdn.com/b/besidethepoint/archive/2010/05/09/double-hop-authentication-why-ntlm-fails-and-kerberos-works.aspx&lt;/p&gt;
I have this issue in my current environment, multiple farms, multiple site collections, numerous servers and everyone wants to share data! It&amp;#39;s horrific!&lt;/p&gt;
Plan for Kerberos authentication (SharePoint Server 2010) - http://technet.microsoft.com/en-us/library/ee806870(v=office.14).aspx#section1&lt;/p&gt;
Configuring Kerberos Authentication for Microsoft SharePoint 2010 Products - http://www.microsoft.com/en-us/download/details.aspx?id=23176</description></item><item><title>Re: InfoPath 2010 form with REST call gives error when published to SharePoint 2010</title><link>https://www.infopathdev.com:443/forums/thread/91856.aspx</link><pubDate>Fri, 02 Aug 2013 05:50:32 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:91856</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/91856.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=91856</wfw:commentRss><description>&lt;p&gt;Thanks RaYvA. We&amp;#39;re seeing more issues with REST these days. I wonder if it&amp;#39;s because of this....&lt;/p&gt;</description></item><item><title>Re: InfoPath 2010 form with REST call gives error when published to SharePoint 2010</title><link>https://www.infopathdev.com:443/forums/thread/91791.aspx</link><pubDate>Tue, 30 Jul 2013 22:59:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:91791</guid><dc:creator>RaYvA</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/91791.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=91791</wfw:commentRss><description>It is quiet possible that this is related to the &amp;#39;Double Hop&amp;#39; issue because you do not having Kerberos enabled!

If you have more than one server and you create a REST data source/call to a list on another server Sharepoint is unable pass your credentials on when using the default NTLM authentication mechanism.

Setting up Kerberos in your environment isn&amp;#39;t a tivial thing and can be quiet complicated (depending on your environment that is!).</description></item><item><title>Re: InfoPath 2010 form with REST call gives error when published to SharePoint 2010</title><link>https://www.infopathdev.com:443/forums/thread/89120.aspx</link><pubDate>Mon, 22 Apr 2013 20:32:51 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:89120</guid><dc:creator>msmithmis</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/89120.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=89120</wfw:commentRss><description>&lt;p&gt;Thanks for responding, Patrick.&amp;nbsp; When I put the URL in a browser it responds with the correct answer.&amp;nbsp; It works from a local browser and from a browser on the SharePoint server and on the web service server.&amp;nbsp;&lt;/p&gt;&lt;p&gt;It&amp;#39;s a simple call: ServerName/BiwebServices/WHSDataService.svc/GetDeliveryTotalNumber&lt;/p&gt;&lt;p&gt;Returns:&lt;/p&gt;&lt;p&gt;&lt;font color="#0000ff"&gt;&lt;span class="m"&gt;&amp;lt;?&lt;/span&gt;&lt;span class="pi"&gt;xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;utf-8&amp;quot; 
&lt;/span&gt;&lt;span class="m"&gt;?&amp;gt;&lt;/span&gt;&lt;/font&gt; 
&lt;/p&gt;&lt;div class="e"&gt;
&lt;div style="text-indent:-2em;margin-left:1em;"&gt;&lt;span class="b"&gt;&lt;strong&gt;&lt;font color="#ff0000" face="Courier New"&gt; &lt;/font&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/font&gt;&lt;/span&gt;&lt;span class="t"&gt;&lt;font color="#990000"&gt;d:GetDeliveryTotalNumber&lt;/font&gt;&lt;/span&gt;&lt;span class="ns"&gt;&lt;font color="#ff0000"&gt; 
xmlns:d&lt;/font&gt;&lt;/span&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;=&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;b class="ns"&gt;&lt;font color="#ff0000"&gt;http://schemas.microsoft.com/ado/2007/08/dataservices&lt;/font&gt;&lt;/b&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;span class="ns"&gt;&lt;font color="#ff0000"&gt; xmlns:m&lt;/font&gt;&lt;/span&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;=&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;b class="ns"&gt;&lt;font color="#ff0000"&gt;http://schemas.microsoft.com/ado/2007/08/dataservices/metadata&lt;/font&gt;&lt;/b&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;span class="t"&gt;&lt;font color="#990000"&gt; m:type&lt;/font&gt;&lt;/span&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;=&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;b&gt;Edm.Double&lt;/b&gt;&lt;font color="#0000ff"&gt;&lt;span class="m"&gt;&amp;quot;&lt;/span&gt;&lt;span class="m"&gt;&amp;gt;&lt;/span&gt;&lt;/font&gt;&lt;span class="tx"&gt;&lt;strong&gt;4&lt;/strong&gt;&lt;/span&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;lt;/&lt;/font&gt;&lt;/span&gt;&lt;span class="t"&gt;&lt;font color="#990000"&gt;d:GetDeliveryTotalNumber&lt;/font&gt;&lt;/span&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&amp;gt;&lt;/font&gt;&lt;/span&gt; &lt;/div&gt;&lt;div style="text-indent:-2em;margin-left:1em;"&gt;&amp;nbsp;&lt;/div&gt;&lt;div style="text-indent:-2em;margin-left:1em;"&gt;&amp;nbsp; Am I missing something?&amp;nbsp; Is it because I created&amp;nbsp;the form from the SP list as the edit form?&amp;nbsp; Is there a sharepoint server setting I need?&amp;nbsp; If there are any settings you want me to check or code to provide let me know.&amp;nbsp;&lt;/div&gt;&lt;/div&gt;</description></item><item><title>Re: InfoPath 2010 form with REST call gives error when published to SharePoint 2010</title><link>https://www.infopathdev.com:443/forums/thread/89061.aspx</link><pubDate>Sun, 21 Apr 2013 16:51:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:89061</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/89061.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=89061</wfw:commentRss><description>&lt;p&gt;Try to paste the URL for the REST query into your browser. What do you get? If this fails, it&amp;#39;s not related to InfoPath but rather how your server is configured.&lt;/p&gt;</description></item><item><title>InfoPath 2010 form with REST call gives error when published to SharePoint 2010</title><link>https://www.infopathdev.com:443/forums/thread/89011.aspx</link><pubDate>Thu, 18 Apr 2013 18:14:51 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:89011</guid><dc:creator>msmithmis</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/89011.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=89011</wfw:commentRss><description>&lt;p&gt;I created an Infopath 2010 form based on a SharePoint 2010 list.&amp;nbsp; I did this by clikcing on the &amp;quot;Customize form [in InfoPath]&amp;quot; button on the List Tootls &amp;gt; List menu.&amp;nbsp; I added a REST call to a service on another, non-Sharepoint server.&amp;nbsp; When I run the form in InfoPath 2010 Designer, the REST calls work fine.&amp;nbsp; When I publish the form to SharePoint, I get an error when the form loads.&amp;nbsp; Without the REST calls, the form works fine in SharePoint.&lt;/p&gt;&lt;p&gt;The error on the client browser is &amp;quot;XML data that is required for this form to function correctly cannot be found.&amp;quot;&amp;nbsp;&amp;nbsp; When I check the SP server for the corresponding error, it says:&amp;nbsp; &amp;quot;The form cannot run the specified query. The remote server returned an error: (404) Not Found&amp;quot;.&lt;/p&gt;&lt;p&gt;The data connections were all converted to udcx Connection Files and posted on the same site that the form is published to.&lt;/p&gt;&lt;p&gt;When I run just the rest call from a browser on my client or on the Sharepoint server, it returns the correct value. But from SP, the form just errors out.&lt;/p&gt;&lt;p&gt;If I run the form from SharePoint on the SharePoint server itself, it fails when I use //&amp;lt;servername&amp;gt;/sitepages/form.aspx but the form and REST work fine if I instead use localhost from the sharepoint server: //localhost/sitepages/form.aspx.&amp;nbsp; I don&amp;#39;t know how to fix this.&lt;/p&gt;&lt;p&gt;I sniffed the traffic and see that when I use the localhost adress, the webservice server gets the request and returns a value.&amp;nbsp; When I use the servername address, the webservice&amp;nbsp; server never receives a call at all (hence the&amp;nbsp; (404) Not Found error).&amp;nbsp; When I sniff the traffic from the sharepoint sever, I dont see the REST call at all when the servername address is used.&amp;nbsp; &lt;/p&gt;&lt;p&gt;Other information:&amp;nbsp; REST service queries and totals a SP list.&amp;nbsp; REST service is used because user wants a count of the number of entries for the current month.&amp;nbsp; REST service requires no authentication.&amp;nbsp; I have disabled loopbacks.&amp;nbsp; In central admin, I have enabled &amp;quot;Allow cross-domain data access for user form templates&amp;quot; and &amp;quot;Allow user form templates to use authentication information contained in data connection files&amp;quot;.&lt;/p&gt;&lt;p&gt;Any insight is appreciated.&amp;nbsp; I have read a number of postings and tried a number of things, but most issues I read don&amp;#39;t seem exactly the same.&lt;/p&gt;</description></item></channel></rss>