O'Reilly logo

Introducing Microsoft® Office InfoPath™ 2003 by Roger Jennings

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using Web Services as Secondary Data Sources

You can use Web service methods to create a secondary data source that populate drop-down lists. Creating a secondary data source from a Web method with the Data Connection Wizard is similar to the process you used for database tables and queries in the section “Creating Secondary Data Sources for List Boxes,” in Chapter 13.

The NWOrdersWS service has five Web methods designed for secondary data source use: GetCustomers, GetProducts, GetProductsDetailed, GetShippers, GetEmployees, and GetLast10Orders. All but the GetLast10Orders method return a serialized object; GetLast10Orders returns an array of integers. A drop-down list of the last 10 orders added to the database is useful to populate a list ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required