Microsoft KB Archive/925814

= InfoPath 2007 cannot infer the correct schema or any schema for the data fields when you create an InfoPath form template that is based on a Web service =

Article ID: 925814

Article Last Modified on 11/3/2006

-

APPLIES TO


 * Microsoft Office InfoPath 2007
 * Microsoft Office Forms Server 2007

-



SYMPTOMS
Consider the following scenario:
 * In Microsoft SQL Server 2005, you create a Web service endpoint for a stored procedure.
 * The stored procedure takes parameters.
 * In Microsoft Office InfoPath 2007, you create an InfoPath form template that is based on this Web service.

In this scenario, InfoPath 2007 cannot infer the correct schema or any schema for the data fields. Only a group node appears at the dataset level.



CAUSE
This problem occurs because you did not enter sample values for the required parameters when you designed the data connection in the Data Connection Wizard.



WORKAROUND
To work around this problem, modify the data connection in the Data Connection Wizard. Enter sample values for the required parameters, and then finish the wizard.

Note If you use the ?wsdlsimple parameter in the Web service, InfoPath 2007 cannot infer the full schema for the Web service unless you specify the ROWSETS_ONLY value in the endpoint definition.

Additional query words: IP2007 InfoPath2007

Keywords: kbexpertiseinter kbtshoot kbprb KB925814

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.