}
protected String resolveLocation(Definition definition, String namespace, String schemaLocation)
{
String result = null;
WSDLModelLocator locator = (WSDLModelLocator)EcoreUtil.getRegisteredAdapter(definition.eResource(), WSDLModelLocator.class);
if (locator != null)
{
result = locator.resolveURI(definition.getDocumentBaseURI(), namespace, schemaLocation);
}
else
{
// TODO... there's some default resolving we'll need to do here
// see XSDSchemaDirective