Browser-enabled Infopath form submits empty DataSet to webservice when running in browser - InfoPath Dev
in

InfoPath Dev

Browser-enabled Infopath form submits empty DataSet to webservice when running in browser

Last post 11-23-2011 06:30 AM by Hallvard. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 11-23-2011 06:30 AM

    Browser-enabled Infopath form submits empty DataSet to webservice when running in browser

    My browser-enabled Infopath form retrieves a DataSet from sql-server through a webservice, and submits it back to the sql-server through the webservice. This works fine when the form is running in Infopath preview, but when running in browser, the submitted Dataset is empty. Retrieving the DataSet, and submitting strings works fine, but the DataSet object has zero tables when submitting in browser.

    I'm not using UDC file, and Database is using pass-through autentication, but I dont suspect that to be the problem since retrieving the Dataset and submitting strings works fine. Is there some special security for submitting DataSets?

    Here are the two webservice functions:

    WebMethod(Description = "Retrieve a DataSet from table.", MessageName = "GetDBData")]
    publicDataSet GetDBData()

    WebMethod(Description = "Using the submitted DataSet, update a database.", MessageName ="UpdateDBData-Dynamic")]
    publicvoid UpdateDBDataDynamic(string AnsattID, string Fornavn, string Etternavn, string Stillingstittel, string Kontorlokasjon,
    DataSet updatedDBDataSet)

    Is is not possible to submit ADO.NET DataSet when running Infopath forms in browser?

     

    Regards
    Hallvard

Page 1 of 1 (1 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.