You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by ga...@apache.org on 2007/07/27 17:45:33 UTC

svn commit: r560286 - /webservices/axis2/branches/java/1_3/modules/metadata/src/org/apache/axis2/jaxws/util/WSDL4JWrapper.java

Author: gawor
Date: Fri Jul 27 08:45:32 2007
New Revision: 560286

URL: http://svn.apache.org/viewvc?view=rev&rev=560286
Log:
Axis2 does not handle wsdl deployed to a dir that contains a space (AXIS-3022)

Modified:
    webservices/axis2/branches/java/1_3/modules/metadata/src/org/apache/axis2/jaxws/util/WSDL4JWrapper.java

Modified: webservices/axis2/branches/java/1_3/modules/metadata/src/org/apache/axis2/jaxws/util/WSDL4JWrapper.java
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_3/modules/metadata/src/org/apache/axis2/jaxws/util/WSDL4JWrapper.java?view=diff&rev=560286&r1=560285&r2=560286
==============================================================================
--- webservices/axis2/branches/java/1_3/modules/metadata/src/org/apache/axis2/jaxws/util/WSDL4JWrapper.java (original)
+++ webservices/axis2/branches/java/1_3/modules/metadata/src/org/apache/axis2/jaxws/util/WSDL4JWrapper.java Fri Jul 27 08:45:32 2007
@@ -87,10 +87,6 @@
                     (url != null && "file".equals(url.getProtocol())) ? true : false;
             if (isFileProtocol) {
                 filePath = (url != null) ? url.getPath() : null;
-                URI uri = null;
-                if(url != null) {
-                    uri = url.toURI();
-                }
                 //Check is the uri has relative path i.e path is not absolute and is not starting with a "/"
                 boolean isRelativePath =
                         (filePath != null && !new File(filePath).isAbsolute()) ? true : false;
@@ -115,7 +111,7 @@
                     else {
                         if(log.isDebugEnabled()) {
                             log.debug("WSDL URL found for relative path: " + filePath + " scheme: " +
-                                    uri.getScheme());
+                                    url.getProtocol());
                         }
                     }
                 }



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org