We have a requirement to call webService from multiple environments (DEV, QA, PROD) based on the value selected in a drop down.
The approach decided is to leverage the bulit-in portlet provided in My webMethods - Application Configuration (Web Service Configuration portlet) which has few wireable properties.
There are few pr-existing portlets on MWS which expose a preference ‘End Point URL’ which is wired with source portlet set to ‘Web Service Configuration’ and source property set to ‘None’. The switching between multiple Environments (URLs) is seamless in this case.
However, when I try to wire the preference exposed from my portlet with source portlet set to ‘Web Service Configuration’ and source property set to ‘None’, it does NOT get saved. The source portlet is rest back to ‘None’.
How is it possible that the existing portlets were able to perform this.
Also, any information on alternate approaches is highly appreciated.