If InfoPath form is browser-enabled and published to Forms Server, you
cannot use Database Connection for submit. You must submit the form to
a web service, and write the code for synchronizing the form with the
web service.
With Abilitics’s product for Infopath to database synchronization,
it not necessary to develop new web service for every unique form. We
have created a mapping configuration file, which describes which fields
in InfoPath are mapped to which columns and tables in a SQL Server
database.