owenb 2003/10/01 07:51:13
Modified: java/src/org/apache/wsif/wsdl WSIFWSDLLocatorImpl.java
Log:
Fix problem with nested imports. Patch submitted by David Seager
Revision Changes Path
1.20 +3 -2 ws-wsif/java/src/org/apache/wsif/wsdl/WSIFWSDLLocatorImpl.java
Index: WSIFWSDLLocatorImpl.java
===================================================================
RCS file: /home/cvs/ws-wsif/java/src/org/apache/wsif/wsdl/WSIFWSDLLocatorImpl.java,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- WSIFWSDLLocatorImpl.java 17 Apr 2003 14:21:16 -0000 1.19
+++ WSIFWSDLLocatorImpl.java 1 Oct 2003 14:51:13 -0000 1.20
@@ -259,8 +259,9 @@
// necessary to avoid a NullPointerException in WSDLReaderImpl
importBase = "unknownImportURI";
}
- }
- importBase = (url == null) ? relativeLocation : url.toString();
+ } else {
+ importBase = (url == null) ? relativeLocation : url.toString();
+ }
} catch (Exception e) {
Trc.exception(e);
// If we have not tried using a non-ClassLoader route, try it now