When attempting to use the Verastream Host Integrator (VHI) 7.1 or higher embedded web service in your Microsoft InfoPath 2010 form, you may see an error.
Microsoft InfoPath 2010 (available with Microsoft Office Professional Plus 2010) enables you to create electronic forms for use in other Microsoft applications, such as SharePoint and Outlook. An InfoPath form can be designed based on a Web Service (Advanced Form Templates).
In InfoPath Designer, in the Data Connection Wizard, after entering the VHI web service location (WSDL) as described in KB 7021550, you may see the following error:
InfoPath cannot use the selected Web service method for receiving data because the method does not contain valid XML data.
To request VHI version 7.1 or higher web service schema with simpler inline data type references, enter &typ=ref on the end of the VHI WSDL URL. Example:
You can then proceed to select an operation (model table procedure, processString, or executeSQLStatement) and drag a field (input parameter) and record (output) to add to your form.
Use of the non-default schema does not otherwise affect the web service runtime behavior.