Hello All,
To retrieve the data from the webservice and to populate(Databind) the data on infopath form. follow the following steps
from menu of design view of infopath form
1)Tools-->DataConnection->Add connection as webservice to retrieve the data
2)Right click on textbox which is to be binded to the field from dataset
--->Insert formula-->Insert field/group
from Data source dropdown select the name of the webservice which acts like the secondary datasource(Webservice which returns Dataset and which is hosted as virtual directory in the same webapplication)
3) bind the queryfield in dataset if the textbox acts like parameter
bind the datafield in dataset if it acts like output from the webservice
Thursday, September 18, 2008
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment