Author: richard.opalka(a)jboss.com
Date: 2010-09-02 07:21:45 -0400 (Thu, 02 Sep 2010)
New Revision: 12885
Modified:
stack/native/trunk/modules/core/src/main/java/org/jboss/wsf/stack/jbws/WSDLFilePublisher.java
Log:
[JBWS-2957] accept vfs: protocol too
Modified:
stack/native/trunk/modules/core/src/main/java/org/jboss/wsf/stack/jbws/WSDLFilePublisher.java
===================================================================
---
stack/native/trunk/modules/core/src/main/java/org/jboss/wsf/stack/jbws/WSDLFilePublisher.java 2010-09-02
10:51:24 UTC (rev 12884)
+++
stack/native/trunk/modules/core/src/main/java/org/jboss/wsf/stack/jbws/WSDLFilePublisher.java 2010-09-02
11:21:45 UTC (rev 12885)
@@ -179,7 +179,9 @@
wsdlLocation = wsdlLocation.substring(wsdlLocation.indexOf(expLocation) +
expLocation.length());
result = new File(locationFile + "/" + wsdlLocation);
}
- else if (wsdlLocation.startsWith("vfsfile:") ||
wsdlLocation.startsWith("file:") || wsdlLocation.startsWith("jar:") ||
wsdlLocation.startsWith("vfszip:"))
+ else if (wsdlLocation.startsWith("vfs:") ||
wsdlLocation.startsWith("vfsfile:")
+ || wsdlLocation.startsWith("file:") ||
wsdlLocation.startsWith("jar:")
+ || wsdlLocation.startsWith("vfszip:"))
{
wsdlLocation = wsdlLocation.substring(wsdlLocation.lastIndexOf("/") +
1);
result = new File(locationFile + "/" + wsdlLocation);
Show replies by date