Hilary Stoupa:However with Office365, the REST web service is disabled
Can you give a reference?
I read a few replies of Office365 support telling that it should work and am still confised on this.
I understood that calls to external REST-services (and SOAP web services) are disabled in Office 365 (Sharepoint Online) but not to internal or built-in into Sharepoint (Online) server REST services.
That is, I succcesfully use a secondary data connection having clicked From REST WebService (< From Web Service < Data tab on ribbon of Infopath Designer 2010) from my Office365 (sharepoint Online) subsite:
- https://gennadyvanin.sharepoint.com/Web2/_vti_bin/ListData.svc
filling Infopath form data fields in Infopath Filler form, see enclosed screenshot.
Though, I failed to connect to it from browser form having gotten:
- An error occurred querying a data source.
Click OK to resume filling out the form. You may want to check your form data for errors.
Error details:
The underlying connection was closed: An unexpected error occurred on a receive.
An entry has been added to the Windows event log of the server.
Log ID:5566
Correlation ID:c51bf7c2-7498-4603-a103-c342c2ef9f41
Also when I try to create a data connection from/to external REST web services, like
- http://www.weather.gov/forecasts/xml/sample_products/browser_interface/ndfdXMLclient.php?zipCodeList=19115&product=time-series&begin=2012-09-09T00:00:00&end=2012-09-12T00:00:00&maxt=maxt&mint=mint
which seems to be blocked for me: - From Infopath browser form, I am getting an error:
A query to retrieve form data cannot be completed because this action would violate cross-domain restrictions.
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. - from Filler/Prview, I am getting:
The query cannot be run for the following DataObject: REST Web Service
InfoPath cannot run the specified query.
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.
Access is denied - etc., etc.
and that cross-domain access cannot be enabled in Office 365 (sharepoint Online)
Correct me where I am wrong