Is there a way to tie the parameters of the GetUserProfileByName web service call to a field value on an InfoPath form.
I have a browser based form that has a contact selector control on it. What I would like to have happen is to have the person filling out the form select someone from the contact selector. Once this is done I would like to refresh a data connection using GetUserProfileByName where the value for the parameter is linked to the AccountID field returned by the contact selector. This way I can retrieve the AD information for the selected user and fill in the information about this person as needed.