You are viewing a plain text version of this content. The canonical link for it is here.
Posted to woden-dev@ws.apache.org by jk...@apache.org on 2007/08/23 13:24:56 UTC
svn commit: r568937 [5/17] - in /incubator/woden/trunk/java/test:
javax/xml/namespace/ org/apache/woden/ org/apache/woden/ant/
org/apache/woden/internal/ org/apache/woden/internal/wsdl20/validation/
org/apache/woden/resolver/ org/apache/woden/resolver/...
Modified: incubator/woden/trunk/java/test/org/apache/woden/resolver/OMSimpleURIResolverTest.java
URL: http://svn.apache.org/viewvc/incubator/woden/trunk/java/test/org/apache/woden/resolver/OMSimpleURIResolverTest.java?rev=568937&r1=568936&r2=568937&view=diff
==============================================================================
--- incubator/woden/trunk/java/test/org/apache/woden/resolver/OMSimpleURIResolverTest.java (original)
+++ incubator/woden/trunk/java/test/org/apache/woden/resolver/OMSimpleURIResolverTest.java Thu Aug 23 04:24:51 2007
@@ -1,231 +1,231 @@
-/**
+/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.woden.resolver;
-
-
-import java.io.IOException;
-import java.net.URL;
-import java.net.URLConnection;
-import java.util.Iterator;
-import java.util.Properties;
-
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-
-import org.apache.woden.ErrorHandler;
-import org.apache.woden.WSDLFactory;
-import org.apache.woden.WSDLReader;
-import org.apache.woden.internal.OMWSDLFactory;
-import org.apache.woden.internal.resolver.SimpleURIResolver;
-import org.apache.woden.schema.ImportedSchema;
-import org.apache.woden.schema.InlinedSchema;
-import org.apache.woden.schema.Schema;
-import org.apache.woden.tests.TestErrorHandler;
-import org.apache.woden.wsdl20.Binding;
-import org.apache.woden.wsdl20.Description;
-import org.apache.woden.wsdl20.Interface;
-import org.apache.woden.wsdl20.xml.DescriptionElement;
-import org.apache.woden.wsdl20.xml.TypesElement;
-import org.apache.ws.commons.schema.XmlSchema;
-import org.apache.ws.commons.schema.XmlSchemaExternal;
-import org.apache.ws.commons.schema.XmlSchemaImport;
-import org.apache.ws.commons.schema.XmlSchemaInclude;
-import org.apache.ws.commons.schema.XmlSchemaObjectCollection;
-
-/**
- * Functional verification test of SimpleURIResolver.
- *
- * @author Graham Turrell
- */
-public class OMSimpleURIResolverTest extends TestCase
-{
- private Binding[] fBindings = null;
- private Interface[] fInterfaces = null;
- private Schema[] fSchemas = null;
- private ImportedSchema[] fImportedSchemas = null;
- private InlinedSchema[] fInlinedSchemas = null;
- private String fCatalogPropValue = null;
- private String fHttpProxyHostValue = null;
- private String fHttpProxyHostProperty = "http.proxyHost";
- private String fCatalogProperty = "org.apache.woden.resolver.simpleresolver.catalog";
- private String fWsdlPath = "org/apache/woden/resolver/resources/woden14.wsdl";
- private String fCatalogPath = "org/apache/woden/resolver/resources/simpleresolver.catalog";
-
- public static Test suite()
- {
- return new TestSuite(OMSimpleURIResolverTest.class);
- }
-
- /*
- * @see TestCase#setUp()
- */
- protected void setUp() throws Exception
- {
- super.setUp();
-
- // disable external http connections to ensure that test resolves only to local files
- // specify a fantasy proxy host server fo use by HttpURLConnection ...
- fHttpProxyHostValue = System.setProperty(fHttpProxyHostProperty, "proxy.thedomainforthisproxydoesnotexist.com");
-
- // ensure any external (http) connection now fails
- URLConnection testConnection = null;
- try
- {
- testConnection = new URL("www.apache.org").openConnection();
- }
- catch (IOException e){
-
- }
- assertNull("Expected no connection IOException due to non-existent HTTP Proxy.", testConnection);
-
- // locate catalog file and set org.apache.woden.resolver.simpleresolver.catalog
- // property to be that file.
-
- URL catalogURL = getClass().getClassLoader().getResource(fCatalogPath);
- assertNotNull("Failed to find the Resolver Catalog document on the classpath using the path: " + fCatalogPath + ".",
- catalogURL);
- // simulate the standard compiler "-D" option ...
- fCatalogPropValue = System.setProperty(fCatalogProperty, catalogURL.toString());
-
- WSDLFactory factory = OMWSDLFactory.newInstance("org.apache.woden.internal.OMWSDLFactory");
- WSDLReader reader = factory.newWSDLReader();
- ErrorHandler handler = new TestErrorHandler();
- reader.setFeature(WSDLReader.FEATURE_VALIDATION, true);
- reader.getErrorReporter().setErrorHandler(handler);
-
- URL wsdlURL = getClass().getClassLoader().getResource(fWsdlPath);
- assertNotNull("Failed to find the WSDL document on the classpath using the path: " + fWsdlPath + ".",
- wsdlURL);
-
- // set the resolver explicitly, using the root as a base URL
- // (SimpleURIResolver() default constructor is the default behaviour)
-
- reader.setURIResolver(new SimpleURIResolver());
-
- Description descComp = reader.readWSDL(wsdlURL.toString());
- assertNotNull("The reader did not return a WSDL description.", descComp);
-
- fBindings = descComp.getBindings();
- fInterfaces = descComp.getInterfaces();
-
- DescriptionElement descElem = descComp.toElement();
- TypesElement types = descElem.getTypesElement();
- fSchemas = types.getSchemas();
- fImportedSchemas = types.getImportedSchemas();
- fInlinedSchemas = types.getInlinedSchemas();
-
- assertEquals("The Description should contain 1 Binding component.", 1, fBindings.length);
- assertEquals("The Description should contain 1 Interface component.", 1, fInterfaces.length);
- assertEquals("The Description should contain no imported schemas.", 0, fImportedSchemas.length); //Note, the OM impl does not automatically import the schema for W3C XML Schema
- assertEquals("The Description should contain 1 included (inlined) schema.", 1, fInlinedSchemas.length);
- assertEquals("The Description should contain total of 1 imported & inlined schema.", 1, fSchemas.length);
- }
-
- /**
- * Test that the included binding matches the expected value parsed from the WSDL.
- */
- public void testCheckWSDLInclude()
- {
- Binding binding1 = fBindings[0];
-
- assertEquals("Unexpected binding name.", "{http://example.com/bank}BankSOAPBinding", binding1.getName().toString());
- }
-
- /**
- * Test that the imported interface matches the expected value parsed from the WSDL.
- */
- public void testCheckWSDLImport()
- {
- Interface interface1 = fInterfaces[0];
-
- assertEquals("Unexpected interface name.", "{http://example.com/bank}Bank", interface1.getName().toString());
- }
-
- /**
- * Test that the imported schema document matches the expected value parsed from the WSDL.
- */
- public void testCheckSchemaImport()
- {
- Schema schema1 = fSchemas[0];
- XmlSchema xmlSchema = schema1.getSchemaDefinition();
- assertEquals("Unexpected targetNamespace.", "http://example.org/getAccountDetails/", schema1.getNamespace().toString());
-
- XmlSchemaObjectCollection schemaIncludes = xmlSchema.getIncludes(); // returns both includes and imports
- Iterator schemaIterator = schemaIncludes.getIterator();
- while (schemaIterator.hasNext())
- {
- XmlSchemaExternal xso = (XmlSchemaExternal) schemaIterator.next();
- if (xso instanceof XmlSchemaImport)
- {
- assertEquals("Unexpected namespace.", "http://example.org/getOverdraft", ((XmlSchemaImport)xso).getNamespace());
- assertEquals("Unexpected schemaLocation.", "http://test.com/getOverdraft.xsd", xso.getSchemaLocation());
- }
- }
- }
-
- /**
- * Test that the included schema document matches the expected value parsed from the WSDL.
- */
- public void testCheckSchemaInclude()
- {
- InlinedSchema schema1 = fInlinedSchemas[0];
- XmlSchema xmlSchema = schema1.getSchemaDefinition();
- assertEquals("Unexpected targetNamespace.", "http://example.org/getAccountDetails/", schema1.getNamespace().toString());
-
- XmlSchemaObjectCollection schemaIncludes = xmlSchema.getIncludes(); // returns both includes and imports
- Iterator schemaIterator = schemaIncludes.getIterator();
- while (schemaIterator.hasNext())
- {
- XmlSchemaExternal xso = (XmlSchemaExternal) schemaIterator.next();
- if (xso instanceof XmlSchemaInclude)
- {
- assertEquals("Unexpected schemaLocation.", "http://test.com/getBalance.xsd", xso.getSchemaLocation());
- }
- }
- }
-
-
- protected void tearDown() throws Exception
- {
- Properties p = System.getProperties();
- if (fCatalogPropValue == null)
- {
- p.remove(fCatalogProperty);
- }
- else
- {
- p.setProperty(fCatalogProperty, fCatalogPropValue);
- }
-
- if (fHttpProxyHostValue == null)
- {
- p.remove(fHttpProxyHostProperty);
- }
- else
- {
- p.setProperty(fHttpProxyHostProperty, fHttpProxyHostValue);
- }
-
- // above required as following throws NPE when arg1 == null (contrary to spec)
- //System.setProperty(fCatalogProperty, fCatalogPropValue);
- //System.setProperty("http.proxyHost", fHttpProxyHostValue);
-
- System.setProperties(p);
- }
-
-}
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.woden.resolver;
+
+
+import java.io.IOException;
+import java.net.URL;
+import java.net.URLConnection;
+import java.util.Iterator;
+import java.util.Properties;
+
+import junit.framework.Test;
+import junit.framework.TestCase;
+import junit.framework.TestSuite;
+
+import org.apache.woden.ErrorHandler;
+import org.apache.woden.WSDLFactory;
+import org.apache.woden.WSDLReader;
+import org.apache.woden.internal.OMWSDLFactory;
+import org.apache.woden.internal.resolver.SimpleURIResolver;
+import org.apache.woden.schema.ImportedSchema;
+import org.apache.woden.schema.InlinedSchema;
+import org.apache.woden.schema.Schema;
+import org.apache.woden.tests.TestErrorHandler;
+import org.apache.woden.wsdl20.Binding;
+import org.apache.woden.wsdl20.Description;
+import org.apache.woden.wsdl20.Interface;
+import org.apache.woden.wsdl20.xml.DescriptionElement;
+import org.apache.woden.wsdl20.xml.TypesElement;
+import org.apache.ws.commons.schema.XmlSchema;
+import org.apache.ws.commons.schema.XmlSchemaExternal;
+import org.apache.ws.commons.schema.XmlSchemaImport;
+import org.apache.ws.commons.schema.XmlSchemaInclude;
+import org.apache.ws.commons.schema.XmlSchemaObjectCollection;
+
+/**
+ * Functional verification test of SimpleURIResolver.
+ *
+ * @author Graham Turrell
+ */
+public class OMSimpleURIResolverTest extends TestCase
+{
+ private Binding[] fBindings = null;
+ private Interface[] fInterfaces = null;
+ private Schema[] fSchemas = null;
+ private ImportedSchema[] fImportedSchemas = null;
+ private InlinedSchema[] fInlinedSchemas = null;
+ private String fCatalogPropValue = null;
+ private String fHttpProxyHostValue = null;
+ private String fHttpProxyHostProperty = "http.proxyHost";
+ private String fCatalogProperty = "org.apache.woden.resolver.simpleresolver.catalog";
+ private String fWsdlPath = "org/apache/woden/resolver/resources/woden14.wsdl";
+ private String fCatalogPath = "org/apache/woden/resolver/resources/simpleresolver.catalog";
+
+ public static Test suite()
+ {
+ return new TestSuite(OMSimpleURIResolverTest.class);
+ }
+
+ /*
+ * @see TestCase#setUp()
+ */
+ protected void setUp() throws Exception
+ {
+ super.setUp();
+
+ // disable external http connections to ensure that test resolves only to local files
+ // specify a fantasy proxy host server fo use by HttpURLConnection ...
+ fHttpProxyHostValue = System.setProperty(fHttpProxyHostProperty, "proxy.thedomainforthisproxydoesnotexist.com");
+
+ // ensure any external (http) connection now fails
+ URLConnection testConnection = null;
+ try
+ {
+ testConnection = new URL("www.apache.org").openConnection();
+ }
+ catch (IOException e){
+
+ }
+ assertNull("Expected no connection IOException due to non-existent HTTP Proxy.", testConnection);
+
+ // locate catalog file and set org.apache.woden.resolver.simpleresolver.catalog
+ // property to be that file.
+
+ URL catalogURL = getClass().getClassLoader().getResource(fCatalogPath);
+ assertNotNull("Failed to find the Resolver Catalog document on the classpath using the path: " + fCatalogPath + ".",
+ catalogURL);
+ // simulate the standard compiler "-D" option ...
+ fCatalogPropValue = System.setProperty(fCatalogProperty, catalogURL.toString());
+
+ WSDLFactory factory = OMWSDLFactory.newInstance("org.apache.woden.internal.OMWSDLFactory");
+ WSDLReader reader = factory.newWSDLReader();
+ ErrorHandler handler = new TestErrorHandler();
+ reader.setFeature(WSDLReader.FEATURE_VALIDATION, true);
+ reader.getErrorReporter().setErrorHandler(handler);
+
+ URL wsdlURL = getClass().getClassLoader().getResource(fWsdlPath);
+ assertNotNull("Failed to find the WSDL document on the classpath using the path: " + fWsdlPath + ".",
+ wsdlURL);
+
+ // set the resolver explicitly, using the root as a base URL
+ // (SimpleURIResolver() default constructor is the default behaviour)
+
+ reader.setURIResolver(new SimpleURIResolver());
+
+ Description descComp = reader.readWSDL(wsdlURL.toString());
+ assertNotNull("The reader did not return a WSDL description.", descComp);
+
+ fBindings = descComp.getBindings();
+ fInterfaces = descComp.getInterfaces();
+
+ DescriptionElement descElem = descComp.toElement();
+ TypesElement types = descElem.getTypesElement();
+ fSchemas = types.getSchemas();
+ fImportedSchemas = types.getImportedSchemas();
+ fInlinedSchemas = types.getInlinedSchemas();
+
+ assertEquals("The Description should contain 1 Binding component.", 1, fBindings.length);
+ assertEquals("The Description should contain 1 Interface component.", 1, fInterfaces.length);
+ assertEquals("The Description should contain no imported schemas.", 0, fImportedSchemas.length); //Note, the OM impl does not automatically import the schema for W3C XML Schema
+ assertEquals("The Description should contain 1 included (inlined) schema.", 1, fInlinedSchemas.length);
+ assertEquals("The Description should contain total of 1 imported & inlined schema.", 1, fSchemas.length);
+ }
+
+ /**
+ * Test that the included binding matches the expected value parsed from the WSDL.
+ */
+ public void testCheckWSDLInclude()
+ {
+ Binding binding1 = fBindings[0];
+
+ assertEquals("Unexpected binding name.", "{http://example.com/bank}BankSOAPBinding", binding1.getName().toString());
+ }
+
+ /**
+ * Test that the imported interface matches the expected value parsed from the WSDL.
+ */
+ public void testCheckWSDLImport()
+ {
+ Interface interface1 = fInterfaces[0];
+
+ assertEquals("Unexpected interface name.", "{http://example.com/bank}Bank", interface1.getName().toString());
+ }
+
+ /**
+ * Test that the imported schema document matches the expected value parsed from the WSDL.
+ */
+ public void testCheckSchemaImport()
+ {
+ Schema schema1 = fSchemas[0];
+ XmlSchema xmlSchema = schema1.getSchemaDefinition();
+ assertEquals("Unexpected targetNamespace.", "http://example.org/getAccountDetails/", schema1.getNamespace().toString());
+
+ XmlSchemaObjectCollection schemaIncludes = xmlSchema.getIncludes(); // returns both includes and imports
+ Iterator schemaIterator = schemaIncludes.getIterator();
+ while (schemaIterator.hasNext())
+ {
+ XmlSchemaExternal xso = (XmlSchemaExternal) schemaIterator.next();
+ if (xso instanceof XmlSchemaImport)
+ {
+ assertEquals("Unexpected namespace.", "http://example.org/getOverdraft", ((XmlSchemaImport)xso).getNamespace());
+ assertEquals("Unexpected schemaLocation.", "http://test.com/getOverdraft.xsd", xso.getSchemaLocation());
+ }
+ }
+ }
+
+ /**
+ * Test that the included schema document matches the expected value parsed from the WSDL.
+ */
+ public void testCheckSchemaInclude()
+ {
+ InlinedSchema schema1 = fInlinedSchemas[0];
+ XmlSchema xmlSchema = schema1.getSchemaDefinition();
+ assertEquals("Unexpected targetNamespace.", "http://example.org/getAccountDetails/", schema1.getNamespace().toString());
+
+ XmlSchemaObjectCollection schemaIncludes = xmlSchema.getIncludes(); // returns both includes and imports
+ Iterator schemaIterator = schemaIncludes.getIterator();
+ while (schemaIterator.hasNext())
+ {
+ XmlSchemaExternal xso = (XmlSchemaExternal) schemaIterator.next();
+ if (xso instanceof XmlSchemaInclude)
+ {
+ assertEquals("Unexpected schemaLocation.", "http://test.com/getBalance.xsd", xso.getSchemaLocation());
+ }
+ }
+ }
+
+
+ protected void tearDown() throws Exception
+ {
+ Properties p = System.getProperties();
+ if (fCatalogPropValue == null)
+ {
+ p.remove(fCatalogProperty);
+ }
+ else
+ {
+ p.setProperty(fCatalogProperty, fCatalogPropValue);
+ }
+
+ if (fHttpProxyHostValue == null)
+ {
+ p.remove(fHttpProxyHostProperty);
+ }
+ else
+ {
+ p.setProperty(fHttpProxyHostProperty, fHttpProxyHostValue);
+ }
+
+ // above required as following throws NPE when arg1 == null (contrary to spec)
+ //System.setProperty(fCatalogProperty, fCatalogPropValue);
+ //System.setProperty("http.proxyHost", fHttpProxyHostValue);
+
+ System.setProperties(p);
+ }
+
+}
Propchange: incubator/woden/trunk/java/test/org/apache/woden/resolver/OMSimpleURIResolverTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/woden/trunk/java/test/org/apache/woden/resolver/SimpleURIResolverTest.java
URL: http://svn.apache.org/viewvc/incubator/woden/trunk/java/test/org/apache/woden/resolver/SimpleURIResolverTest.java?rev=568937&r1=568936&r2=568937&view=diff
==============================================================================
--- incubator/woden/trunk/java/test/org/apache/woden/resolver/SimpleURIResolverTest.java (original)
+++ incubator/woden/trunk/java/test/org/apache/woden/resolver/SimpleURIResolverTest.java Thu Aug 23 04:24:51 2007
@@ -1,236 +1,236 @@
-/**
+/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.woden.resolver;
-
-
-import java.io.IOException;
-import java.net.URL;
-import java.net.URLConnection;
-import java.util.Iterator;
-import java.util.Properties;
-
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-
-import org.apache.woden.ErrorHandler;
-import org.apache.woden.WSDLFactory;
-import org.apache.woden.WSDLReader;
-import org.apache.woden.internal.resolver.SimpleURIResolver;
-import org.apache.woden.schema.ImportedSchema;
-import org.apache.woden.schema.InlinedSchema;
-import org.apache.woden.schema.Schema;
-import org.apache.woden.tests.TestErrorHandler;
-import org.apache.woden.wsdl20.Binding;
-import org.apache.woden.wsdl20.Description;
-import org.apache.woden.wsdl20.Interface;
-import org.apache.woden.wsdl20.xml.DescriptionElement;
-import org.apache.woden.wsdl20.xml.TypesElement;
-import org.apache.ws.commons.schema.XmlSchema;
-import org.apache.ws.commons.schema.XmlSchemaExternal;
-import org.apache.ws.commons.schema.XmlSchemaImport;
-import org.apache.ws.commons.schema.XmlSchemaInclude;
-import org.apache.ws.commons.schema.XmlSchemaObjectCollection;
-
-/**
- * Functional verification test of SimpleURIResolver.
- *
- * @author Graham Turrell
- */
-public class SimpleURIResolverTest extends TestCase
-{
- private Binding[] fBindings = null;
- private Interface[] fInterfaces = null;
- private Schema[] fSchemas = null;
- private ImportedSchema[] fImportedSchemas = null;
- private InlinedSchema[] fInlinedSchemas = null;
- private String fCatalogPropValue = null;
- private String fHttpProxyHostValue = null;
- private String fHttpProxyHostProperty = "http.proxyHost";
- private String fCatalogProperty = "org.apache.woden.resolver.simpleresolver.catalog";
- private String fWsdlPath = "org/apache/woden/resolver/resources/woden14.wsdl";
- private String fCatalogPath = "org/apache/woden/resolver/resources/simpleresolver.catalog";
-
- public static Test suite()
- {
- return new TestSuite(SimpleURIResolverTest.class);
- }
-
- /*
- * @see TestCase#setUp()
- */
- protected void setUp() throws Exception
- {
- super.setUp();
-
- // disable external http connections to ensure that test resolves only to local files
- // specify a fantasy proxy host server fo use by HttpURLConnection ...
- fHttpProxyHostValue = System.setProperty(fHttpProxyHostProperty, "proxy.thedomainforthisproxydoesnotexist.com");
-
- // ensure any external (http) connection now fails
- URLConnection testConnection = null;
- try
- {
- testConnection = new URL("www.apache.org").openConnection();
- }
- catch (IOException e){
-
- }
- assertNull("Expected no connection IOException due to non-existent HTTP Proxy.", testConnection);
-
- // locate catalog file and set org.apache.woden.resolver.simpleresolver.catalog
- // property to be that file.
-
- URL catalogURL = getClass().getClassLoader().getResource(fCatalogPath);
- assertNotNull("Failed to find the Resolver Catalog document on the classpath using the path: " + fCatalogPath + ".",
- catalogURL);
- // simulate the standard compiler "-D" option ...
- fCatalogPropValue = System.setProperty(fCatalogProperty, catalogURL.toString());
-
- WSDLFactory factory = WSDLFactory.newInstance();
- WSDLReader reader = factory.newWSDLReader();
- ErrorHandler handler = new TestErrorHandler();
- reader.setFeature(WSDLReader.FEATURE_VALIDATION, true);
- reader.getErrorReporter().setErrorHandler(handler);
-
- URL wsdlURL = getClass().getClassLoader().getResource(fWsdlPath);
- assertNotNull("Failed to find the WSDL document on the classpath using the path: " + fWsdlPath + ".",
- wsdlURL);
-
-
- // set the resolver explicitly, using the root as a base URL
- // (SimpleURIResolver() default constructor is the default behaviour)
-
- // Base/root URL property no longer required in this test - now uses classpath
- //URL rootURL = getClass().getClassLoader().getResource(fResources);
- //assertNotNull("Failed to find the Base URL document on the classpath using the path: " + fResources + ".",
- // wsdlURL);
- //System.setProperty(fCatalogBaseProperty, rootURL.toString());
- reader.setURIResolver(new SimpleURIResolver());
-
- Description descComp = reader.readWSDL(wsdlURL.toString());
- assertNotNull("The reader did not return a WSDL description.", descComp);
-
- fBindings = descComp.getBindings();
- fInterfaces = descComp.getInterfaces();
-
- DescriptionElement descElem = descComp.toElement();
- TypesElement types = descElem.getTypesElement();
- fSchemas = types.getSchemas();
- fImportedSchemas = types.getImportedSchemas();
- fInlinedSchemas = types.getInlinedSchemas();
-
- assertEquals("The Description should contain 1 Binding component.", 1, fBindings.length);
- assertEquals("The Description should contain 1 Interface component.", 1, fInterfaces.length);
- assertEquals("The Description should contain 1 imported schema.", 1, fImportedSchemas.length); //the schema for W3C XML Schema imported by the DOM impl
- assertEquals("The Description should contain 1 included (inlined) schema.", 1, fInlinedSchemas.length);
- assertEquals("The Description should contain total of 2 imported & inlined schema.", 2, fSchemas.length);
- }
-
- /**
- * Test that the included binding matches the expected value parsed from the WSDL.
- */
- public void testCheckWSDLInclude()
- {
- Binding binding1 = fBindings[0];
-
- assertEquals("Unexpected binding name.", "{http://example.com/bank}BankSOAPBinding", binding1.getName().toString());
- }
-
- /**
- * Test that the imported interface matches the expected value parsed from the WSDL.
- */
- public void testCheckWSDLImport()
- {
- Interface interface1 = fInterfaces[0];
-
- assertEquals("Unexpected interface name.", "{http://example.com/bank}Bank", interface1.getName().toString());
- }
-
- /**
- * Test that the imported schema document matches the expected value parsed from the WSDL.
- */
- public void testCheckSchemaImport()
- {
- Schema schema1 = fSchemas[0];
- XmlSchema xmlSchema = schema1.getSchemaDefinition();
- assertEquals("Unexpected targetNamespace.", "http://example.org/getAccountDetails/", schema1.getNamespace().toString());
-
- XmlSchemaObjectCollection schemaIncludes = xmlSchema.getIncludes(); // returns both includes and imports
- Iterator schemaIterator = schemaIncludes.getIterator();
- while (schemaIterator.hasNext())
- {
- XmlSchemaExternal xso = (XmlSchemaExternal) schemaIterator.next();
- if (xso instanceof XmlSchemaImport)
- {
- assertEquals("Unexpected namespace.", "http://example.org/getOverdraft", ((XmlSchemaImport)xso).getNamespace());
- assertEquals("Unexpected schemaLocation.", "http://test.com/getOverdraft.xsd", xso.getSchemaLocation());
- }
- }
- }
-
- /**
- * Test that the included schema document matches the expected value parsed from the WSDL.
- */
- public void testCheckSchemaInclude()
- {
- InlinedSchema schema1 = fInlinedSchemas[0];
- XmlSchema xmlSchema = schema1.getSchemaDefinition();
- assertEquals("Unexpected targetNamespace.", "http://example.org/getAccountDetails/", schema1.getNamespace().toString());
-
- XmlSchemaObjectCollection schemaIncludes = xmlSchema.getIncludes(); // returns both includes and imports
- Iterator schemaIterator = schemaIncludes.getIterator();
- while (schemaIterator.hasNext())
- {
- XmlSchemaExternal xso = (XmlSchemaExternal) schemaIterator.next();
- if (xso instanceof XmlSchemaInclude)
- {
- assertEquals("Unexpected schemaLocation.", "http://test.com/getBalance.xsd", xso.getSchemaLocation());
- }
- }
- }
-
-
- protected void tearDown() throws Exception
- {
- Properties p = System.getProperties();
- if (fCatalogPropValue == null)
- {
- p.remove(fCatalogProperty);
- }
- else
- {
- p.setProperty(fCatalogProperty, fCatalogPropValue);
- }
-
- if (fHttpProxyHostValue == null)
- {
- p.remove(fHttpProxyHostProperty);
- }
- else
- {
- p.setProperty(fHttpProxyHostProperty, fHttpProxyHostValue);
- }
-
- // above required as following throws NPE when arg1 == null (contrary to spec)
- //System.setProperty(fCatalogProperty, fCatalogPropValue);
- //System.setProperty("http.proxyHost", fHttpProxyHostValue);
-
- System.setProperties(p);
- }
-
-}
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.woden.resolver;
+
+
+import java.io.IOException;
+import java.net.URL;
+import java.net.URLConnection;
+import java.util.Iterator;
+import java.util.Properties;
+
+import junit.framework.Test;
+import junit.framework.TestCase;
+import junit.framework.TestSuite;
+
+import org.apache.woden.ErrorHandler;
+import org.apache.woden.WSDLFactory;
+import org.apache.woden.WSDLReader;
+import org.apache.woden.internal.resolver.SimpleURIResolver;
+import org.apache.woden.schema.ImportedSchema;
+import org.apache.woden.schema.InlinedSchema;
+import org.apache.woden.schema.Schema;
+import org.apache.woden.tests.TestErrorHandler;
+import org.apache.woden.wsdl20.Binding;
+import org.apache.woden.wsdl20.Description;
+import org.apache.woden.wsdl20.Interface;
+import org.apache.woden.wsdl20.xml.DescriptionElement;
+import org.apache.woden.wsdl20.xml.TypesElement;
+import org.apache.ws.commons.schema.XmlSchema;
+import org.apache.ws.commons.schema.XmlSchemaExternal;
+import org.apache.ws.commons.schema.XmlSchemaImport;
+import org.apache.ws.commons.schema.XmlSchemaInclude;
+import org.apache.ws.commons.schema.XmlSchemaObjectCollection;
+
+/**
+ * Functional verification test of SimpleURIResolver.
+ *
+ * @author Graham Turrell
+ */
+public class SimpleURIResolverTest extends TestCase
+{
+ private Binding[] fBindings = null;
+ private Interface[] fInterfaces = null;
+ private Schema[] fSchemas = null;
+ private ImportedSchema[] fImportedSchemas = null;
+ private InlinedSchema[] fInlinedSchemas = null;
+ private String fCatalogPropValue = null;
+ private String fHttpProxyHostValue = null;
+ private String fHttpProxyHostProperty = "http.proxyHost";
+ private String fCatalogProperty = "org.apache.woden.resolver.simpleresolver.catalog";
+ private String fWsdlPath = "org/apache/woden/resolver/resources/woden14.wsdl";
+ private String fCatalogPath = "org/apache/woden/resolver/resources/simpleresolver.catalog";
+
+ public static Test suite()
+ {
+ return new TestSuite(SimpleURIResolverTest.class);
+ }
+
+ /*
+ * @see TestCase#setUp()
+ */
+ protected void setUp() throws Exception
+ {
+ super.setUp();
+
+ // disable external http connections to ensure that test resolves only to local files
+ // specify a fantasy proxy host server fo use by HttpURLConnection ...
+ fHttpProxyHostValue = System.setProperty(fHttpProxyHostProperty, "proxy.thedomainforthisproxydoesnotexist.com");
+
+ // ensure any external (http) connection now fails
+ URLConnection testConnection = null;
+ try
+ {
+ testConnection = new URL("www.apache.org").openConnection();
+ }
+ catch (IOException e){
+
+ }
+ assertNull("Expected no connection IOException due to non-existent HTTP Proxy.", testConnection);
+
+ // locate catalog file and set org.apache.woden.resolver.simpleresolver.catalog
+ // property to be that file.
+
+ URL catalogURL = getClass().getClassLoader().getResource(fCatalogPath);
+ assertNotNull("Failed to find the Resolver Catalog document on the classpath using the path: " + fCatalogPath + ".",
+ catalogURL);
+ // simulate the standard compiler "-D" option ...
+ fCatalogPropValue = System.setProperty(fCatalogProperty, catalogURL.toString());
+
+ WSDLFactory factory = WSDLFactory.newInstance();
+ WSDLReader reader = factory.newWSDLReader();
+ ErrorHandler handler = new TestErrorHandler();
+ reader.setFeature(WSDLReader.FEATURE_VALIDATION, true);
+ reader.getErrorReporter().setErrorHandler(handler);
+
+ URL wsdlURL = getClass().getClassLoader().getResource(fWsdlPath);
+ assertNotNull("Failed to find the WSDL document on the classpath using the path: " + fWsdlPath + ".",
+ wsdlURL);
+
+
+ // set the resolver explicitly, using the root as a base URL
+ // (SimpleURIResolver() default constructor is the default behaviour)
+
+ // Base/root URL property no longer required in this test - now uses classpath
+ //URL rootURL = getClass().getClassLoader().getResource(fResources);
+ //assertNotNull("Failed to find the Base URL document on the classpath using the path: " + fResources + ".",
+ // wsdlURL);
+ //System.setProperty(fCatalogBaseProperty, rootURL.toString());
+ reader.setURIResolver(new SimpleURIResolver());
+
+ Description descComp = reader.readWSDL(wsdlURL.toString());
+ assertNotNull("The reader did not return a WSDL description.", descComp);
+
+ fBindings = descComp.getBindings();
+ fInterfaces = descComp.getInterfaces();
+
+ DescriptionElement descElem = descComp.toElement();
+ TypesElement types = descElem.getTypesElement();
+ fSchemas = types.getSchemas();
+ fImportedSchemas = types.getImportedSchemas();
+ fInlinedSchemas = types.getInlinedSchemas();
+
+ assertEquals("The Description should contain 1 Binding component.", 1, fBindings.length);
+ assertEquals("The Description should contain 1 Interface component.", 1, fInterfaces.length);
+ assertEquals("The Description should contain 1 imported schema.", 1, fImportedSchemas.length); //the schema for W3C XML Schema imported by the DOM impl
+ assertEquals("The Description should contain 1 included (inlined) schema.", 1, fInlinedSchemas.length);
+ assertEquals("The Description should contain total of 2 imported & inlined schema.", 2, fSchemas.length);
+ }
+
+ /**
+ * Test that the included binding matches the expected value parsed from the WSDL.
+ */
+ public void testCheckWSDLInclude()
+ {
+ Binding binding1 = fBindings[0];
+
+ assertEquals("Unexpected binding name.", "{http://example.com/bank}BankSOAPBinding", binding1.getName().toString());
+ }
+
+ /**
+ * Test that the imported interface matches the expected value parsed from the WSDL.
+ */
+ public void testCheckWSDLImport()
+ {
+ Interface interface1 = fInterfaces[0];
+
+ assertEquals("Unexpected interface name.", "{http://example.com/bank}Bank", interface1.getName().toString());
+ }
+
+ /**
+ * Test that the imported schema document matches the expected value parsed from the WSDL.
+ */
+ public void testCheckSchemaImport()
+ {
+ Schema schema1 = fSchemas[0];
+ XmlSchema xmlSchema = schema1.getSchemaDefinition();
+ assertEquals("Unexpected targetNamespace.", "http://example.org/getAccountDetails/", schema1.getNamespace().toString());
+
+ XmlSchemaObjectCollection schemaIncludes = xmlSchema.getIncludes(); // returns both includes and imports
+ Iterator schemaIterator = schemaIncludes.getIterator();
+ while (schemaIterator.hasNext())
+ {
+ XmlSchemaExternal xso = (XmlSchemaExternal) schemaIterator.next();
+ if (xso instanceof XmlSchemaImport)
+ {
+ assertEquals("Unexpected namespace.", "http://example.org/getOverdraft", ((XmlSchemaImport)xso).getNamespace());
+ assertEquals("Unexpected schemaLocation.", "http://test.com/getOverdraft.xsd", xso.getSchemaLocation());
+ }
+ }
+ }
+
+ /**
+ * Test that the included schema document matches the expected value parsed from the WSDL.
+ */
+ public void testCheckSchemaInclude()
+ {
+ InlinedSchema schema1 = fInlinedSchemas[0];
+ XmlSchema xmlSchema = schema1.getSchemaDefinition();
+ assertEquals("Unexpected targetNamespace.", "http://example.org/getAccountDetails/", schema1.getNamespace().toString());
+
+ XmlSchemaObjectCollection schemaIncludes = xmlSchema.getIncludes(); // returns both includes and imports
+ Iterator schemaIterator = schemaIncludes.getIterator();
+ while (schemaIterator.hasNext())
+ {
+ XmlSchemaExternal xso = (XmlSchemaExternal) schemaIterator.next();
+ if (xso instanceof XmlSchemaInclude)
+ {
+ assertEquals("Unexpected schemaLocation.", "http://test.com/getBalance.xsd", xso.getSchemaLocation());
+ }
+ }
+ }
+
+
+ protected void tearDown() throws Exception
+ {
+ Properties p = System.getProperties();
+ if (fCatalogPropValue == null)
+ {
+ p.remove(fCatalogProperty);
+ }
+ else
+ {
+ p.setProperty(fCatalogProperty, fCatalogPropValue);
+ }
+
+ if (fHttpProxyHostValue == null)
+ {
+ p.remove(fHttpProxyHostProperty);
+ }
+ else
+ {
+ p.setProperty(fHttpProxyHostProperty, fHttpProxyHostValue);
+ }
+
+ // above required as following throws NPE when arg1 == null (contrary to spec)
+ //System.setProperty(fCatalogProperty, fCatalogPropValue);
+ //System.setProperty("http.proxyHost", fHttpProxyHostValue);
+
+ System.setProperties(p);
+ }
+
+}
Propchange: incubator/woden/trunk/java/test/org/apache/woden/resolver/SimpleURIResolverTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/woden/trunk/java/test/org/apache/woden/resolver/resources/W3Ctests.catalog
URL: http://svn.apache.org/viewvc/incubator/woden/trunk/java/test/org/apache/woden/resolver/resources/W3Ctests.catalog?rev=568937&r1=568936&r2=568937&view=diff
==============================================================================
--- incubator/woden/trunk/java/test/org/apache/woden/resolver/resources/W3Ctests.catalog (original)
+++ incubator/woden/trunk/java/test/org/apache/woden/resolver/resources/W3Ctests.catalog Thu Aug 23 04:24:51 2007
@@ -1,122 +1,122 @@
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-###################################################################################################
-# XML Catalog file for external documents used within the w3c test-suite
-# {referenced URI}={actual location}
-#
-# base location is <project-loc>/downloads/w3c.
-#
-# (use -Dorg.apache.woden.resolver.simpleresolver.baseURIs="file://<project-loc>/downloads/w3c/"
-# as a JVM argument, or add <project-loc>/downloads/w3c to classpath)
-#
-##################################################################################################
-http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/bad/Chameleon-1B/accountInfo.xsd=documents/bad/Chameleon-1B/accountInfo.xsd
-http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/bad/Chameleon-1B/customerInfo.xsd=documents/bad/Chameleon-1B/customerInfo.xsd
-http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/bad/Chameleon-1B/getBalance.wsdl=documents/bad/Chameleon-1B/getBalance.wsdl
-http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/bad/Chameleon-2B/getBalance.wsdl=documents/bad/Chameleon-2B/getBalance.wsdl
-http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/bad/Import-1B/XSDImport.wsdl=documents/bad/Import-1B/XSDImport.wsdl
-http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/bad/Import-2B/XSDImportInWSDL.wsdl=documents/bad/Import-2B/XSDImportInWSDL.wsdl
-http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/bad/Import-3B/XSDImport2.wsdl=documents/bad/Import-3B/XSDImport2.wsdl
-http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/bad/Interface-1B/Interface.wsdl=documents/bad/Interface-1B/Interface.wsdl
-http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/bad/Interface-2B/Interface.wsdl=documents/bad/Interface-2B/Interface.wsdl
-http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/bad/Interface-3B/Interface.wsdl=documents/bad/Interface-3B/Interface.wsdl
-http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/bad/Service-1B/Service.wsdl=documents/bad/Service-1B/Service.wsdl
-http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/bad/Service-2B/Service.wsdl=documents/bad/Service-2B/Service.wsdl
-http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/bad/Service-12B/Service.wsdl=documents/bad/Service-12B/Service.wsdl
-http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/bad/Service-13B/Service.wsdl=documents/bad/Service-13B/Service.wsdl
-http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/bad/Service-14B/Service.wsdl=documents/bad/Service-14B/Service.wsdl
-http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/bad/Service-15B/Service.wsdl=documents/bad/Service-15B/Service.wsdl
-http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/bad/TicketAgent-1B/TicketAgent-bad.wsdl=documents/bad/TicketAgent-1B/TicketAgent-bad.wsdl
-http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/Chameleon-1G/getBalance.wsdl=documents/good/Chameleon-1G/getBalance.wsdl
-http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/Chameleon-2G/getBalance.wsdl=documents/good/Chameleon-2G/getBalance.wsdl
-http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/Chameleon-3G/getBalance.wsdl=documents/good/Chameleon-3G/getBalance.wsdl
-http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/Chameleon-4G/getBalance.wsdl=documents/good/Chameleon-4G/getBalance.wsdl
-http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/Compound1-1G/compound1.wsdl=documents/good/Compound1-1G/compound1.wsdl
-http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/CreditCardFaults-1G/use-credit-card-faults.wsdl=documents/good/CreditCardFaults-1G/use-credit-card-faults.wsdl
-http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/CreditCardFaults-1G/resSvc.xsd=documents/good/CreditCardFaults-1G/resSvc.xsd
-http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/Echo-1G/echo.wsdl=documents/good/Echo-1G/echo.wsdl
-http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/Echo-2G/echo.wsdl=documents/good/Echo-2G/echo.wsdl
-http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/EchoComplexDocLit-1G/Axis2SampleDocLit.wsdl=documents/good/EchoComplexDocLit-1G/Axis2SampleDocLit.wsdl
-http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/FlickrHTTP-1G/flickr.wsdl=documents/good/FlickrHTTP-1G/flickr.wsdl
-http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/GreatH-1G/primer-hotelReservationService.wsdl=documents/good/GreatH-1G/primer-hotelReservationService.wsdl
-http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/GreatH-2G/primer-hotelReservationService.wsdl=documents/good/GreatH-2G/primer-hotelReservationService.wsdl
-http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/GreatH-3G/primer-hotelReservationService.wsdl=documents/good/GreatH-3G/primer-hotelReservationService.wsdl
-http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/HTTPBinding-1G/Echo.wsdl=documents/good/HTTPBinding-1G/Echo.wsdl
-http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/HTTPBinding-2G/Echo.wsdl=documents/good/HTTPBinding-2G/Echo.wsdl
-http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/Import-1G/XSDImport.wsdl=documents/good/Import-1G/XSDImport.wsdl
-http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/Import-1G/name.xsd=documents/good/Import-1G/name.xsd
-http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/Import-2G/XSDImport2.wsdl=documents/good/Import-2G/XSDImport2.wsdl
-http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/Import-2G/name.xsd=documents/good/Import-2G/name.xsd
-http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/ImportedWSDL-1G/updateDetails.wsdl=documents/good/ImportedWSDL-1G/updateDetails.wsdl
-http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/Include-1G/EchoImpl.wsdl=documents/good/Include-1G/EchoImpl.wsdl
-http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/InOnlyMEP-1G/Oneway.wsdl=documents/good/InOnlyMEP-1G/Oneway.wsdl
-http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/Interface-1G/Interface.wsdl=documents/good/Interface-1G/Interface.wsdl
-http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/Interface-2G/Interface.wsdl=documents/good/Interface-2G/Interface.wsdl
-http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/Interface-3G/Interface.wsdl=documents/good/Interface-3G/Interface.wsdl
-http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/Interface-4G/Interface.wsdl=documents/good/Interface-4G/Interface.wsdl
-http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/Interface-5G/Interface.wsdl=documents/good/Interface-5G/Interface.wsdl
-http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/Interface-6G/Interface.wsdl=documents/good/Interface-6G/Interface.wsdl
-http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/Interface-7G/Interface.wsdl=documents/good/Interface-7G/Interface.wsdl
-http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/IRI-1G/iristyleinout.wsdl=documents/good/IRI-1G/iristyleinout.wsdl
-http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/IRI-2G/iristyleinonly.wsdl=documents/good/IRI-2G/iristyleinonly.wsdl
-http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/IRI-3G/iristyleinout.wsdl=documents/good/IRI-3G/iristyleinout.wsdl
-http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/LocationTemplate-1G/SOAPservice.wsdl=documents/good/LocationTemplate-1G/SOAPservice.wsdl
-http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/MessageMultipart-1G/HTTPservice.wsdl=documents/good/MessageMultipart-1G/HTTPservice.wsdl
-http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/MessageTest-1G/SOAPservice.wsdl=documents/good/MessageTest-1G/SOAPservice.wsdl
-http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/MessageTest-2G/HTTPservice.wsdl=documents/good/MessageTest-2G/HTTPservice.wsdl
-http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/MessageTest-3G/HTTPservice.wsdl=documents/good/MessageTest-3G/HTTPservice.wsdl
-http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/MessageTest-4G/SOAPservice.wsdl=documents/good/MessageTest-4G/SOAPservice.wsdl
-http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/MessageTest-5G/SOAPservice.wsdl=documents/good/MessageTest-5G/SOAPservice.wsdl
-http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/MessageTest-6G/SOAPservice.wsdl=documents/good/MessageTest-6G/SOAPservice.wsdl
-http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/ModuleComposition-1G/SOAPservice.wsdl=documents/good/ModuleComposition-1G/SOAPservice.wsdl
-http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/Multipart-1G/multipartstyleinout.wsdl=documents/good/Multipart-1G/multipartstyleinout.wsdl
-http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/Multipart-2G/multipartstyleinonly.wsdl=documents/good/Multipart-2G/multipartstyleinonly.wsdl
-http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/Multipart-3G/multipartstyleinout.wsdl=documents/good/Multipart-3G/multipartstyleinout.wsdl
-http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/MultipleInlineSchemas-1G/retrieveItems.wsdl=documents/good/MultipleInlineSchemas-1G/retrieveItems.wsdl
-http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/RPC-1G/rpcstyleinout.wsdl=documents/good/RPC-1G/rpcstyleinout.wsdl
-http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/RPC-2G/rpcstyleinonly.wsdl=documents/good/RPC-2G/rpcstyleinonly.wsdl
-http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/RPC-3G/rpcstyleinout.wsdl=documents/good/RPC-3G/rpcstyleinout.wsdl
-http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/RPC-4G/rpcstyleinout.wsdl=documents/good/RPC-4G/rpcstyleinout.wsdl
-http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/RPC-5G/rpcstyleinout.wsdl=documents/good/RPC-5G/rpcstyleinout.wsdl
-http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/RPC-6G/rpcstyleinout.wsdl=documents/good/RPC-6G/rpcstyleinout.wsdl
-http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/Schema-1G/string.wsdl=documents/good/Schema-1G/string.wsdl
-http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/SchemaId-1G/schemaIds.wsdl=documents/good/SchemaId-1G/schemaIds.wsdl
-http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/SchemaLocationFragment-1G/Items.wsdl=documents/good/SchemaLocationFragment-1G/Items.wsdl
-http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/Service-1G/Service.wsdl=documents/good/Service-1G/Service.wsdl
-http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/Service-2G/Service.wsdl=documents/good/Service-2G/Service.wsdl
-http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/Service-3G/Service.wsdl=documents/good/Service-3G/Service.wsdl
-http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/ServiceReference-1G/reservationList.wsdl=documents/good/ServiceReference-1G/reservationList.wsdl
-http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/ServiceReference-1G/reservationList.xsd=documents/good/ServiceReference-1G/reservationList.xsd
-http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/ServiceReference-1G/reservationDetails.wsdl=documents/good/ServiceReference-1G/reservationDetails.wsdl
-http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/ServiceReference-1G/reservationDetails.xsd=documents/good/ServiceReference-1G/reservationDetails.xsd
-http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/SOAPHeader-1G/SOAPservice.wsdl=documents/good/SOAPHeader-1G/SOAPservice.wsdl
-http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/SparqlQuery-1G/sparql-protocol-query.wsdl=documents/good/SparqlQuery-1G/sparql-protocol-query.wsdl
-http\://www.w3.org/2005/09/sparql-protocol-types/#=documents/good/SparqlQuery-1G/sparql-protocol-types.xsd
-http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/SparqlQuerySimplified-1G/sparql-protocol-query.wsdl=documents/good/SparqlQuerySimplified-1G/sparql-protocol-query.wsdl
-http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/Storage-1G/storage.wsdl=documents/good/Storage-1G/storage.wsdl
-http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/Storage-2G/storage.wsdl=documents/good/Storage-2G/storage.wsdl
-http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/Storage-3G/storage.wsdl=documents/good/Storage-3G/storage.wsdl
-http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/Storage-4G/storage.wsdl=documents/good/Storage-4G/storage.wsdl
-http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/Storage-5G/storage.wsdl=documents/good/Storage-5G/storage.wsdl
-http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/TicketAgent-1G/TicketAgent.wsdl=documents/good/TicketAgent-1G/TicketAgent.wsdl
-http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/TicketAgent-1G/TicketAgent.xsd=documents/good/TicketAgent-1G/TicketAgent.xsd
-http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/UnknownExtension-1G/Interface.wsdl=documents/good/UnknownExtension-1G/Interface.wsdl
-http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/UnknownExtension-2G/Interface.wsdl=documents/good/UnknownExtension-2G/Interface.wsdl
-http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/WeathSvc-1G/WeathSvc.wsdl=documents/good/WeathSvc-1G/WeathSvc.wsdl
-http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/WSAddressing-1G/wsaTestService2.wsdl=documents/good/WSAddressing-1G/wsaTestService2.wsdl
-http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/XsImport-1G/reservation.wsdl=documents/good/XsImport-1G/reservation.wsdl
-http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/XsImport-2G/reservationDetails.wsdl=documents/good/XsImport-2G/reservationDetails.wsdl
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+###################################################################################################
+# XML Catalog file for external documents used within the w3c test-suite
+# {referenced URI}={actual location}
+#
+# base location is <project-loc>/downloads/w3c.
+#
+# (use -Dorg.apache.woden.resolver.simpleresolver.baseURIs="file://<project-loc>/downloads/w3c/"
+# as a JVM argument, or add <project-loc>/downloads/w3c to classpath)
+#
+##################################################################################################
+http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/bad/Chameleon-1B/accountInfo.xsd=documents/bad/Chameleon-1B/accountInfo.xsd
+http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/bad/Chameleon-1B/customerInfo.xsd=documents/bad/Chameleon-1B/customerInfo.xsd
+http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/bad/Chameleon-1B/getBalance.wsdl=documents/bad/Chameleon-1B/getBalance.wsdl
+http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/bad/Chameleon-2B/getBalance.wsdl=documents/bad/Chameleon-2B/getBalance.wsdl
+http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/bad/Import-1B/XSDImport.wsdl=documents/bad/Import-1B/XSDImport.wsdl
+http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/bad/Import-2B/XSDImportInWSDL.wsdl=documents/bad/Import-2B/XSDImportInWSDL.wsdl
+http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/bad/Import-3B/XSDImport2.wsdl=documents/bad/Import-3B/XSDImport2.wsdl
+http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/bad/Interface-1B/Interface.wsdl=documents/bad/Interface-1B/Interface.wsdl
+http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/bad/Interface-2B/Interface.wsdl=documents/bad/Interface-2B/Interface.wsdl
+http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/bad/Interface-3B/Interface.wsdl=documents/bad/Interface-3B/Interface.wsdl
+http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/bad/Service-1B/Service.wsdl=documents/bad/Service-1B/Service.wsdl
+http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/bad/Service-2B/Service.wsdl=documents/bad/Service-2B/Service.wsdl
+http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/bad/Service-12B/Service.wsdl=documents/bad/Service-12B/Service.wsdl
+http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/bad/Service-13B/Service.wsdl=documents/bad/Service-13B/Service.wsdl
+http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/bad/Service-14B/Service.wsdl=documents/bad/Service-14B/Service.wsdl
+http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/bad/Service-15B/Service.wsdl=documents/bad/Service-15B/Service.wsdl
+http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/bad/TicketAgent-1B/TicketAgent-bad.wsdl=documents/bad/TicketAgent-1B/TicketAgent-bad.wsdl
+http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/Chameleon-1G/getBalance.wsdl=documents/good/Chameleon-1G/getBalance.wsdl
+http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/Chameleon-2G/getBalance.wsdl=documents/good/Chameleon-2G/getBalance.wsdl
+http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/Chameleon-3G/getBalance.wsdl=documents/good/Chameleon-3G/getBalance.wsdl
+http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/Chameleon-4G/getBalance.wsdl=documents/good/Chameleon-4G/getBalance.wsdl
+http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/Compound1-1G/compound1.wsdl=documents/good/Compound1-1G/compound1.wsdl
+http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/CreditCardFaults-1G/use-credit-card-faults.wsdl=documents/good/CreditCardFaults-1G/use-credit-card-faults.wsdl
+http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/CreditCardFaults-1G/resSvc.xsd=documents/good/CreditCardFaults-1G/resSvc.xsd
+http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/Echo-1G/echo.wsdl=documents/good/Echo-1G/echo.wsdl
+http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/Echo-2G/echo.wsdl=documents/good/Echo-2G/echo.wsdl
+http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/EchoComplexDocLit-1G/Axis2SampleDocLit.wsdl=documents/good/EchoComplexDocLit-1G/Axis2SampleDocLit.wsdl
+http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/FlickrHTTP-1G/flickr.wsdl=documents/good/FlickrHTTP-1G/flickr.wsdl
+http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/GreatH-1G/primer-hotelReservationService.wsdl=documents/good/GreatH-1G/primer-hotelReservationService.wsdl
+http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/GreatH-2G/primer-hotelReservationService.wsdl=documents/good/GreatH-2G/primer-hotelReservationService.wsdl
+http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/GreatH-3G/primer-hotelReservationService.wsdl=documents/good/GreatH-3G/primer-hotelReservationService.wsdl
+http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/HTTPBinding-1G/Echo.wsdl=documents/good/HTTPBinding-1G/Echo.wsdl
+http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/HTTPBinding-2G/Echo.wsdl=documents/good/HTTPBinding-2G/Echo.wsdl
+http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/Import-1G/XSDImport.wsdl=documents/good/Import-1G/XSDImport.wsdl
+http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/Import-1G/name.xsd=documents/good/Import-1G/name.xsd
+http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/Import-2G/XSDImport2.wsdl=documents/good/Import-2G/XSDImport2.wsdl
+http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/Import-2G/name.xsd=documents/good/Import-2G/name.xsd
+http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/ImportedWSDL-1G/updateDetails.wsdl=documents/good/ImportedWSDL-1G/updateDetails.wsdl
+http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/Include-1G/EchoImpl.wsdl=documents/good/Include-1G/EchoImpl.wsdl
+http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/InOnlyMEP-1G/Oneway.wsdl=documents/good/InOnlyMEP-1G/Oneway.wsdl
+http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/Interface-1G/Interface.wsdl=documents/good/Interface-1G/Interface.wsdl
+http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/Interface-2G/Interface.wsdl=documents/good/Interface-2G/Interface.wsdl
+http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/Interface-3G/Interface.wsdl=documents/good/Interface-3G/Interface.wsdl
+http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/Interface-4G/Interface.wsdl=documents/good/Interface-4G/Interface.wsdl
+http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/Interface-5G/Interface.wsdl=documents/good/Interface-5G/Interface.wsdl
+http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/Interface-6G/Interface.wsdl=documents/good/Interface-6G/Interface.wsdl
+http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/Interface-7G/Interface.wsdl=documents/good/Interface-7G/Interface.wsdl
+http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/IRI-1G/iristyleinout.wsdl=documents/good/IRI-1G/iristyleinout.wsdl
+http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/IRI-2G/iristyleinonly.wsdl=documents/good/IRI-2G/iristyleinonly.wsdl
+http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/IRI-3G/iristyleinout.wsdl=documents/good/IRI-3G/iristyleinout.wsdl
+http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/LocationTemplate-1G/SOAPservice.wsdl=documents/good/LocationTemplate-1G/SOAPservice.wsdl
+http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/MessageMultipart-1G/HTTPservice.wsdl=documents/good/MessageMultipart-1G/HTTPservice.wsdl
+http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/MessageTest-1G/SOAPservice.wsdl=documents/good/MessageTest-1G/SOAPservice.wsdl
+http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/MessageTest-2G/HTTPservice.wsdl=documents/good/MessageTest-2G/HTTPservice.wsdl
+http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/MessageTest-3G/HTTPservice.wsdl=documents/good/MessageTest-3G/HTTPservice.wsdl
+http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/MessageTest-4G/SOAPservice.wsdl=documents/good/MessageTest-4G/SOAPservice.wsdl
+http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/MessageTest-5G/SOAPservice.wsdl=documents/good/MessageTest-5G/SOAPservice.wsdl
+http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/MessageTest-6G/SOAPservice.wsdl=documents/good/MessageTest-6G/SOAPservice.wsdl
+http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/ModuleComposition-1G/SOAPservice.wsdl=documents/good/ModuleComposition-1G/SOAPservice.wsdl
+http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/Multipart-1G/multipartstyleinout.wsdl=documents/good/Multipart-1G/multipartstyleinout.wsdl
+http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/Multipart-2G/multipartstyleinonly.wsdl=documents/good/Multipart-2G/multipartstyleinonly.wsdl
+http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/Multipart-3G/multipartstyleinout.wsdl=documents/good/Multipart-3G/multipartstyleinout.wsdl
+http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/MultipleInlineSchemas-1G/retrieveItems.wsdl=documents/good/MultipleInlineSchemas-1G/retrieveItems.wsdl
+http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/RPC-1G/rpcstyleinout.wsdl=documents/good/RPC-1G/rpcstyleinout.wsdl
+http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/RPC-2G/rpcstyleinonly.wsdl=documents/good/RPC-2G/rpcstyleinonly.wsdl
+http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/RPC-3G/rpcstyleinout.wsdl=documents/good/RPC-3G/rpcstyleinout.wsdl
+http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/RPC-4G/rpcstyleinout.wsdl=documents/good/RPC-4G/rpcstyleinout.wsdl
+http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/RPC-5G/rpcstyleinout.wsdl=documents/good/RPC-5G/rpcstyleinout.wsdl
+http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/RPC-6G/rpcstyleinout.wsdl=documents/good/RPC-6G/rpcstyleinout.wsdl
+http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/Schema-1G/string.wsdl=documents/good/Schema-1G/string.wsdl
+http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/SchemaId-1G/schemaIds.wsdl=documents/good/SchemaId-1G/schemaIds.wsdl
+http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/SchemaLocationFragment-1G/Items.wsdl=documents/good/SchemaLocationFragment-1G/Items.wsdl
+http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/Service-1G/Service.wsdl=documents/good/Service-1G/Service.wsdl
+http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/Service-2G/Service.wsdl=documents/good/Service-2G/Service.wsdl
+http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/Service-3G/Service.wsdl=documents/good/Service-3G/Service.wsdl
+http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/ServiceReference-1G/reservationList.wsdl=documents/good/ServiceReference-1G/reservationList.wsdl
+http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/ServiceReference-1G/reservationList.xsd=documents/good/ServiceReference-1G/reservationList.xsd
+http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/ServiceReference-1G/reservationDetails.wsdl=documents/good/ServiceReference-1G/reservationDetails.wsdl
+http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/ServiceReference-1G/reservationDetails.xsd=documents/good/ServiceReference-1G/reservationDetails.xsd
+http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/SOAPHeader-1G/SOAPservice.wsdl=documents/good/SOAPHeader-1G/SOAPservice.wsdl
+http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/SparqlQuery-1G/sparql-protocol-query.wsdl=documents/good/SparqlQuery-1G/sparql-protocol-query.wsdl
+http\://www.w3.org/2005/09/sparql-protocol-types/#=documents/good/SparqlQuery-1G/sparql-protocol-types.xsd
+http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/SparqlQuerySimplified-1G/sparql-protocol-query.wsdl=documents/good/SparqlQuerySimplified-1G/sparql-protocol-query.wsdl
+http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/Storage-1G/storage.wsdl=documents/good/Storage-1G/storage.wsdl
+http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/Storage-2G/storage.wsdl=documents/good/Storage-2G/storage.wsdl
+http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/Storage-3G/storage.wsdl=documents/good/Storage-3G/storage.wsdl
+http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/Storage-4G/storage.wsdl=documents/good/Storage-4G/storage.wsdl
+http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/Storage-5G/storage.wsdl=documents/good/Storage-5G/storage.wsdl
+http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/TicketAgent-1G/TicketAgent.wsdl=documents/good/TicketAgent-1G/TicketAgent.wsdl
+http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/TicketAgent-1G/TicketAgent.xsd=documents/good/TicketAgent-1G/TicketAgent.xsd
+http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/UnknownExtension-1G/Interface.wsdl=documents/good/UnknownExtension-1G/Interface.wsdl
+http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/UnknownExtension-2G/Interface.wsdl=documents/good/UnknownExtension-2G/Interface.wsdl
+http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/WeathSvc-1G/WeathSvc.wsdl=documents/good/WeathSvc-1G/WeathSvc.wsdl
+http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/WSAddressing-1G/wsaTestService2.wsdl=documents/good/WSAddressing-1G/wsaTestService2.wsdl
+http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/XsImport-1G/reservation.wsdl=documents/good/XsImport-1G/reservation.wsdl
+http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/XsImport-2G/reservationDetails.wsdl=documents/good/XsImport-2G/reservationDetails.wsdl
http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/XsImport-3G/reservationDetails.wsdl=documents/good/XsImport-3G/reservationDetails.wsdl
Propchange: incubator/woden/trunk/java/test/org/apache/woden/resolver/resources/W3Ctests.catalog
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/woden/trunk/java/test/org/apache/woden/resolver/resources/binding.wsdl
URL: http://svn.apache.org/viewvc/incubator/woden/trunk/java/test/org/apache/woden/resolver/resources/binding.wsdl?rev=568937&r1=568936&r2=568937&view=diff
==============================================================================
--- incubator/woden/trunk/java/test/org/apache/woden/resolver/resources/binding.wsdl (original)
+++ incubator/woden/trunk/java/test/org/apache/woden/resolver/resources/binding.wsdl Thu Aug 23 04:24:51 2007
@@ -1,35 +1,35 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- !
- ! Licensed to the Apache Software Foundation (ASF) under one or more
- ! contributor license agreements. See the NOTICE file distributed with
- ! this work for additional information regarding copyright ownership.
- ! The ASF licenses this file to You under the Apache License, Version 2.0
- ! (the "License"); you may not use this file except in compliance with
- ! the License. You may obtain a copy of the License at
- !
- ! http://www.apache.org/licenses/LICENSE-2.0
- !
- ! Unless required by applicable law or agreed to in writing, software
- ! distributed under the License is distributed on an "AS IS" BASIS,
- ! WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- ! See the License for the specific language governing permissions and
- ! limitations under the License.
- !-->
-<!-- this document to be included into master document
- (Shares targetnamespace with master) -->
-
-<description targetNamespace="http://example.com/bank"
- xmlns="http://www.w3.org/ns/wsdl"
- xmlns:tns="http://example.com/bank"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation=
- "http://www.w3.org/ns/wsdl http://www.w3.org/ns/wsdl/wsdl20.xsd
- http://www.w3.org/2001/XMLSchema http://www.w3.org/2001/XMLSchema.xsd">
-
- <binding name="BankSOAPBinding" type="http://www.w3.org/2005/12/wsdl/soap">
- <!-- This particular binding requires ISO9001
- compliance to be verifiable -->
-
- </binding>
-</description>
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ !
+ ! Licensed to the Apache Software Foundation (ASF) under one or more
+ ! contributor license agreements. See the NOTICE file distributed with
+ ! this work for additional information regarding copyright ownership.
+ ! The ASF licenses this file to You under the Apache License, Version 2.0
+ ! (the "License"); you may not use this file except in compliance with
+ ! the License. You may obtain a copy of the License at
+ !
+ ! http://www.apache.org/licenses/LICENSE-2.0
+ !
+ ! Unless required by applicable law or agreed to in writing, software
+ ! distributed under the License is distributed on an "AS IS" BASIS,
+ ! WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ ! See the License for the specific language governing permissions and
+ ! limitations under the License.
+ !-->
+<!-- this document to be included into master document
+ (Shares targetnamespace with master) -->
+
+<description targetNamespace="http://example.com/bank"
+ xmlns="http://www.w3.org/ns/wsdl"
+ xmlns:tns="http://example.com/bank"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation=
+ "http://www.w3.org/ns/wsdl http://www.w3.org/ns/wsdl/wsdl20.xsd
+ http://www.w3.org/2001/XMLSchema http://www.w3.org/2001/XMLSchema.xsd">
+
+ <binding name="BankSOAPBinding" type="http://www.w3.org/2005/12/wsdl/soap">
+ <!-- This particular binding requires ISO9001
+ compliance to be verifiable -->
+
+ </binding>
+</description>
Propchange: incubator/woden/trunk/java/test/org/apache/woden/resolver/resources/binding.wsdl
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/woden/trunk/java/test/org/apache/woden/resolver/resources/interface.wsdl
URL: http://svn.apache.org/viewvc/incubator/woden/trunk/java/test/org/apache/woden/resolver/resources/interface.wsdl?rev=568937&r1=568936&r2=568937&view=diff
==============================================================================
--- incubator/woden/trunk/java/test/org/apache/woden/resolver/resources/interface.wsdl (original)
+++ incubator/woden/trunk/java/test/org/apache/woden/resolver/resources/interface.wsdl Thu Aug 23 04:24:51 2007
@@ -1,42 +1,42 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- !
- ! Licensed to the Apache Software Foundation (ASF) under one or more
- ! contributor license agreements. See the NOTICE file distributed with
- ! this work for additional information regarding copyright ownership.
- ! The ASF licenses this file to You under the Apache License, Version 2.0
- ! (the "License"); you may not use this file except in compliance with
- ! the License. You may obtain a copy of the License at
- !
- ! http://www.apache.org/licenses/LICENSE-2.0
- !
- ! Unless required by applicable law or agreed to in writing, software
- ! distributed under the License is distributed on an "AS IS" BASIS,
- ! WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- ! See the License for the specific language governing permissions and
- ! limitations under the License.
- !-->
-<!-- this document is imported by main wsdl document -->
-
-<description targetNamespace="http://example.com/bank"
- xmlns="http://www.w3.org/ns/wsdl"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation=
- "http://www.w3.org/ns/wsdl http://www.w3.org/ns/wsdl/wsdl20.xsd
- http://www.w3.org/2001/XMLSchema http://www.w3.org/2001/XMLSchema.xsd">
-
- <!-- any old interface -->
- <interface name="Bank">
- <!-- All implementations of this interface must be secure -->
-
- <operation name="withdrawFunds" pattern="http://www.w3.org/2004/03/wsdl/in-out">
- <!-- This operation must have ACID properties -->
-
- </operation>
- <operation name="depositFunds" pattern="http://www.w3.org/2004/03/wsdl/in-out">
- <!-- This operation requires notarization -->
-
- </operation>
- </interface>
-
-</description>
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ !
+ ! Licensed to the Apache Software Foundation (ASF) under one or more
+ ! contributor license agreements. See the NOTICE file distributed with
+ ! this work for additional information regarding copyright ownership.
+ ! The ASF licenses this file to You under the Apache License, Version 2.0
+ ! (the "License"); you may not use this file except in compliance with
+ ! the License. You may obtain a copy of the License at
+ !
+ ! http://www.apache.org/licenses/LICENSE-2.0
+ !
+ ! Unless required by applicable law or agreed to in writing, software
+ ! distributed under the License is distributed on an "AS IS" BASIS,
+ ! WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ ! See the License for the specific language governing permissions and
+ ! limitations under the License.
+ !-->
+<!-- this document is imported by main wsdl document -->
+
+<description targetNamespace="http://example.com/bank"
+ xmlns="http://www.w3.org/ns/wsdl"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation=
+ "http://www.w3.org/ns/wsdl http://www.w3.org/ns/wsdl/wsdl20.xsd
+ http://www.w3.org/2001/XMLSchema http://www.w3.org/2001/XMLSchema.xsd">
+
+ <!-- any old interface -->
+ <interface name="Bank">
+ <!-- All implementations of this interface must be secure -->
+
+ <operation name="withdrawFunds" pattern="http://www.w3.org/2004/03/wsdl/in-out">
+ <!-- This operation must have ACID properties -->
+
+ </operation>
+ <operation name="depositFunds" pattern="http://www.w3.org/2004/03/wsdl/in-out">
+ <!-- This operation requires notarization -->
+
+ </operation>
+ </interface>
+
+</description>
Propchange: incubator/woden/trunk/java/test/org/apache/woden/resolver/resources/interface.wsdl
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/woden/trunk/java/test/org/apache/woden/resolver/resources/schemaImport.xsd
URL: http://svn.apache.org/viewvc/incubator/woden/trunk/java/test/org/apache/woden/resolver/resources/schemaImport.xsd?rev=568937&r1=568936&r2=568937&view=diff
==============================================================================
--- incubator/woden/trunk/java/test/org/apache/woden/resolver/resources/schemaImport.xsd (original)
+++ incubator/woden/trunk/java/test/org/apache/woden/resolver/resources/schemaImport.xsd Thu Aug 23 04:24:51 2007
@@ -1,27 +1,27 @@
-<!--
- !
- ! Licensed to the Apache Software Foundation (ASF) under one or more
- ! contributor license agreements. See the NOTICE file distributed with
- ! this work for additional information regarding copyright ownership.
- ! The ASF licenses this file to You under the Apache License, Version 2.0
- ! (the "License"); you may not use this file except in compliance with
- ! the License. You may obtain a copy of the License at
- !
- ! http://www.apache.org/licenses/LICENSE-2.0
- !
- ! Unless required by applicable law or agreed to in writing, software
- ! distributed under the License is distributed on an "AS IS" BASIS,
- ! WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- ! See the License for the specific language governing permissions and
- ! limitations under the License.
- !-->
-<xs:schema xmlns:xs='http://www.w3.org/2001/XMLSchema'
- targetNamespace="http://example.org/getOverdraft">
- <xs:element name="aardvaark">
- <xs:complexType>
- <xs:sequence>
- <xs:element ref="population" minOccurs='1' maxOccurs='unbounded'/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
-</xs:schema>
+<!--
+ !
+ ! Licensed to the Apache Software Foundation (ASF) under one or more
+ ! contributor license agreements. See the NOTICE file distributed with
+ ! this work for additional information regarding copyright ownership.
+ ! The ASF licenses this file to You under the Apache License, Version 2.0
+ ! (the "License"); you may not use this file except in compliance with
+ ! the License. You may obtain a copy of the License at
+ !
+ ! http://www.apache.org/licenses/LICENSE-2.0
+ !
+ ! Unless required by applicable law or agreed to in writing, software
+ ! distributed under the License is distributed on an "AS IS" BASIS,
+ ! WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ ! See the License for the specific language governing permissions and
+ ! limitations under the License.
+ !-->
+<xs:schema xmlns:xs='http://www.w3.org/2001/XMLSchema'
+ targetNamespace="http://example.org/getOverdraft">
+ <xs:element name="aardvaark">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element ref="population" minOccurs='1' maxOccurs='unbounded'/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+</xs:schema>
Propchange: incubator/woden/trunk/java/test/org/apache/woden/resolver/resources/schemaImport.xsd
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/woden/trunk/java/test/org/apache/woden/resolver/resources/schemaInclude.xsd
URL: http://svn.apache.org/viewvc/incubator/woden/trunk/java/test/org/apache/woden/resolver/resources/schemaInclude.xsd?rev=568937&r1=568936&r2=568937&view=diff
==============================================================================
--- incubator/woden/trunk/java/test/org/apache/woden/resolver/resources/schemaInclude.xsd (original)
+++ incubator/woden/trunk/java/test/org/apache/woden/resolver/resources/schemaInclude.xsd Thu Aug 23 04:24:51 2007
@@ -1,27 +1,27 @@
-<!--
- !
- ! Licensed to the Apache Software Foundation (ASF) under one or more
- ! contributor license agreements. See the NOTICE file distributed with
- ! this work for additional information regarding copyright ownership.
- ! The ASF licenses this file to You under the Apache License, Version 2.0
- ! (the "License"); you may not use this file except in compliance with
- ! the License. You may obtain a copy of the License at
- !
- ! http://www.apache.org/licenses/LICENSE-2.0
- !
- ! Unless required by applicable law or agreed to in writing, software
- ! distributed under the License is distributed on an "AS IS" BASIS,
- ! WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- ! See the License for the specific language governing permissions and
- ! limitations under the License.
- !-->
- <xs:schema xmlns:xs='http://www.w3.org/2001/XMLSchema'
- targetNamespace="http://example.org/getAccountDetails/">
- <xs:element name="personnel">
- <xs:complexType>
- <xs:sequence>
- <xs:element ref="person" minOccurs='1' maxOccurs='unbounded'/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
-</xs:schema>
+<!--
+ !
+ ! Licensed to the Apache Software Foundation (ASF) under one or more
+ ! contributor license agreements. See the NOTICE file distributed with
+ ! this work for additional information regarding copyright ownership.
+ ! The ASF licenses this file to You under the Apache License, Version 2.0
+ ! (the "License"); you may not use this file except in compliance with
+ ! the License. You may obtain a copy of the License at
+ !
+ ! http://www.apache.org/licenses/LICENSE-2.0
+ !
+ ! Unless required by applicable law or agreed to in writing, software
+ ! distributed under the License is distributed on an "AS IS" BASIS,
+ ! WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ ! See the License for the specific language governing permissions and
+ ! limitations under the License.
+ !-->
+ <xs:schema xmlns:xs='http://www.w3.org/2001/XMLSchema'
+ targetNamespace="http://example.org/getAccountDetails/">
+ <xs:element name="personnel">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element ref="person" minOccurs='1' maxOccurs='unbounded'/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+</xs:schema>
Propchange: incubator/woden/trunk/java/test/org/apache/woden/resolver/resources/schemaInclude.xsd
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/woden/trunk/java/test/org/apache/woden/resolver/resources/simpleresolver.catalog
URL: http://svn.apache.org/viewvc/incubator/woden/trunk/java/test/org/apache/woden/resolver/resources/simpleresolver.catalog?rev=568937&r1=568936&r2=568937&view=diff
==============================================================================
--- incubator/woden/trunk/java/test/org/apache/woden/resolver/resources/simpleresolver.catalog (original)
+++ incubator/woden/trunk/java/test/org/apache/woden/resolver/resources/simpleresolver.catalog Thu Aug 23 04:24:51 2007
@@ -1,27 +1,27 @@
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-# {referenced URI}={actual location}
-#
-# resolutions for test case:
-# (1) wsdl import / include
-http\://test.com/importinterface.wsdl=org/apache/woden/resolver/resources/interface.wsdl
-http\://test.com/includebinding.wsdl=org/apache/woden/resolver/resources/binding.wsdl
-#
-# (2)XML schema import/include:
-http\://test.com/getBalance.xsd=org/apache/woden/resolver/resources/schemaInclude.xsd
-http\://test.com/getOverdraft.xsd=org/apache/woden/resolver/resources/schemaImport.xsd
-
-
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# {referenced URI}={actual location}
+#
+# resolutions for test case:
+# (1) wsdl import / include
+http\://test.com/importinterface.wsdl=org/apache/woden/resolver/resources/interface.wsdl
+http\://test.com/includebinding.wsdl=org/apache/woden/resolver/resources/binding.wsdl
+#
+# (2)XML schema import/include:
+http\://test.com/getBalance.xsd=org/apache/woden/resolver/resources/schemaInclude.xsd
+http\://test.com/getOverdraft.xsd=org/apache/woden/resolver/resources/schemaImport.xsd
+
+
Propchange: incubator/woden/trunk/java/test/org/apache/woden/resolver/resources/simpleresolver.catalog
------------------------------------------------------------------------------
svn:eol-style = native
---------------------------------------------------------------------
To unsubscribe, e-mail: woden-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org