I have a web service function in a secondary data source that returns no rows of data, but I want to add a row to the data source result set programmatically using the structure that InfoPath sees when it queries the WSDL. It would be easy if it returned a row, but since nothing comes back, I have no data to reference.
Does anyone have any ideas on how this can be done? Using the schema at runtime somehow?
PS: It needs to be generic enough that I can have it go against any secondary data source definition (i.e. not hard coded CreateElement and AppendChild functions).