com.ibm.btt.services.ws.endpoint
Interface IVariableResolver
- All Known Implementing Classes:
- DefaultVariableResolver
public interface IVariableResolver
This interface is for resolving variable of relative end-point path of
web service. In order to avoid absolute path during web services access,
the path variable has been introduced as the prefix of end-point location.
In runtime, the variable is going to replaced by resolver, the toolkit provides
default WAS java system and BTT.xml resolver.
For example, if end-point address is http://9.186.10.35/Test/WeatherService
in testing, but in production it would be http://www.abc.com/Test/WeatherService.
Modification of each WSDL is an unwise solution, so the variable is used
for expressing the changing part, http://{$server1}/Test/WeatherService
Method Summary |
java.lang.String |
resolveVariable(java.lang.String varName)
Resolve the system variable to get real WSDL end-point location. |
resolveVariable
java.lang.String resolveVariable(java.lang.String varName)
- Resolve the system variable to get real WSDL end-point location.
- Parameters:
varName
- Variable name
- Returns:
- Variable value
(c) Copyright IBM Corporation 1998, 2011