Externalizing the Web Service End Point Url, Authentication


I’ve web service connectors in a J2EE util project. I have externalized the URL of the Managed bean by calling the setEndpointUrl(…), setUserName() and setPassword methods on the wsclient managedbean.

This works, however sometimes, when deployed to a new environment I get the previous url (esp on refresh actions).

Check out this article: