You can use the XML Form View Web Part to embed your InfoPath Forms into a SharePoint site page. This web part provides a neat way to capture form data, preserving your SharePoint site branding.
First things first, this web part needs to be added into your Web Part Gallery and then add and configure the web part’s settings to suit your individual needs.
1) Ensure you are on the right WSS IIS website folder. I run "inetmgr" from Start | Run, locate the web site, right click and open to sure.
2) Backing up your original Web.Config file is always recommended. Add the following safecontrol node of text into the web.config SafeControl section:
<SafeControl Assembly="Microsoft.Office.InfoPath.Server, Version=18.104.22.168, Culture=neutral, PublicKeyToken=71e9bce111e9429c" Namespace="Microsoft.Office.InfoPath.Server.Controls" TypeName="*" Safe="True" />
Save and close your web.config
3) Then go to your SharePoint top level site. Click "Site Actions", "Settings, "Modify All Site Content". Click on the "Web Parts" hyperlink under the Galleries heading.
4) Click "New" locate the Microsoft.Office.InfoPath.Server.Controls.XmlFormView web part type name and check the tick box and click the "Populate Gallery" button.
5) When adding a webpart to the page, the part will now be available under the "Miscellaneous" section named "XMLFormView" by default.
6) Notice that occasioanly, the web part open on the page with "The Form has been Closed" message either in the webpart or it takes over the page. Click close.
7) Click "Edit" on the XML Form View web part and "Modify Shared Web Part".
You’ll find that under the "Data Binding", you’ll have a XsnLocation and SaveLocation.
To display your chosen form, point the XsnLocation to the URL of the InfoPath form that has been published to your SharePoint forms library. I recommend publishing your form to a seperate Form Library than the one you will allow submissions to. The URL would be http://servername/formname.xsn.
8) Apply and Ok and your web part is now live.