Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / December 2004

Tip: Looking for answers? Try searching our database.

InfoPath Design ~ Why Use a WebService

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Peter van Hees - 29 Dec 2004 08:49 GMT
Boys & Girls,

As I'm discovering InfoPath (which seems like a wonderfull product), I'm
left wondering about the correct (read: ideal) application design for an
accounting (invoicing, stock management, time reporting) solution.

In the scenario I have in mind I could either use a 3-Tier ("InfoPath -
WebService - Database") design or simply Client-Server ("InfoPath -
Database") architecture?

The specific question which has left me wondering is: why (in what scenario)
would one introduce a WebService? Am I correct in presuming that any Business
Logic (although for my application I currently don't have any specific
business logic yet) should be implemented in a WebService?

Peter
virgul - 29 Dec 2004 09:48 GMT
Hi,

For example when you form is not always the same and depend on two
variable a webservice send you an Xml file with the field that you want
and you can bind it to infopath.
For your scenario your description is a little bit general .

++
Raj Chaudhuri - 29 Dec 2004 12:35 GMT
Here are some reasons for not directly connecting to a database:

1) Your form users do not have rights to the database directly.
2) Your database is behind a firewall which only allows port 80 traffic.
3) There are design differences between your form schema and your database
tables. For instance, your form allows entry on ONE master row and multiple
detail rows in a typical master-detail table setup.
4) You have business rules which cannot be conveniently expressed in JScript
or TSQL.

I have found all four reasons to be applicable for every Infopath project I
have done so far.

Also, since you talk about design in general, here is how I design my
Infopath solutions. I start with one or more XML schemas (schema? schemae) ,
which I use both as the basis of my Infopath forms, as well as to create
typed datasets, which I then use in web services to receive data from those
forms. I often have multiple forms based on the same schema, with diffrent
read-write rules and submission points. This has helped me create
workflow-type solutions without too many client-side rules or script.

> Boys & Girls,
>
[quoted text clipped - 14 lines]
>
> Peter
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.