ws-woden-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sag...@apache.org
Subject svn commit: r809833 [9/10] - in /webservices/woden/trunk/java/woden-tests: ./ src/ src/main/ src/main/resources/ src/main/resources/META-INF/ src/test/ src/test/java/ src/test/java/org/ src/test/java/org/apache/ src/test/java/org/apache/woden/ src/test...
Date Tue, 01 Sep 2009 05:50:51 GMT
Added: webservices/woden/trunk/java/woden-tests/src/test/java/testcase/extensions/foo/FooConstants.java
URL: http://svn.apache.org/viewvc/webservices/woden/trunk/java/woden-tests/src/test/java/testcase/extensions/foo/FooConstants.java?rev=809833&view=auto
==============================================================================
--- webservices/woden/trunk/java/woden-tests/src/test/java/testcase/extensions/foo/FooConstants.java (added)
+++ webservices/woden/trunk/java/woden-tests/src/test/java/testcase/extensions/foo/FooConstants.java Tue Sep  1 05:50:45 2009
@@ -0,0 +1,49 @@
+/**
+ * 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 testcase.extensions.foo;
+
+import java.net.URI;
+
+import javax.xml.namespace.QName;
+
+public class FooConstants {
+    
+    // Namespace URIs.
+    public static final String NS_STRING_FOO =
+        "http://www.w3.org/ns/wsdl/foo";
+    
+    public static final URI NS_URI_FOO = URI.create(NS_STRING_FOO);
+
+    // Prefixes
+    public static final String PFX_WFOO = "wfoo";
+
+    // Attribute names
+    public static final String ATTR_BAR = "bar";
+    public static final String ATTR_BAZ = "baz";
+
+    // Qualified attribute names.
+    public static final QName Q_ATTR_BAR=
+        new QName(NS_STRING_FOO, ATTR_BAR, PFX_WFOO);
+    
+    public static final QName Q_ATTR_BAZ=
+        new QName(NS_STRING_FOO, ATTR_BAZ, PFX_WFOO);
+    
+    // Property names
+    public static final String PROP_FOO_BAR = "foo bar";
+    public static final String PROP_FOO_BAZ = "foo baz";
+
+}

Added: webservices/woden/trunk/java/woden-tests/src/test/java/testcase/extensions/foo/FooExtensionRegistrar.java
URL: http://svn.apache.org/viewvc/webservices/woden/trunk/java/woden-tests/src/test/java/testcase/extensions/foo/FooExtensionRegistrar.java?rev=809833&view=auto
==============================================================================
--- webservices/woden/trunk/java/woden-tests/src/test/java/testcase/extensions/foo/FooExtensionRegistrar.java (added)
+++ webservices/woden/trunk/java/woden-tests/src/test/java/testcase/extensions/foo/FooExtensionRegistrar.java Tue Sep  1 05:50:45 2009
@@ -0,0 +1,49 @@
+/**
+ * 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 testcase.extensions.foo;
+
+import org.apache.woden.internal.xml.StringAttrImpl;
+import org.apache.woden.wsdl20.Binding;
+import org.apache.woden.wsdl20.extensions.ExtensionRegistrar;
+import org.apache.woden.wsdl20.extensions.ExtensionRegistry;
+import org.apache.woden.wsdl20.xml.BindingElement;
+
+public class FooExtensionRegistrar implements ExtensionRegistrar {
+
+	public void registerExtensions(ExtensionRegistry registry) {
+
+		// Binding attributes
+		
+		registry.registerExtAttributeType(BindingElement.class, 
+				FooConstants.Q_ATTR_BAR, FooOddAttrImpl.class);
+
+		registry.registerExtAttributeType(BindingElement.class, 
+				FooConstants.Q_ATTR_BAZ, StringAttrImpl.class);
+
+
+		// Component Extensions
+
+		registry.registerComponentExtension(Binding.class,
+				FooConstants.NS_URI_FOO,
+				FooBindingExtensionsImpl.class);
+
+		// Register error message resource bundle
+		
+		registry.registerResourceBundle("testcase.extensions.foo.Messages");
+	}
+
+}

Added: webservices/woden/trunk/java/woden-tests/src/test/java/testcase/extensions/foo/FooOddAttr.java
URL: http://svn.apache.org/viewvc/webservices/woden/trunk/java/woden-tests/src/test/java/testcase/extensions/foo/FooOddAttr.java?rev=809833&view=auto
==============================================================================
--- webservices/woden/trunk/java/woden-tests/src/test/java/testcase/extensions/foo/FooOddAttr.java (added)
+++ webservices/woden/trunk/java/woden-tests/src/test/java/testcase/extensions/foo/FooOddAttr.java Tue Sep  1 05:50:45 2009
@@ -0,0 +1,29 @@
+/**
+ * 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 testcase.extensions.foo;
+
+import org.apache.woden.xml.XMLAttr;
+
+/**
+ * Represents the value of the wfoo:bar attribute that can contain only odd numbers.
+ */
+
+public interface FooOddAttr extends XMLAttr {
+
+	public int getValue();
+	
+}

Added: webservices/woden/trunk/java/woden-tests/src/test/java/testcase/extensions/foo/FooOddAttrImpl.java
URL: http://svn.apache.org/viewvc/webservices/woden/trunk/java/woden-tests/src/test/java/testcase/extensions/foo/FooOddAttrImpl.java?rev=809833&view=auto
==============================================================================
--- webservices/woden/trunk/java/woden-tests/src/test/java/testcase/extensions/foo/FooOddAttrImpl.java (added)
+++ webservices/woden/trunk/java/woden-tests/src/test/java/testcase/extensions/foo/FooOddAttrImpl.java Tue Sep  1 05:50:45 2009
@@ -0,0 +1,59 @@
+/**
+ * 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 testcase.extensions.foo;
+
+import javax.xml.namespace.QName;
+
+import org.apache.woden.ErrorReporter;
+import org.apache.woden.WSDLException;
+import org.apache.woden.XMLElement;
+import org.apache.woden.internal.ErrorLocatorImpl;
+import org.apache.woden.internal.xml.XMLAttrImpl;
+
+public class FooOddAttrImpl extends XMLAttrImpl implements FooOddAttr {
+
+    public FooOddAttrImpl(XMLElement ownerEl, QName attrType, 
+            String attrValue, ErrorReporter errRpt) throws WSDLException
+    {
+        super(ownerEl, attrType, attrValue, errRpt);
+    }
+    
+	protected Object convert(XMLElement ownerEl, String attrValue)
+			throws WSDLException {
+		Integer result = null;
+		try {
+			int value = Integer.parseInt(attrValue);
+			if (value % 2 == 1) {
+				result = new Integer(value);
+				setValid(true);
+				return result;
+			}
+		} catch (Exception e) {
+			// fall through
+		}
+		// Even numbers and exceptions are treated as errors
+		getErrorReporter().reportError(new ErrorLocatorImpl(), // TODO line&col nos.
+				"FOO-001", new Object[] { attrValue },
+				ErrorReporter.SEVERITY_ERROR);
+		return result;
+	}
+
+	public int getValue() {
+		return isValid() ? ((Integer)getContent()).intValue() : -1;
+	}
+
+}

Added: webservices/woden/trunk/java/woden-tests/src/test/java/testcase/resolver/schemaloc/SchemaLocationTest.java
URL: http://svn.apache.org/viewvc/webservices/woden/trunk/java/woden-tests/src/test/java/testcase/resolver/schemaloc/SchemaLocationTest.java?rev=809833&view=auto
==============================================================================
--- webservices/woden/trunk/java/woden-tests/src/test/java/testcase/resolver/schemaloc/SchemaLocationTest.java (added)
+++ webservices/woden/trunk/java/woden-tests/src/test/java/testcase/resolver/schemaloc/SchemaLocationTest.java Tue Sep  1 05:50:45 2009
@@ -0,0 +1,102 @@
+package testcase.resolver.schemaloc;
+
+import java.net.URL;
+
+import junit.framework.Test;
+import junit.framework.TestCase;
+import junit.framework.TestSuite;
+
+import org.apache.woden.internal.resolver.DOMSchemaResolverAdapter;
+import org.apache.woden.internal.resolver.SchemaResolverAdapter;
+import org.apache.woden.internal.resolver.SimpleURIResolver;
+import org.xml.sax.InputSource;
+
+import testcase.extensions.foo.FooBindingExtensionsTest;
+
+public class SchemaLocationTest extends TestCase {
+    
+    private SchemaResolverAdapter fResolver;
+    private String fSchemaTns = "http://example.com/data";
+    private String fWsdlJarPath = "testcase/resolver/schemaloc/resources/SchemaLocationTest.jar";
+    private String fWsdlFilePath = "testcase/resolver/schemaloc/resources/SchemaLocationTest.wsdl";
+    private String fWsdlFileName = "SchemaLocationTest.wsdl";
+    private String fSchemaFilePath = "testcase/resolver/schemaloc/resources/SchemaLocationTest.xsd";
+    private String fSchemaFileName = "SchemaLocationTest.xsd";
+    private String fWsdlWebPath = "http://example.com/resources/SchemaLocationTest.wsdl";
+    private String fSchemaWebPath = "http://example.com/resources/SchemaLocationTest.xsd";
+
+    public static Test suite() {
+        return new TestSuite(SchemaLocationTest.class);
+    }
+
+    protected void setUp() throws Exception {
+        super.setUp();
+        fResolver = new DOMSchemaResolverAdapter(new SimpleURIResolver(), null);
+    }
+    
+    public void testRelativePath_File() {
+        URL baseURL = getClass().getClassLoader().getResource(fWsdlFilePath);
+        String baseURI = baseURL.toString();
+        int i = baseURI.indexOf(fWsdlFileName);
+        String contextPath = baseURI.substring(0,i);
+        String expectedResult = contextPath + fSchemaFileName;
+        
+        InputSource is = fResolver.resolveEntity(fSchemaTns, fSchemaFileName, baseURI);
+        String actualResult = is.getSystemId();
+        assertEquals("schemaLocation relative file path not resolved correctly", expectedResult, actualResult);
+    }
+
+    public void testAbsolutePath_File() {
+        URL baseURL = getClass().getClassLoader().getResource(fWsdlFilePath);
+        String baseURI = baseURL.toString();
+        URL schemaURL = getClass().getClassLoader().getResource(fSchemaFilePath);
+        String absoluteSchemaPath = schemaURL.toString();
+        
+        InputSource is = fResolver.resolveEntity(fSchemaTns, absoluteSchemaPath, baseURI);
+        String actualResult = is.getSystemId();
+        assertEquals("schemaLocation absolute file path not resolved correctly", absoluteSchemaPath, actualResult);
+    }
+
+    public void testRelativePath_Jar() {
+        URL baseURL = getClass().getClassLoader().getResource(fWsdlJarPath);
+        String contextPath = "jar:" + baseURL.toString() + "!/META-INF/";
+        String baseURI =  contextPath + fWsdlFileName;
+        String expectedResult = contextPath + fSchemaFileName;
+        
+        InputSource is = fResolver.resolveEntity(fSchemaTns, fSchemaFileName, baseURI);
+        String actualResult = is.getSystemId();
+        assertEquals("schemaLocation relative path not resolved correctly for jar file", expectedResult, actualResult);
+    }
+
+    public void testAbsolutePath_Jar() {
+        URL baseURL = getClass().getClassLoader().getResource(fWsdlJarPath);
+        String contextPath = "jar:" + baseURL.toString() + "!/META-INF/";
+        String baseURI =  contextPath + fWsdlFileName;
+        String absoluteSchemaPath = contextPath + fSchemaFileName;
+        
+        InputSource is = fResolver.resolveEntity(fSchemaTns, absoluteSchemaPath, baseURI);
+        String actualResult = is.getSystemId();
+        assertEquals("schemaLocation absolute path not resolved correctly for jar file", absoluteSchemaPath, actualResult);
+    }
+
+    public void testRelativePath_Web() {
+        String baseURI = fWsdlWebPath;
+        int i = baseURI.indexOf(fWsdlFileName);
+        String contextPath = baseURI.substring(0,i);
+        String expectedResult = contextPath + fSchemaFileName;
+        
+        InputSource is = fResolver.resolveEntity(fSchemaTns, fSchemaFileName, baseURI);
+        String actualResult = is.getSystemId();
+        assertEquals("schemaLocation relative web path not resolved correctly", expectedResult, actualResult);
+    }
+
+    public void testAbsolutePath_Web() {
+        String baseURI = fWsdlWebPath;
+        String absoluteSchemaPath = fSchemaWebPath;
+        
+        InputSource is = fResolver.resolveEntity(fSchemaTns, absoluteSchemaPath, baseURI);
+        String actualResult = is.getSystemId();
+        assertEquals("schemaLocation absolute web path not resolved correctly", absoluteSchemaPath, actualResult);
+    }
+
+}

Added: webservices/woden/trunk/java/woden-tests/src/test/resources/org/apache/woden/resolver/resources/W3Ctests.catalog
URL: http://svn.apache.org/viewvc/webservices/woden/trunk/java/woden-tests/src/test/resources/org/apache/woden/resolver/resources/W3Ctests.catalog?rev=809833&view=auto
==============================================================================
--- webservices/woden/trunk/java/woden-tests/src/test/resources/org/apache/woden/resolver/resources/W3Ctests.catalog (added)
+++ webservices/woden/trunk/java/woden-tests/src/test/resources/org/apache/woden/resolver/resources/W3Ctests.catalog Tue Sep  1 05:50:45 2009
@@ -0,0 +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
+http\://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/XsImport-3G/reservationDetails.wsdl=documents/good/XsImport-3G/reservationDetails.wsdl
\ No newline at end of file

Added: webservices/woden/trunk/java/woden-tests/src/test/resources/org/apache/woden/resolver/resources/binding.wsdl
URL: http://svn.apache.org/viewvc/webservices/woden/trunk/java/woden-tests/src/test/resources/org/apache/woden/resolver/resources/binding.wsdl?rev=809833&view=auto
==============================================================================
--- webservices/woden/trunk/java/woden-tests/src/test/resources/org/apache/woden/resolver/resources/binding.wsdl (added)
+++ webservices/woden/trunk/java/woden-tests/src/test/resources/org/apache/woden/resolver/resources/binding.wsdl Tue Sep  1 05:50:45 2009
@@ -0,0 +1,31 @@
+<?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">
+
+  <binding name="BankSOAPBinding" type="http://www.w3.org/2005/12/wsdl/soap">
+    <!-- This particular binding requires ISO9001
+         compliance to be verifiable -->
+   
+  </binding>
+</description>

Added: webservices/woden/trunk/java/woden-tests/src/test/resources/org/apache/woden/resolver/resources/interface.wsdl
URL: http://svn.apache.org/viewvc/webservices/woden/trunk/java/woden-tests/src/test/resources/org/apache/woden/resolver/resources/interface.wsdl?rev=809833&view=auto
==============================================================================
--- webservices/woden/trunk/java/woden-tests/src/test/resources/org/apache/woden/resolver/resources/interface.wsdl (added)
+++ webservices/woden/trunk/java/woden-tests/src/test/resources/org/apache/woden/resolver/resources/interface.wsdl Tue Sep  1 05:50:45 2009
@@ -0,0 +1,38 @@
+<?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">
+  
+  <!-- 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>

Added: webservices/woden/trunk/java/woden-tests/src/test/resources/org/apache/woden/resolver/resources/schemaImport.xsd
URL: http://svn.apache.org/viewvc/webservices/woden/trunk/java/woden-tests/src/test/resources/org/apache/woden/resolver/resources/schemaImport.xsd?rev=809833&view=auto
==============================================================================
--- webservices/woden/trunk/java/woden-tests/src/test/resources/org/apache/woden/resolver/resources/schemaImport.xsd (added)
+++ webservices/woden/trunk/java/woden-tests/src/test/resources/org/apache/woden/resolver/resources/schemaImport.xsd Tue Sep  1 05:50:45 2009
@@ -0,0 +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>

Added: webservices/woden/trunk/java/woden-tests/src/test/resources/org/apache/woden/resolver/resources/schemaInclude.xsd
URL: http://svn.apache.org/viewvc/webservices/woden/trunk/java/woden-tests/src/test/resources/org/apache/woden/resolver/resources/schemaInclude.xsd?rev=809833&view=auto
==============================================================================
--- webservices/woden/trunk/java/woden-tests/src/test/resources/org/apache/woden/resolver/resources/schemaInclude.xsd (added)
+++ webservices/woden/trunk/java/woden-tests/src/test/resources/org/apache/woden/resolver/resources/schemaInclude.xsd Tue Sep  1 05:50:45 2009
@@ -0,0 +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>

Added: webservices/woden/trunk/java/woden-tests/src/test/resources/org/apache/woden/resolver/resources/simpleresolver.catalog
URL: http://svn.apache.org/viewvc/webservices/woden/trunk/java/woden-tests/src/test/resources/org/apache/woden/resolver/resources/simpleresolver.catalog?rev=809833&view=auto
==============================================================================
--- webservices/woden/trunk/java/woden-tests/src/test/resources/org/apache/woden/resolver/resources/simpleresolver.catalog (added)
+++ webservices/woden/trunk/java/woden-tests/src/test/resources/org/apache/woden/resolver/resources/simpleresolver.catalog Tue Sep  1 05:50:45 2009
@@ -0,0 +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
+
+

Added: webservices/woden/trunk/java/woden-tests/src/test/resources/org/apache/woden/resolver/resources/woden14.wsdl
URL: http://svn.apache.org/viewvc/webservices/woden/trunk/java/woden-tests/src/test/resources/org/apache/woden/resolver/resources/woden14.wsdl?rev=809833&view=auto
==============================================================================
--- webservices/woden/trunk/java/woden-tests/src/test/resources/org/apache/woden/resolver/resources/woden14.wsdl (added)
+++ webservices/woden/trunk/java/woden-tests/src/test/resources/org/apache/woden/resolver/resources/woden14.wsdl Tue Sep  1 05:50:45 2009
@@ -0,0 +1,52 @@
+<?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.
+ !-->
+<!-- Tests resolving of :
+      description schemaLocation
+      wsdl:import location
+      wsdl:include location
+      wsdl:types xs:include schemaLocation
+      wsdl:types xs:include schemaLocation -->
+
+<description targetNamespace="http://example.com/bank"              
+             xmlns="http://www.w3.org/ns/wsdl" 
+             xmlns:tns="http://example.com/bank" >
+
+  <types>
+	<xsd:schema targetNamespace="http://example.org/getAccountDetails/"
+			xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+			<xsd:include schemaLocation="http://test.com/getBalance.xsd" />
+                  <xsd:import namespace="http://example.org/getOverdraft" 
+                               schemaLocation="http://test.com/getOverdraft.xsd" />
+	</xsd:schema>
+  </types>
+
+
+  <import namespace="http://example.com/bank" location="http://test.com/importinterface.wsdl" />
+  <!-- wsdl:import - expect location to be resolved. Namespace happens to be same in this ex -->
+
+  <include location="http://test.com/includebinding.wsdl" />
+  <!-- wsdl:include - expect location to be resolved -->
+
+  <!-- need wsdl:types schema include and import -->
+
+  <service name="BankService"
+           interface="tns:Bank">
+    <endpoint name="BankSOAPEndpoint" binding="tns:BankSOAPBinding"/>
+  </service>
+</description>

Added: webservices/woden/trunk/java/woden-tests/src/test/resources/org/apache/woden/wsdl20/extensions/http/resources/HTTPBindingExtensions.wsdl
URL: http://svn.apache.org/viewvc/webservices/woden/trunk/java/woden-tests/src/test/resources/org/apache/woden/wsdl20/extensions/http/resources/HTTPBindingExtensions.wsdl?rev=809833&view=auto
==============================================================================
--- webservices/woden/trunk/java/woden-tests/src/test/resources/org/apache/woden/wsdl20/extensions/http/resources/HTTPBindingExtensions.wsdl (added)
+++ webservices/woden/trunk/java/woden-tests/src/test/resources/org/apache/woden/wsdl20/extensions/http/resources/HTTPBindingExtensions.wsdl Tue Sep  1 05:50:45 2009
@@ -0,0 +1,74 @@
+<?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.
+-->
+<description xmlns="http://www.w3.org/ns/wsdl"
+	targetNamespace="http://ws.apache.woden"
+	xmlns:tns="http://ws.apache.woden"
+	xmlns:xs="http://www.w3.org/2001/XMLSchema"
+	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xmlns:whttp= "http://www.w3.org/ns/wsdl/http"
+	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">
+
+	<documentation>
+	    Used by HTTPBindingExtensionsTest to test the HTTPBindingExtensions implementation.
+	    This is not a valid WSDL 2.0 document and is not intended to be parsed with validation
+	    enabled. It contains only the elements and attributes required to test that HTTP extensions
+	    to the wsdl:binding element are parsed correctly into the expected object model and can
+	    be accessed via the API. 
+	</documentation>
+
+	<interface name="interface1" />
+	
+    <interface name="interface2" />
+	
+	<binding name="binding1"
+	  interface="tns:interface1"
+	  type="http://www.w3.org/ns/wsdl/http"
+	  whttp:methodDefault="POST"
+	  whttp:queryParameterSeparatorDefault="$"
+	  whttp:cookies="true"
+	  whttp:contentEncodingDefault="chunked">
+	  <documentation>
+	     {http method default} should be POST if whttp:methodDefault is "POST"
+	     {http query parameter separator default} should be "$" if whttp:queryParameterSeparatorDefault is "$"
+	     {http cookies} should be true if whttp:cookies is "true"
+	     {http content encoding default} should be "chunked" if whttp:contentEncodingDefault is "chunked"
+	  </documentation>
+	</binding>
+
+	<binding name="binding2"
+	  interface="tns:interface2"
+	  type="http://www.w3.org/ns/wsdl/http">
+	  <documentation>
+	     {http method default} is OPTIONAL so should be null if whttp:methodDefault omitted
+	     {http query parameter separator default} is REQUIRED and should default to ampersand if whttp:queryParameterSeparatorDefault omitted
+	     {http cookies} is REQUIRED and should default to false if whttp:cookies omitted
+	     {http content encoding default} is OPTIONAL so should be null if whttp:contentEncodingDefault is omitted
+	  </documentation>
+	</binding>
+	
+	<binding name="binding3"
+	  interface="tns:interface3"
+	  type="http://www.w3.org/ns/wsdl/http">
+	  <documentation>
+	     {http cookies} should be false if whttp:cookies is "false"
+	  </documentation>
+	</binding>
+
+</description>
\ No newline at end of file

Added: webservices/woden/trunk/java/woden-tests/src/test/resources/org/apache/woden/wsdl20/extensions/http/resources/HTTPBindingFaultExtensions.wsdl
URL: http://svn.apache.org/viewvc/webservices/woden/trunk/java/woden-tests/src/test/resources/org/apache/woden/wsdl20/extensions/http/resources/HTTPBindingFaultExtensions.wsdl?rev=809833&view=auto
==============================================================================
--- webservices/woden/trunk/java/woden-tests/src/test/resources/org/apache/woden/wsdl20/extensions/http/resources/HTTPBindingFaultExtensions.wsdl (added)
+++ webservices/woden/trunk/java/woden-tests/src/test/resources/org/apache/woden/wsdl20/extensions/http/resources/HTTPBindingFaultExtensions.wsdl Tue Sep  1 05:50:45 2009
@@ -0,0 +1,77 @@
+<?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.
+-->
+<description xmlns="http://www.w3.org/ns/wsdl"
+	targetNamespace="http://ws.apache.woden"
+	xmlns:tns="http://ws.apache.woden"
+	xmlns:xs="http://www.w3.org/2001/XMLSchema"
+	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xmlns:whttp= "http://www.w3.org/ns/wsdl/http"
+	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">
+
+	<documentation>
+	    Used by HTTPBindingFaultExtensionsTest to test the HTTPBindingFaultExtensions implementation.
+	    This is not a valid WSDL 2.0 document and is not intended to be parsed with validation
+	    enabled. It contains only the elements and attributes required to test that HTTP extensions
+	    to the binding's wsdl:fault element are parsed correctly into the expected object model and 
+	    can be accessed via the API. 
+	</documentation>
+
+	<interface name="interface1" />
+	
+	<binding name="binding1"
+	  interface="tns:interface1"
+	  type="http://www.w3.org/ns/wsdl/http"
+	  whttp:contentEncodingDefault="chunked">
+	  <documentation>
+	     {http method default} should be POST if whttp:methodDefault is "POST"
+	     {http query parameter separator default} should be "$" if whttp:queryParameterSeparatorDefault is "$"
+	     {http cookies} should be true if whttp:cookies is "true"
+	     {http content encoding default} should be "chunked" if whttp:contentEncodingDefault is "chunked"
+	  </documentation>
+	  <fault ref="tns:fault1"
+	      whttp:code="123"
+	      whttp:contentEncoding="compress;chunked" >
+	      <documentation>
+	         {http error status code} should be 123 if whttp:code is "123"
+	         {http content encoding} should be "compress;chunked" if whttp:contentEncoding is "compress;chunked"
+	      </documentation>
+	  </fault> 
+	  <fault ref="tns:fault2"
+	      whttp:code="#any">
+	      <documentation>
+	         {http error status code} should be #any if whttp:code is "#any"
+	      </documentation>
+	  </fault> 
+	  <fault ref="tns:fault3">
+	      <documentation>
+	         {http error status code} is REQUIRED and should default to #any if whttp:code is omitted
+	         {http content encoding} is OPTIONAL so should be null if whttp:contentEncoding is omitted
+	      </documentation>
+	  </fault> 
+	  <fault ref="tns:fault4">
+	      <documentation>
+	         an {http header} property should exist for each whttp:header element
+	      </documentation>
+	      <whttp:header name="Destination" type="xs:string" required="true" />
+	      <whttp:header name="Content" type="xs:string" required="false" />
+	  </fault> 
+	</binding>
+    
+</description>
\ No newline at end of file

Added: webservices/woden/trunk/java/woden-tests/src/test/resources/org/apache/woden/wsdl20/extensions/http/resources/HTTPBindingMessageReferenceExtensions.wsdl
URL: http://svn.apache.org/viewvc/webservices/woden/trunk/java/woden-tests/src/test/resources/org/apache/woden/wsdl20/extensions/http/resources/HTTPBindingMessageReferenceExtensions.wsdl?rev=809833&view=auto
==============================================================================
--- webservices/woden/trunk/java/woden-tests/src/test/resources/org/apache/woden/wsdl20/extensions/http/resources/HTTPBindingMessageReferenceExtensions.wsdl (added)
+++ webservices/woden/trunk/java/woden-tests/src/test/resources/org/apache/woden/wsdl20/extensions/http/resources/HTTPBindingMessageReferenceExtensions.wsdl Tue Sep  1 05:50:45 2009
@@ -0,0 +1,87 @@
+<?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.
+-->
+<description xmlns="http://www.w3.org/ns/wsdl"
+	targetNamespace="http://ws.apache.woden"
+	xmlns:tns="http://ws.apache.woden"
+	xmlns:xs="http://www.w3.org/2001/XMLSchema"
+	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xmlns:whttp= "http://www.w3.org/ns/wsdl/http"
+	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">
+
+	<documentation>
+	    Used by HTTPBindingMessageReferenceExtensionsTest to test the 
+	    HTTPBindingMessageReferenceExtensions implementation.
+	    This is not a valid WSDL 2.0 document and is not intended to be parsed with validation
+	    enabled. It contains only the elements and attributes required to test that HTTP extensions
+	    to the binding operation's wsdl:input and wsdl:output elements are parsed 
+	    correctly into the expected object model and can be accessed via the API. 
+	</documentation>
+
+	<interface name="interface1"> 
+	    <operation name="operation1" />
+	    <operation name="operation2" />
+	</interface>
+	
+	<binding name="binding1"
+	  interface="tns:interface1"
+	  type="http://www.w3.org/ns/wsdl/http">
+	  
+	  <operation ref="tns:operation1"
+	      whttp:contentEncodingDefault="chunked" >
+	      
+	      <input messageLabel="IN"
+	          whttp:contentEncoding="compress">
+	          <documentation>
+	              {http content encoding} should be "compress"
+	              {http headers} should contain 2 HTTPHeader components
+	          </documentation>
+	          <whttp:header name="Destination" type="xs:string" required="true" />
+	          <whttp:header name="Content" type="xs:string" required="false" />
+	      </input>
+	      
+	      <output messageLabel="OUT">
+	          <documentation>
+	              {http transfer coding} should default to {http transfer coding default}
+	              in binding operation, which in this testcase is "chunked".
+	              {http headers} should contain 1 HTTPHeader component
+	          </documentation>
+	          <whttp:header name="Destination" type="xs:string" required="true" />
+	      </output>
+	      
+	  </operation>
+	      
+	  <operation ref="tns:operation2"
+	      whttp:contentEncodingDefault="chunked" >
+	      
+	      <input messageLabel="IN">
+	          <documentation>
+	              The {http content encoding} property is OPTIONAL, so for
+	              this test case there are no HTTP extensions to the input message 
+	              so there will be no HTTP extension properties.
+	              Test that HTTPBindingMessageReferenceExtensions does NOT exist
+	              for the BindingMessageReference representing this input message.
+	          </documentation>
+	      </input>
+	      
+	  </operation>
+	      
+	</binding>
+    
+</description>
\ No newline at end of file

Added: webservices/woden/trunk/java/woden-tests/src/test/resources/org/apache/woden/wsdl20/extensions/http/resources/HTTPBindingOperationExtensions.wsdl
URL: http://svn.apache.org/viewvc/webservices/woden/trunk/java/woden-tests/src/test/resources/org/apache/woden/wsdl20/extensions/http/resources/HTTPBindingOperationExtensions.wsdl?rev=809833&view=auto
==============================================================================
--- webservices/woden/trunk/java/woden-tests/src/test/resources/org/apache/woden/wsdl20/extensions/http/resources/HTTPBindingOperationExtensions.wsdl (added)
+++ webservices/woden/trunk/java/woden-tests/src/test/resources/org/apache/woden/wsdl20/extensions/http/resources/HTTPBindingOperationExtensions.wsdl Tue Sep  1 05:50:45 2009
@@ -0,0 +1,134 @@
+<?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.
+-->
+<description xmlns="http://www.w3.org/ns/wsdl"
+	targetNamespace="http://ws.apache.woden"
+	xmlns:tns="http://ws.apache.woden"
+	xmlns:xs="http://www.w3.org/2001/XMLSchema"
+	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xmlns:whttp= "http://www.w3.org/ns/wsdl/http"
+	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">
+
+	<documentation>
+	    Used by HTTPBindingOperationExtensionsTest to test the HTTPBindingOperationExtensions implementation.
+	    This is not a valid WSDL 2.0 document and is not intended to be parsed with validation
+	    enabled. It contains only the elements and attributes required to test that HTTP extensions
+	    to the binding's wsdl:operation element are parsed correctly into the expected object model and 
+	    can be accessed via the API. 
+	</documentation>
+
+	<interface name="interface1"> 
+	    <operation name="operation1" />
+	    <operation name="operation2" />
+	    <operation name="operation3" />
+	    <operation name="operation4" />
+	    <operation name="operation5" />
+	    <operation name="operation6" />
+	    <operation name="operation7" />
+	</interface>
+	
+	<binding name="binding1"
+	  interface="tns:interface1"
+	  type="http://www.w3.org/ns/wsdl/http">
+	  <documentation>
+	     {http query parameter separator default} omitted so will default to ampersand
+	  </documentation>
+	  
+	  <operation ref="tns:operation1"
+	      whttp:location="http://ws.apache.woden/location"
+	      whttp:ignoreUncited="true"
+	      whttp:method="GET"
+	      whttp:inputSerialization="text/plain"
+	      whttp:outputSerialization="text/plain"
+	      whttp:faultSerialization="text/html"
+	      whttp:queryParameterSeparator="%"
+	      whttp:contentEncodingDefault="chunked" >
+	      <documentation>
+	          Test that the specified attribute values appear in the component model.
+	          {http location} should be http://ws.apache.woden/location
+	          {http location ignore uncited} should be true
+	          {http method} should be GET
+	          {http input serialization} should be text/plain
+	          {http output serialization} should be text/plain
+	          {http fault serialization} should be text/html
+	          {http query parameter separator} should be %
+	          {http content encoding default} should be chunked
+	      </documentation>
+	  </operation>
+	      
+	  <operation ref="tns:operation2" >
+	      <documentation>
+	          Test that component model has expected defaults when attributes are omitted.
+	          {http location} should default to null
+	          {http location ignore uncited} should default to false
+	          {http method} should default to null (need spec fixed, so this defaults to Binding {http method default})
+	          {http input serialization} should default to application/xml if {http method} rules default to POST
+	          {http output serialization} should default to application/xml
+	          {http fault serialization} should default to application/xml
+	          {http query parameter separator} should default to null
+	          {http content encoding default} should default to null
+	      </documentation>
+	  </operation>
+	      
+	  <operation ref="tns:operation3"
+	      whttp:method="GET">
+	      <documentation>
+	          Test correct input/output serialization defaults for http method GET.
+	          {http input serialization} should default to application/x-www-form-urlencoded if {http method} is GET 	 
+	      </documentation>
+	  </operation>
+	      
+	  <operation ref="tns:operation4"
+	      whttp:method="DELETE">
+	      <documentation>
+	          Test correct input/output serialization defaults for http method DELETE.
+	          {http input serialization} should default to application/x-www-form-urlencoded if {http method} is DELETE   	 
+	      </documentation>
+	  </operation>
+	      
+	  <operation ref="tns:operation5"
+	      whttp:method="PUT">
+	      <documentation>
+	          Test correct input/output serialization defaults for http method PUT.
+	          {http input serialization} should default to application/xml if {http method} is PUT   	 
+	      </documentation>
+	  </operation>
+	      
+	  <operation ref="tns:operation6"
+	      whttp:method="POST">
+	      <documentation>
+	          Test correct input/output serialization defaults for http method POST.
+	          {http input serialization} should default to application/xml if {http method} is POST   	 
+	      </documentation>
+	  </operation>
+	      
+	  <operation ref="tns:operation7"
+	      whttp:method="CONNECT">
+	      <documentation>
+	          Test correct input/output serialization defaults for http method 
+	          other than GET, DELETE, PUT or POST. Other http method types 
+	          include OPTIONS, HEAD, TRACE, CONNECT and serialization 
+	          shoiuld default to application/xml.
+	          {http input serialization} should default to application/xml if {http method} is CONNECT   	 
+	      </documentation>
+	  </operation>
+	  
+	</binding>
+    
+</description>
\ No newline at end of file

Added: webservices/woden/trunk/java/woden-tests/src/test/resources/org/apache/woden/wsdl20/extensions/http/resources/HTTPEndpointExtensions.wsdl
URL: http://svn.apache.org/viewvc/webservices/woden/trunk/java/woden-tests/src/test/resources/org/apache/woden/wsdl20/extensions/http/resources/HTTPEndpointExtensions.wsdl?rev=809833&view=auto
==============================================================================
--- webservices/woden/trunk/java/woden-tests/src/test/resources/org/apache/woden/wsdl20/extensions/http/resources/HTTPEndpointExtensions.wsdl (added)
+++ webservices/woden/trunk/java/woden-tests/src/test/resources/org/apache/woden/wsdl20/extensions/http/resources/HTTPEndpointExtensions.wsdl Tue Sep  1 05:50:45 2009
@@ -0,0 +1,65 @@
+<?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.
+-->
+<description xmlns="http://www.w3.org/ns/wsdl"
+	targetNamespace="http://ws.apache.woden"
+	xmlns:tns="http://ws.apache.woden"
+	xmlns:xs="http://www.w3.org/2001/XMLSchema"
+	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xmlns:whttp= "http://www.w3.org/ns/wsdl/http"
+	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">
+
+	<documentation>
+	    Used by HTTPEndpointExtensionsTest to test the HTTPEndpointExtensions implementation.
+	    This is not a valid WSDL 2.0 document and is not intended to be parsed with validation
+	    enabled. It contains only the elements and attributes required to test that HTTP extensions
+	    to the wsdl:endpoint element are parsed correctly into the expected object model and can
+	    be accessed via the API. 
+	</documentation>
+
+	<interface name="interface1" />
+	
+	<binding name="binding1"
+	  interface="tns:interface1"
+	  type="http://www.w3.org/ns/wsdl/http">
+	</binding>
+	
+	<service name="service1"
+	  interface="tns:interface1">
+	    <endpoint name="endpoint1"
+	      binding="tns:binding1"
+	      address="http://ws.apache.woden/endpoint1"
+	      whttp:authenticationScheme="basic"
+	      whttp:authenticationRealm="abc">
+	    </endpoint>
+	    <endpoint name="endpoint2"
+	      binding="tns:binding1"
+	      address="http://ws.apache.woden/endpoint2"
+	      whttp:authenticationScheme="digest"
+	      whttp:authenticationRealm="abc">
+	    </endpoint>
+	    <endpoint name="endpoint3"
+	      binding="tns:binding1"
+	      address="http://ws.apache.woden/endpoint3"
+	      whttp:authenticationRealm="abc">
+	    </endpoint>
+	</service>
+
+
+</description>
\ No newline at end of file

Added: webservices/woden/trunk/java/woden-tests/src/test/resources/org/apache/woden/wsdl20/extensions/resources/ExtensionMessages.properties
URL: http://svn.apache.org/viewvc/webservices/woden/trunk/java/woden-tests/src/test/resources/org/apache/woden/wsdl20/extensions/resources/ExtensionMessages.properties?rev=809833&view=auto
==============================================================================
--- webservices/woden/trunk/java/woden-tests/src/test/resources/org/apache/woden/wsdl20/extensions/resources/ExtensionMessages.properties (added)
+++ webservices/woden/trunk/java/woden-tests/src/test/resources/org/apache/woden/wsdl20/extensions/resources/ExtensionMessages.properties Tue Sep  1 05:50:45 2009
@@ -0,0 +1,23 @@
+############################################################
+#  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 file contains message formats registered by an extension
+
+EXT001=Attribute "{0}" in element "{1}" must contain "{2}".
+WSDL007=An attempt to override a core message format.
+
+

Added: webservices/woden/trunk/java/woden-tests/src/test/resources/org/apache/woden/wsdl20/extensions/soap/resources/SOAPBindingExtensions.wsdl
URL: http://svn.apache.org/viewvc/webservices/woden/trunk/java/woden-tests/src/test/resources/org/apache/woden/wsdl20/extensions/soap/resources/SOAPBindingExtensions.wsdl?rev=809833&view=auto
==============================================================================
--- webservices/woden/trunk/java/woden-tests/src/test/resources/org/apache/woden/wsdl20/extensions/soap/resources/SOAPBindingExtensions.wsdl (added)
+++ webservices/woden/trunk/java/woden-tests/src/test/resources/org/apache/woden/wsdl20/extensions/soap/resources/SOAPBindingExtensions.wsdl Tue Sep  1 05:50:45 2009
@@ -0,0 +1,73 @@
+<?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.
+-->
+<description xmlns="http://www.w3.org/ns/wsdl"
+	targetNamespace="http://ws.apache.woden/endpoint"
+	xmlns:tns="http://ws.apache.woden/endpoint"
+	xmlns:xs="http://www.w3.org/2001/XMLSchema"
+	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xmlns:wsoap= "http://www.w3.org/ns/wsdl/soap"
+    xmlns:whttp= "http://www.w3.org/ns/wsdl/http"
+	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">
+
+	<documentation>
+	    Used by SOAPBindingExtensionsTest to test the SOAPBindingExtensions implementation.
+	    (to be) Used by SOAPModuleTest to test the SOAPModule implementation.
+	    (to be) Used by SOAPHeaderBlockTest to test the SOAPHeaderBlock implementation.
+	</documentation>
+
+	<interface name="interface1" />
+	
+	<binding name="binding1"
+	  interface="tns:interface1"
+	  type="http://www.w3.org/ns/wsdl/soap"
+	  wsoap:version="1.2"
+	  wsoap:protocol="http://www.w3.org/2003/05/soap/bindings/HTTP/"
+	  wsoap:mepDefault="http://www.w3.org/2003/05/soap/mep/request-response"
+	  whttp:queryParameterSeparatorDefault="$">
+	  <documentation>
+	     {http query parameter separator default} should be "$" if whttp:queryParameterSeparatorDefault is "$"
+	  </documentation>
+
+        <wsoap:module ref="urn:ccc" required="true">
+            <documentation>A soap module the processor is required to handle</documentation>
+        </wsoap:module>
+    
+        <wsoap:module ref="urn:ddd" required="false">
+            <documentation>A soap module the processor is not required to handle</documentation>
+        </wsoap:module>
+        
+	</binding>
+	
+	
+	<binding name="binding2"
+	  type="http://www.w3.org/ns/wsdl/soap"
+	  wsoap:version="1.1"
+	  wsoap:protocol="http://www.w3.org/2006/01/soap11/bindings/HTTP/">
+	  
+	  <documentation>
+	     {http query parameter separator default} should default to ampersand if whttp:queryParameterSeparatorDefault is omitted
+	  </documentation>
+
+	</binding>
+	
+	
+	<service name="service1" interface="tns:interface1" />
+	
+</description>
\ No newline at end of file

Added: webservices/woden/trunk/java/woden-tests/src/test/resources/org/apache/woden/wsdl20/extensions/soap/resources/SOAPBindingFaultExtensions.wsdl
URL: http://svn.apache.org/viewvc/webservices/woden/trunk/java/woden-tests/src/test/resources/org/apache/woden/wsdl20/extensions/soap/resources/SOAPBindingFaultExtensions.wsdl?rev=809833&view=auto
==============================================================================
--- webservices/woden/trunk/java/woden-tests/src/test/resources/org/apache/woden/wsdl20/extensions/soap/resources/SOAPBindingFaultExtensions.wsdl (added)
+++ webservices/woden/trunk/java/woden-tests/src/test/resources/org/apache/woden/wsdl20/extensions/soap/resources/SOAPBindingFaultExtensions.wsdl Tue Sep  1 05:50:45 2009
@@ -0,0 +1,68 @@
+<?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.
+-->
+<description xmlns="http://www.w3.org/ns/wsdl"
+	targetNamespace="http://ws.apache.woden/endpoint"
+	xmlns:tns="http://ws.apache.woden/endpoint"
+	xmlns:xs="http://www.w3.org/2001/XMLSchema"
+	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xmlns:wsoap= "http://www.w3.org/ns/wsdl/soap"
+    xmlns:soap-env="http://www.w3.org/2003/05/soap-envelope"
+    xmlns:ghns = "urn:ghns"
+	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">
+
+	<documentation>
+	    Used by SOAPBindingFaultExtensionsTest to test the SOAPBindingFaultExtensions implementation.
+	</documentation>
+
+	<interface name="interface1" />
+	
+	<binding name="binding1"
+	  interface="tns:interface1"
+	  type="http://www.w3.org/ns/wsdl/soap">
+
+        <fault 
+          wsoap:code="soap-env:fault1"
+          wsoap:subcodes="soap-env:ABC soap-env:JKL soap-env:XYZ">
+            <documentation>Test that code and subcode qnames are resolved correctly</documentation>
+        </fault>
+        
+        <fault 
+          wsoap:code="#any"
+          wsoap:subcodes="#any">
+            <documentation>Test that code and subcode tokens #any are handled correctly</documentation>
+            <documentation>Test that 3 SOAPModule objects are created</documentation>
+            <wsoap:module ref="urn:ccc" required="true" />
+            <wsoap:module ref="urn:ddd" required="false" />
+            <wsoap:module ref="urn:eee" required="true" />
+
+       </fault>
+        
+        <fault>
+            <documentation>Test that code and subcode default to token #any if omitted</documentation>
+            <documentation>Test that 2 SOAPHeaderBlock objects are created</documentation>
+            <wsoap:header element="ghns:checkAvailability" mustUnderstand="true" />
+            <wsoap:header element="ghns:checkPrice" mustUnderstand="true" />
+        </fault>
+        
+	</binding>
+	
+	<service name="service1" interface="tns:interface1" />
+	
+</description>
\ No newline at end of file

Added: webservices/woden/trunk/java/woden-tests/src/test/resources/org/apache/woden/wsdl20/extensions/soap/resources/SOAPBindingFaultReferenceExtensions.wsdl
URL: http://svn.apache.org/viewvc/webservices/woden/trunk/java/woden-tests/src/test/resources/org/apache/woden/wsdl20/extensions/soap/resources/SOAPBindingFaultReferenceExtensions.wsdl?rev=809833&view=auto
==============================================================================
--- webservices/woden/trunk/java/woden-tests/src/test/resources/org/apache/woden/wsdl20/extensions/soap/resources/SOAPBindingFaultReferenceExtensions.wsdl (added)
+++ webservices/woden/trunk/java/woden-tests/src/test/resources/org/apache/woden/wsdl20/extensions/soap/resources/SOAPBindingFaultReferenceExtensions.wsdl Tue Sep  1 05:50:45 2009
@@ -0,0 +1,67 @@
+<?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.
+-->
+<description xmlns="http://www.w3.org/ns/wsdl"
+	targetNamespace="http://ws.apache.woden/endpoint"
+	xmlns:tns="http://ws.apache.woden/endpoint"
+	xmlns:xs="http://www.w3.org/2001/XMLSchema"
+	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xmlns:wsoap= "http://www.w3.org/ns/wsdl/soap"
+    xmlns:soap-env="http://www.w3.org/2003/05/soap-envelope"
+    xmlns:ghns = "urn:ghns"
+	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">
+
+	<documentation>
+	    Used by SOAPBindingFaultReferenceExtensionsTest to test the SOAPBindingFaultReferenceExtensions implementation.
+	</documentation>
+
+	<interface name="interface1">
+        <fault name = "invalidDataFault"
+               element = "ghns:invalidDataError" />
+        <operation name="opCheckAvailability">
+            <infault ref="tns:invalidDataFault" messageLabel="In"/>
+            <outfault ref="tns:invalidDataFault" messageLabel="Out"/>
+        </operation>
+         
+	</interface>
+	
+	<binding name="binding1"
+	  interface="tns:interface1"
+	  type="http://www.w3.org/ns/wsdl/soap">
+
+        <operation ref="tns:opCheckAvailability">
+
+            <infault ref="tns:invalidDataFault" messageLabel="In">
+                <documentation>Test that 2 SOAPModule objects are created</documentation>
+                <wsoap:module ref="urn:ccc" required="true" />
+                <wsoap:module ref="urn:ddd" required="false" />
+            </infault>
+            
+            <outfault ref="tns:invalidDataFault" messageLabel="Out">
+                <documentation>Test that 1 SOAPModule objects are created</documentation>
+                <wsoap:module ref="urn:eee" required="false" />
+            </outfault>
+            
+       </operation>
+        
+	</binding>
+	
+	<service name="service1" interface="tns:interface1" />
+	
+</description>
\ No newline at end of file

Added: webservices/woden/trunk/java/woden-tests/src/test/resources/org/apache/woden/wsdl20/extensions/soap/resources/SOAPBindingMessageReferenceExtensions.wsdl
URL: http://svn.apache.org/viewvc/webservices/woden/trunk/java/woden-tests/src/test/resources/org/apache/woden/wsdl20/extensions/soap/resources/SOAPBindingMessageReferenceExtensions.wsdl?rev=809833&view=auto
==============================================================================
--- webservices/woden/trunk/java/woden-tests/src/test/resources/org/apache/woden/wsdl20/extensions/soap/resources/SOAPBindingMessageReferenceExtensions.wsdl (added)
+++ webservices/woden/trunk/java/woden-tests/src/test/resources/org/apache/woden/wsdl20/extensions/soap/resources/SOAPBindingMessageReferenceExtensions.wsdl Tue Sep  1 05:50:45 2009
@@ -0,0 +1,62 @@
+<?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.
+-->
+<description xmlns="http://www.w3.org/ns/wsdl"
+	targetNamespace="http://ws.apache.woden/endpoint"
+	xmlns:tns="http://ws.apache.woden/endpoint"
+	xmlns:xs="http://www.w3.org/2001/XMLSchema"
+	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xmlns:wsoap= "http://www.w3.org/ns/wsdl/soap"
+    xmlns:soap-env="http://www.w3.org/2003/05/soap-envelope"
+    xmlns:ghns = "urn:ghns"
+	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">
+
+	<documentation>
+	    Used by SOAPBindingMessageReferenceExtensionsTest to test the SOAPBindingMessageReferenceExtensions implementation.
+	</documentation>
+
+	<interface name="interface1" />
+	
+	<binding name="binding1"
+	  interface="tns:interface1"
+	  type="http://www.w3.org/ns/wsdl/soap">
+
+        <operation>
+
+            <input>
+                <documentation>Test that 2 SOAPModule and 2 SOAPHeaderBlock objects are created</documentation>
+                <wsoap:module ref="urn:ccc" required="true" />
+                <wsoap:module ref="urn:ddd" required="false" />
+                <wsoap:header element="ghns:checkAvailability" mustUnderstand="true" />
+                <wsoap:header element="ghns:checkPrice" mustUnderstand="true" />
+            </input>
+            
+            <output>
+                <documentation>Test that 1 SOAPModule and 1 SOAPHeaderBlock objects are created</documentation>
+                <wsoap:module ref="urn:eee" required="false" />
+                <wsoap:header element="ghns:checkAvailability" mustUnderstand="false" />
+            </output>
+            
+       </operation>
+        
+	</binding>
+	
+	<service name="service1" interface="tns:interface1" />
+	
+</description>
\ No newline at end of file

Added: webservices/woden/trunk/java/woden-tests/src/test/resources/org/apache/woden/wsdl20/extensions/soap/resources/SOAPBindingOperationExtensions.wsdl
URL: http://svn.apache.org/viewvc/webservices/woden/trunk/java/woden-tests/src/test/resources/org/apache/woden/wsdl20/extensions/soap/resources/SOAPBindingOperationExtensions.wsdl?rev=809833&view=auto
==============================================================================
--- webservices/woden/trunk/java/woden-tests/src/test/resources/org/apache/woden/wsdl20/extensions/soap/resources/SOAPBindingOperationExtensions.wsdl (added)
+++ webservices/woden/trunk/java/woden-tests/src/test/resources/org/apache/woden/wsdl20/extensions/soap/resources/SOAPBindingOperationExtensions.wsdl Tue Sep  1 05:50:45 2009
@@ -0,0 +1,74 @@
+<?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.
+-->
+<description xmlns="http://www.w3.org/ns/wsdl"
+	targetNamespace="http://ws.apache.woden/endpoint"
+	xmlns:tns="http://ws.apache.woden/endpoint"
+	xmlns:xs="http://www.w3.org/2001/XMLSchema"
+	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xmlns:wsoap= "http://www.w3.org/ns/wsdl/soap"
+    xmlns:soap-env="http://www.w3.org/2003/05/soap-envelope"
+    xmlns:whttp= "http://www.w3.org/ns/wsdl/http"
+    xmlns:ghns = "urn:ghns"
+	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">
+
+	<documentation>
+	    Used by SOAPBindingOperationExtensionsTest to test the SOAPBindingOperationExtensions implementation.
+	</documentation>
+
+	<interface name="interface1" />
+	
+	<binding name="binding1"
+	  interface="tns:interface1"
+	  type="http://www.w3.org/ns/wsdl/soap"
+	  wsoap:version="1.2"
+	  wsoap:protocol="http://www.w3.org/2003/05/soap/bindings/HTTP/">
+
+        <operation
+          wsoap:mep="urn:mep"
+          wsoap:action="urn:action"
+	      whttp:queryParameterSeparator="$">
+            <documentation>Test that mep and action attributes are parsed correctly.</documentation>
+            <documentation>Test that 1 SOAPModule object is parsed.</documentation>
+            <documentation>Test that query paramater separator is parsed correctly.</documentation>
+            <wsoap:module ref="urn:ccc" required="true" />
+        </operation>
+        
+	</binding>
+	
+	<binding name="binding2"
+	  interface="tns:interface1"
+	  type="http://www.w3.org/ns/wsdl/soap"
+	  wsoap:version="1.1"
+	  wsoap:protocol="http://www.w3.org/2006/01/soap11/bindings/HTTP/">
+
+        <operation
+          wsoap:mep="urn:mep"
+          wsoap:action="urn:action">
+            <documentation>Test that mep and action attributes are parsed correctly.</documentation>
+            <documentation>Test that 1 SOAPModule object is parsed.</documentation>
+            <documentation>Test that query paramater separator defaults to null if omitted from the WSDL.</documentation>
+            <wsoap:module ref="urn:ccc" required="true" />
+        </operation>
+        
+	</binding>
+	
+	<service name="service1" interface="tns:interface1" />
+	
+</description>
\ No newline at end of file



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


Mime
View raw message