<?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: Data Connection to python web service</title><link>https://www.infopathdev.com:443/forums/thread/82005.aspx</link><pubDate>Mon, 27 Aug 2012 14:24:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:82005</guid><dc:creator>Gennady Vanin (Геннадий Ванин, Новосибирск)</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/82005.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=82005</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Using internal built-in Rest Web service on my &lt;b&gt;Sharepoint Online (Office 365)&lt;/b&gt; site:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;https://&amp;lt;site&amp;gt;/_vti_bin/ListData.svc&lt;br /&gt;&lt;span style="font-family:Verdana;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;orphans:2;text-align:left;text-indent:0px;text-transform:none;white-space:normal;widows:2;word-spacing:0px;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0px;float:none;"&gt;https://gennadyvanin.sharepoint.com/Web2/_vti_bin/ListData.svc&lt;span class="Apple-converted-space"&gt;&lt;/span&gt;&lt;/span&gt; &lt;br /&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;nbsp;I managed to see only GET method&lt;/p&gt;
&lt;p&gt;Tried to access external REST web services, like &lt;/p&gt;&lt;ul&gt;&lt;li&gt;&amp;nbsp;http://www.weather.gov/forecasts/xml/sample_products/browser_interface/ndfdXMLclient.php?zipCodeList=19115&amp;amp;product=time-series&amp;amp;begin=2012-08-29T00:00:00&amp;amp;end=2012-08-30T00:00:00&amp;amp;maxt=maxt&amp;amp;mint=mint&lt;/li&gt;&lt;/ul&gt;
which seems to be blocked for me: &lt;br /&gt;

&lt;ul&gt;
&lt;li class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l1 level1 lfo2;tab-stops:list 36.0pt;"&gt;From browser form, I am
     getting an error:&lt;br /&gt;
     A query to retrieve form data cannot be completed because this action
     would violate cross-domain restrictions. &lt;br /&gt;
     &lt;br /&gt;
     If this form template is published to a SharePoint document library,
     cross-domain access for user form templates must be enabled under InfoPath
     Forms Services in SharePoint Central Administration, and the data
     connection settings must be stored in a UDC file in a data connection
     library in the same site collection.&amp;nbsp;&amp;nbsp; &lt;/li&gt;
&lt;li class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l1 level1 lfo2;tab-stops:list 36.0pt;"&gt;from Filler/Prview, I am
     getting:&lt;br /&gt;
     The query cannot be run for the following DataObject: REST Web Service&lt;br /&gt;
     InfoPath cannot run the specified query.&lt;br /&gt;
     The data source file is accessed through a redirection from a different
     domain, which is not allowed. If you want to use this data source file,
     copy it to a location within your security domain.&lt;br /&gt;
     Access is denied&lt;/li&gt;
&lt;li class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l1 level1 lfo2;tab-stops:list 36.0pt;"&gt;etc., etc.&lt;br /&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Data Connection to python web service</title><link>https://www.infopathdev.com:443/forums/thread/82001.aspx</link><pubDate>Mon, 27 Aug 2012 12:03:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:82001</guid><dc:creator>JFsilverman</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/82001.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=82001</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m working on a web service in python (DJANGO) and I want to access that service from an InfoPath 2010 form.&amp;nbsp; I believe that InfoPath only uses GET for REST based services.&amp;nbsp; Please let me know if that&amp;#39;s incorrect.&amp;nbsp; I am trying to determine exactly what InfoPath is looking for in the form of XML reply from the REST web service.&amp;nbsp; I am unable to get the connection created.&lt;/p&gt;&lt;p&gt;Thanks.&lt;/p&gt;</description></item></channel></rss>