public class CustomWSDLLocator extends Object implements javax.wsdl.xml.WSDLLocator
ResourceMap
object to WSDLLocator
.Constructor and Description |
---|
CustomWSDLLocator(InputSource baseInputSource,
String baseURI) |
CustomWSDLLocator(InputSource baseInputSource,
String baseURI,
ResourceMap resourceMap,
SynapseConfiguration synCfg) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
InputSource |
getBaseInputSource() |
String |
getBaseURI() |
InputSource |
getImportInputSource(String parentLocation,
String relativeLocation)
Resolve a schema or WSDL import.
|
String |
getLatestImportURI() |
public CustomWSDLLocator(InputSource baseInputSource, String baseURI)
public CustomWSDLLocator(InputSource baseInputSource, String baseURI, ResourceMap resourceMap, SynapseConfiguration synCfg)
public InputSource getBaseInputSource()
getBaseInputSource
in interface javax.wsdl.xml.WSDLLocator
public String getBaseURI()
getBaseURI
in interface javax.wsdl.xml.WSDLLocator
public InputSource getImportInputSource(String parentLocation, String relativeLocation)
ResourceMap
object. If this fails (because no ResourceMap
is
configured or because ResourceMap.resolve(SynapseConfiguration, String)
returns null, it will resolve the location using
SynapseConfigUtils.resolveRelativeURI(String, String)
.getImportInputSource
in interface javax.wsdl.xml.WSDLLocator
public String getLatestImportURI()
getLatestImportURI
in interface javax.wsdl.xml.WSDLLocator
public void close()
close
in interface javax.wsdl.xml.WSDLLocator
Copyright © 2005-2017 Apache Software Foundation. All Rights Reserved.