Custom Application Server-Specific Parameters

The app_webservices2.xml script will generate correct application server-specific provider URL and context factory parameters; however, you may find it convenient if you are supporting multiple environments to derive one or more of these values in your own custom code.

If so, you can provide your own getProviderURL() and/or getContextFactoryName() method(s) by overriding class curam.util.connectors.axis2.CuramMessageReceiver. Both methods return a string representing the provider URL and context factory name, respectively. See Building Custom Receiver Code on how to specify and build this custom class for these methods.