In the case of WSDL and XML Schema files, WSRR will attempt to resolve references to other documents that have a full URL specified for the location of the dependency.
WSDL has one mechanism for referring to another file: the wsdl:import element. XML Schema has three mechanisms:
Any imported documents are related to the original document by a modelled relationship. For example, WSDLDocument has a modelled relationship called importedWSDLs that contains the other WSDL documents that are imported by the root WSDL document.
Dependencies can also be satisfied by documents already in WSRR. Matching is based on the appropriate combination of namespace and location (name). For example, if w1.wsdl is a WSDL document that contains
<wsdl:import namespace="someNamespace" location="w2.wsdl">
and a document already exists in WSRR with a name/location of w2.wsdl and a targetNamespace of "someNamespace" then when w1.wsdl is saved, the import is resolved to w2.wsdl in WSRR, and the importedWSDLs relationship on w1.wsdl is updated appropriately.
If a file imports a schema, and the xsd:import directive does not have the optional namespace attribute, the namespace of the importing file is assumed. There is no namespace attribute on the xsd:include or xsd:redefine directives. For full details of the behavior of xsd:include, xsd:import, and xsd:redefine. refer to the w3C XML Schema Specification at http://www.w3.org/TR/2004/REC-xmlschema-1-20041028/structures.html.