public interface URIResolver
Example:
WSDLFactory factory = WSDLFactory.newInstance();
WSDLReader reader = factory.newWSDLReader();
// MyURIResolver implements this interface ...
URIResolver resolver = new MyURIResolver();
reader.setURIResolver(resolver);
...
// Then, can parse a document and the assigned resolver will be used internally...
Description desc = reader.readWSDL("http://myplace/mydoc.wsdl");
WSDLFactory
,
WSDLReader
Modifier and Type | Method and Description |
---|---|
URI |
resolveURI(URI uri)
Implementation should return null if there is no resolution for the uri.
|
URI resolveURI(URI uri) throws WSDLException, IOException
uri
- the uri to be resolvedWSDLException
IOException
Copyright © 2005–2018 Apache Software Foundation. All rights reserved.