Hello!
I have setup an infopath form to be used on Sharepoint and get the following message (see attachment) "An error occurred while trying to connect to a Web service". Everything worked until I setup a section/control to auto detect the current user signed in. It works when I preview it within infopath designer, but when I go to fill out the form on sharepoint, I get the message...
I have also followed these instructions on setting this up, but no luck on my end...
https://wonderlaura.com/2012/06/27/infopath-pre-populate-the-people-picker