How (if at all) can I accomplish the following:
My Main datasource is attached to a webservice/dataset; I get "queryFields" & "dataFields". I have a "standard" query which fills dataFields. I have a "submit" which later sends changed "dataFields" back.
Now, I want to have an "alternate" query, with different queryFields, attached to a different webservice (i.e. the webservice name is different and so are its (input) parameters). BUT the response it gets back (output) is the same stuff as my existing query and I need its output to go into the same dataFields (to which all the controls are bound), ready for update and submit.
A simple example: suppose there are two webservices for returning the same data (say, a row). One, "Get", takes a parameter of what record to get; another, "Find", takes quite different, multiple parameters to do with how to find one record, which it then returns.
I don't mind how I achieve this (scripting fine), but I can't find a way. I could play with WebServiceAdapters' OutputLocation/Input, the main QueryAdapter, secondary Adapters... I have tried adjusting the QueryAdapter to change what it calls/passes the WS (so as to preserve the OutputLocation), and adjusting a secondary DataAdapter to change its OutputLocation (so as to preserve what it calls/passes to the WS), but always get errors. I think there are problems with namespaces/names: both queryFields & dataFields contain names based on the name of the webservice and that causes problems when trying to mix them, I believe...
The only possibility I see at the moment is to somehow wrap up the underlying webservices in a single "container" webservice so that I have just the one WS which accepts all the parameters for all the underlying webservices it might call, looks at them, and decides what to actually call (they all return the same result stuff). But that seems pretty ugly...
What can be done?