The main objective of this guide is to configure SharePoint 2010 environment so that it could support InfoPath form services and also how to use InfoPath 2010 client software to design and publish InfoPath forms to particular SharePoint document library.
Configuring InfoPath services on SharePoint 2010
Check whether the forms service is enabled in the SharePoint top level site.
On Premises SharePoint:
Navigate to the Site Settings -> Site Collection Features (under section Site Collection Administration) by clicking on the Site Actions action menu bar of SharePoint site.