Microsoft Support Number OR Call Toll-Free @ 1-844-478-2887

Thursday, January 5, 2012

Errors in Microsoft InfoPath 2010 with Verastream Host Integrator 7.x Web Service

When attempting to use the Verastream Host Integrator (VHI) embedded web service in your Microsoft InfoPath 2010 form, you may see an error. This technical note describes the symptom and solution.

About InfoPath
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).

Symptom
In InfoPath Designer, in the Data Connection Wizard, after entering the VHI web service location (WSDL) as described in Technical Note 10092, 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.

Explanation
Some technologies have difficulties with web service schema that explicitly define elemental data types.

Solution
To request VHI version 7.1 web service schema with simpler inline data type references, enter &typ=ref on the end of the VHI WSDL URL. Example:
http://MyVhiServer:9680/vhi-ws/session/MyModel?wsdl&type=ref
Post a Comment