Populating entire form with a single webservice - InfoPath Dev
in

InfoPath Dev

Populating entire form with a single webservice

Last post 06-03-2008 12:05 AM by himanshu_chauhan. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 06-03-2008 12:05 AM

    Populating entire form with a single webservice

    Environment -

    Infopath 2007

    Form would be published on MOSS 07 using Infopath Forms Services. All the forms would be accessed using the browser.

     

    I have a scenario where I have to save the entire form data as XML and populate the same form with this XML when the user visits in future.

    - I have a web service with methods

            getFormData(String sXML) //We submit the form to this webservice. I get the entire form data in the structured XML and I store it locally on the file system.

            String populateForm()  //This method is called whenever the form is loaded (Receive Data). Returns the XML stored locally as a String.


    Query - How do we populate/initialize this from with the webservice which returns the structured XML?

    FYI - If I set this saved XML file as the sample data file location(using Forms Options setting), than the form gets populated when I preview it.



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