Author: jim.ma
Date: 2012-09-19 03:52:56 -0400 (Wed, 19 Sep 2012)
New Revision: 16739
Modified:
common/trunk/src/main/java/org/jboss/ws/common/utils/AbstractWSDLFilePublisher.java
Log:
[JBWS-3544]:xsd:import not working in WSDLs if EJB WebService deployed in EAR
Modified:
common/trunk/src/main/java/org/jboss/ws/common/utils/AbstractWSDLFilePublisher.java
===================================================================
---
common/trunk/src/main/java/org/jboss/ws/common/utils/AbstractWSDLFilePublisher.java 2012-09-19
07:52:10 UTC (rev 16738)
+++
common/trunk/src/main/java/org/jboss/ws/common/utils/AbstractWSDLFilePublisher.java 2012-09-19
07:52:56 UTC (rev 16739)
@@ -159,7 +159,7 @@
}
URL targetURL = new URL(baseURI.substring(0,
baseURI.lastIndexOf("/") + 1) + locationURI);
- File targetFile = new File(targetURL.toURI()); //JBWS-3488
+ File targetFile = new File(targetURL.getFile()); //JBWS-3488
targetFile.getParentFile().mkdirs();
WSDLFactory wsdlFactory = WSDLFactory.newInstance();
@@ -214,7 +214,7 @@
}
URL xsdURL = new URL(baseURI.substring(0,
baseURI.lastIndexOf("/") + 1) + schemaLocation);
- File targetFile = new File(xsdURL.toURI()); //JBWS-3488
+ File targetFile = new File(xsdURL.getFile()); //JBWS-3488
targetFile.getParentFile().mkdirs();
String deploymentName = dep.getCanonicalName();
Show replies by date