Summary
When you need to retrieve complementary information from secondary data sources, InfoPath provides many new ways to collect this data. The standard way is to create a simple secondary data source from an XML file, a Web service, or a database and use it as a standard XML document. If the data source is heavy, you need to consider implementing your own task pane in order to filter the result before you load it.