owenb 2003/03/20 08:47:15
Modified: java/src/org/apache/wsif/wsdl
AuthenticatingProxyWSDLLocatorImpl.java
Log:
Put back old getBaseReader and getImportReader method for backwards compatibility
Revision Changes Path
1.11 +16 -0
xml-axis-wsif/java/src/org/apache/wsif/wsdl/AuthenticatingProxyWSDLLocatorImpl.java
Index: AuthenticatingProxyWSDLLocatorImpl.java
===================================================================
RCS file:
/home/cvs/xml-axis-wsif/java/src/org/apache/wsif/wsdl/AuthenticatingProxyWSDLLocatorImpl.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- AuthenticatingProxyWSDLLocatorImpl.java 6 Mar 2003 16:55:05 -0000 1.10
+++ AuthenticatingProxyWSDLLocatorImpl.java 20 Mar 2003 16:47:14 -0000 1.11
@@ -198,6 +198,22 @@
return new InputSource(importReader);
}
+ /**
+ * @deprecated Old WSDLLocator method, no longer on the interface
+ */
+ public Reader getBaseReader() {
+ InputSource is = getBaseInputSource();
+ return importReader;
+ }
+
+ /**
+ * @deprecated Old WSDLLocator method, no longer on the interface
+ */
+ public Reader getImportReader(String base, String relativeLocation) {
+ InputSource is = getImportInputSource(base, relativeLocation);
+ return importReader;
+ }
+
/**
* Get the document base uri for the base wsdl document
* @return The document base uri