BUG: Server data is not updated as you expect when you submit an InfoPath 2003 form (867434)
The information in this article applies to:
- Microsoft Office InfoPath 2003, Service Pack 1 (SP1)
SYMPTOMSYou can design a form in Microsoft Office InfoPath 2003 that submits the data of the form to a Web service method. The Web service method has the System.Data.DataSet object as a parameter. When you fill out the form and then click Submit, the ADO.NET DataSet on the server is not updated as you expect.
This problem occurs although you receive a message that the form is submitted successfully.CAUSEThis problem occurs if all the following conditions are true: - The InfoPath 2003 form is created from a Web service.
- The InfoPath 2003 form is configured to only submit data to the Web service.
- The Web service method uses the System.Data.DataSet object as a parameter.
WORKAROUNDTo work around this problem, configure the form data connection to send data and to receive data when you design the form. To do this, follow these steps: - Start InfoPath 2003.
- In the Data Connection Wizard, click Web service, and then click Next.
- Click Receive and submit data, and then click Next.
- Click a Web service with a method that returns a DataSet with the same schema as the DataSet that you want to submit, and then click Next.
- Click the Web service that you want to receive the data from, and then click Next.
Note You do not have to actually receive data from the Web service. This option changes the way that InfoPath 2003 serializes data. This is described in the "More Information" section. - Click the Web service that you want to submit the data to, and then click Next.
- Click the Web service method that you want to submit data to, and then click Next.
- Map the parameters of the Web service method to the fields that InfoPath automatically generates from the Receive Web service method.
- Click Next. Click Finish.
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
Modification Type: | Major | Last Reviewed: | 8/5/2004 |
---|
Keywords: | kbDev kbBug kbtshoot kbprb KB867434 kbAudDeveloper |
---|
|