I agree with mark.
Normally the things that change from Env to Env is server address (moslty the server IP/Domainname. The relative location will remain the same).
you can have a simple flow service which gives you the server address depending on the environment you are using.
there is a sample service in the wmSamples ‘sample.serverInfo.getServerInformation’, which gives you the name of the server on which the service is currently running.
you can have a branch on this and depending on it’s value get the target server address and map the pipeline value to the address parameter of the webService connector (http/s call)
HTH
PRY
#webMethods#soa#API-Management