public class Wsdl11DestinationProvider extends AbstractCachingDestinationProvider
DestinationProvider that resolves a destination URI from a WSDL file.
The extraction relies on an XPath expression to locate the URI. By default, the DEFAULT_WSDL_LOCATION_EXPRESSION will be used, but this expression can be overridden by setting the locationExpression property.
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_WSDL_LOCATION_EXPRESSION
Default XPath expression used for extracting all
location attributes from the WSDL definition. |
logger| Constructor and Description |
|---|
Wsdl11DestinationProvider() |
| Modifier and Type | Method and Description |
|---|---|
protected URI |
lookupDestination()
Abstract template method that looks up the URI.
|
void |
setLocationExpression(String expression)
Sets the XPath expression to use when extracting the service location
URI from a WSDL. |
void |
setWsdl(Resource wsdlResource)
Sets a WSDL location from which the service destination
URI will be resolved. |
getDestination, setCachepublic static final String DEFAULT_WSDL_LOCATION_EXPRESSION
location attributes from the WSDL definition.public void setWsdl(Resource wsdlResource)
URI will be resolved.public void setLocationExpression(String expression)
URI from a WSDL.
The expression can use the following bound prefixes:
Prefix Namespace wsdlhttp://schemas.xmlsoap.org/wsdl/soaphttp://schemas.xmlsoap.org/wsdl/soap/soap12http://schemas.xmlsoap.org/wsdl/soap12/
Defaults to DEFAULT_WSDL_LOCATION_EXPRESSION.
protected URI lookupDestination()
AbstractCachingDestinationProviderIf caching is enabled, this method will only be called once.
lookupDestination in class AbstractCachingDestinationProvider