You could try it like this. Define a web-app environment entry with some name, e.g. “wsEndpointURL.” In the view, set the endpoint url property of the web service to #env[“wsEndpointURL”] (please check the EL syntax, I’m writing off of my head).
Then you should be able to use the deployer and its variable substitution feature to set an appropriate URL for each environment (dev/test/prod) (IIRC env entries are subject for variable substitution in a deployer project). No MWS aliases would be needed.
Thanks for the replies! I think there’s been some misunderstanding: the port doesn’t change between web services, the path does. The hostname and port remain the same.
Hi guys, I still think there’s a misunderstanding here Could I have an example of how to configure endpoints to keep the URL and port the same and just change the path: http://server:1234/some/web/service