Monday, April 23, 2012

InfoPath Tips #6-RESTful web services as data source

Often we face the default Form Services Response Size cap at 1500k, if we cannot change it for some reason. We need to fetch the data chunk by chunk, and one option implementing this would be using RESTful. Steps:

Step 1: Add a REST Web Service for Data Retrieve

Step 2: Add an action for changing REST service URL

Step 3: Bind the service to the Control

Step 4: Bind Value and Display Name

Step 5: Mission Accomplished
 


Note, when the form was opened inside web browser there seemed to be issue accessing the RESTful service, the situation might be able mitigated if the form could be signed with digital certificate and given full trust.

No comments:

Post a Comment