Infopath. webservice and SQL

P

Papanii

Hi,
I am currently building a InfoPath form which will communicate with a
database. This form will be submitting and receiving data to and from the
database. A couple of weeks ago, I read a article in September's issue of
MSDN magazine which was edited by Nancy Michell. She stated that it would be
better to have a webservice in-between a database and a InfoPath form.
Unfortunately she didn't state why this approach would be better than having
the form directly access the database. However she did state that the direct
access should be avoided whenever possible. Why I don't know. Could someone
please elaborate on this topic for me?

--newbie
 
R

Roger Jennings

The issue of isolating the data access layer from the presentation layer
(InfoPath, in this case) is a combination of architectural preference and
application design "best practices." I use Web services primarily when users
must obtain and update data over the Internet or an intranet segment that's
isolated from the database's segment. The example that at
http://www.oakleaf.ws/InfoPath/nworders.aspx requires Internet access.

If your InfoPath clients have direct network connectivity to the database,
there's no significant benefit to using a Web service; a Web service adds an
easily mesurable performance reduction.

--rj
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top