I am referring to the below link to publish infopath form
guide to publishing infopath forms as admin approved form templates
add my infopath form in trusted form templates in CA :
then add my connections to manage data connection files :
then test my form in info path and worked properly
but when it opened by InfoPath services in web browser this error occurred:
When I create one infopath form, I see this 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.
If this is an administrator-approved form template, the security level of the form must be set to full trust, or the data connection settings must be stored in a UDC file by using the Manage data connection files option under InfoPath Forms Services in SharePoint Central Administration.
An entry has been added to the Windows event log of the server. Log ID:6932
I am using user account having administrator privilege.