public interface UserDefinedXmlSchemaURIResolver extends org.apache.ws.commons.schema.resolver.URIResolver, LSResourceResolver
CustomXmlSchemaURIResolver
.
Here using WSDLKey/schemaKey, user can perform his/her own mapping between Relativelocation
and Registrypath . User needs to provide a synapse.property call,"synapse.schema.resolver="
pointing to the implementation.Modifier and Type | Method and Description |
---|---|
void |
init(ResourceMap resourceMap,
SynapseConfiguration synCfg,
List<Value> schemaRegKey)
This will used by Validate mediator to resolve external schema references
defined in Validate mediator configuration
using
|
void |
init(ResourceMap resourceMap,
SynapseConfiguration synCfg,
String wsdlKey)
Initiate the UserDefinedXmlSchemaURIResolver with the required parameters
|
resolveResource
void init(ResourceMap resourceMap, SynapseConfiguration synCfg, String wsdlKey)
resourceMap
- ResourceMap
objectsynCfg
- SynapseconfigurationwsdlKey
- The registry key of the wsdl filevoid init(ResourceMap resourceMap, SynapseConfiguration synCfg, List<Value> schemaRegKey)
<resource location="location" key="key"/>inside Validate mediator configuration.
resourceMap
- ResourceMap
objectsynCfg
- SynapseconfigurationschemaRegKey
- , List of base schemas' registryKeysCopyright © 2005-2017 Apache Software Foundation. All Rights Reserved.