Errors in Microsoft InfoPath 2010 with Verastream Host Integrator Web Service

  • 7021579
  • 13-May-2011
  • 11-Mar-2018

Environment

Verastream Host Integrator version 7.1 or higher

Situation

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.

Resolution

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:

http://MyVhiServer:9680/vhi-ws/session/MyModel?wsdl&type=ref

View Full Size
Figure 1. Entering the web service location in Microsoft InfoPath 2010 Figure 1. Entering the web service location in Microsoft InfoPath 2010

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.

Cause

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

Additional Information

Legacy KB ID

This article was originally published as Attachmate Technical Note 10119.

Feedback service temporarily unavailable. For content questions or problems, please contact Support.