Calling a service when an asp form opens

In an asp, we want to populate some form fields by doing a call to an IS service that retrieves those values from a db… Is this possible?
All we know can be done is a calling a service from a form action event…