Xml data that is required - infopath Rest Service - Sharepoint Online


  • Hello everyone,

    I'm using SharePoint REST Service to populate a InfoPath form in SharePoint Online.

    I'm using the URL https://myserver/_vti_bin/listdata.svc/Employees to retrieve data, but, after creating my Data Connection on InfoPath and convert it to a connection file to SharePoint, when I try to open the InfoPath form, I got the error:

    "xml data that is required for this form to function correctly cannot be found"

    Does anyone know a solution for that?



    Thursday, December 15, 2016 12:12 PM

All replies

  • Hi Leandro,

    There should have correlation ID also in the error message, please provide the correlation ID for getting detailed error message for further research.

    And per my test, we may meet 5566 error when viewing a form with this web service as loopback check is enabled in SharePoint online always. So I would recommend you not to use the web services in InfoPath forms in SharePoint online.

    Best Regards,


    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact

    Monday, December 19, 2016 10:19 AM