summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk
diff options
context:
space:
mode:
authoredwardsmj <edwardsmj@13f79535-47bb-0310-9956-ffa450edef68>2011-02-03 13:01:33 +0000
committeredwardsmj <edwardsmj@13f79535-47bb-0310-9956-ffa450edef68>2011-02-03 13:01:33 +0000
commitf71c996bf90cb4e84ab01d98da5a3da5be8e72ac (patch)
tree62c878556aac4ec4a1587051b8cde12ffbec0399 /sca-java-2.x/trunk
parentddc0ae495f5bbfb437abbd69fa0cf4e16c32e44f (diff)
Fix to enable Tuscany to pass compliance testcase BWS_2016, as described in TUSCANY-3831
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1066801 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk')
-rw-r--r--sca-java-2.x/trunk/modules/interface-wsdl/src/main/java/org/apache/tuscany/sca/interfacedef/wsdl/xml/WSDLModelResolver.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sca-java-2.x/trunk/modules/interface-wsdl/src/main/java/org/apache/tuscany/sca/interfacedef/wsdl/xml/WSDLModelResolver.java b/sca-java-2.x/trunk/modules/interface-wsdl/src/main/java/org/apache/tuscany/sca/interfacedef/wsdl/xml/WSDLModelResolver.java
index 0e66c41a02..fdb562b1b7 100644
--- a/sca-java-2.x/trunk/modules/interface-wsdl/src/main/java/org/apache/tuscany/sca/interfacedef/wsdl/xml/WSDLModelResolver.java
+++ b/sca-java-2.x/trunk/modules/interface-wsdl/src/main/java/org/apache/tuscany/sca/interfacedef/wsdl/xml/WSDLModelResolver.java
@@ -493,7 +493,7 @@ public class WSDLModelResolver implements ModelResolver {
reader.setExtensionRegistry(wsdlExtensionRegistry); // use a custom registry
// Collection of namespace,location for wsdl:import definition
- Map<String, String> wsdlImports = indexRead(wsdlDef.getLocation().toURL());
+ Map<String, String> wsdlImports = indexRead(artifactURL);
wsdlImports.putAll(wsdlDef.getWsdliLocations());
WSDLLocatorImpl locator = new WSDLLocatorImpl(context, artifactURL, is, wsdlImports);
Definition definition = reader.readWSDL(locator);