I would like to reuse HTTP Services. Is this possible? It doesn't seem possible and I cannot find anything in conversations. We have dynamic dropdowns and since there isn't a way to default the answer in the control itself then we have to go about it using HTTP services and corresponding actions. It seems feasible that a service could be used more than once since there are ways to pass in parameters. This is why I am at odds to why is the HTTP is not showing up again once I use it in an action. Here is what I am trying to do:
We have an service for what we call descriptors. The data points are simple, name(label), and id(xpath value). The id is the database primary key. To access a particular descriptor, a parameter is passed in the uri. We publish an electronic health records software so each customer can have tons of "descriptors" like, "Yes, No" or specific ones that align with CDC or other state and federal agencies. So, the parameter could be (type=YesNo) or (type=Some%20Federal%20Agency%20Questions). I can set that up in the HTTP service to be a parameter but since we cannot reuse the HTTP service for multiple controls we basically need to do one of two things: Either use dynamic dropdowns and create an HTTP service and an action for ALL controls or use static dropdowns and create an HTTP service and an action for ALL controls. Is this correct?
For one form that has 30 dynamic dropdowns all of which could have default values that would mean 30 HTTP services and 30 actions. Instead, I feel like there should be 1 HTTP service since they are all referencing the same service and 30 actions to either populate the controls and default value or simply populate the choices. Let me know if there is a way to do the latter.