diff options
Diffstat (limited to 'tests/org.eclipse.wst.wsi.tests')
141 files changed, 0 insertions, 5813 deletions
diff --git a/tests/org.eclipse.wst.wsi.tests/.classpath b/tests/org.eclipse.wst.wsi.tests/.classpath deleted file mode 100644 index 751c8f2e5..000000000 --- a/tests/org.eclipse.wst.wsi.tests/.classpath +++ /dev/null @@ -1,7 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<classpath> - <classpathentry kind="src" path="src"/> - <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> - <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/> - <classpathentry kind="output" path="bin"/> -</classpath> diff --git a/tests/org.eclipse.wst.wsi.tests/.cvsignore b/tests/org.eclipse.wst.wsi.tests/.cvsignore deleted file mode 100644 index ff8300b4c..000000000 --- a/tests/org.eclipse.wst.wsi.tests/.cvsignore +++ /dev/null @@ -1,4 +0,0 @@ -bin -temp.folder -wsi.tests.jar -build.xml diff --git a/tests/org.eclipse.wst.wsi.tests/.project b/tests/org.eclipse.wst.wsi.tests/.project deleted file mode 100644 index 695d18704..000000000 --- a/tests/org.eclipse.wst.wsi.tests/.project +++ /dev/null @@ -1,28 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<projectDescription> - <name>org.eclipse.wst.wsi.tests</name> - <comment></comment> - <projects> - </projects> - <buildSpec> - <buildCommand> - <name>org.eclipse.jdt.core.javabuilder</name> - <arguments> - </arguments> - </buildCommand> - <buildCommand> - <name>org.eclipse.pde.ManifestBuilder</name> - <arguments> - </arguments> - </buildCommand> - <buildCommand> - <name>org.eclipse.pde.SchemaBuilder</name> - <arguments> - </arguments> - </buildCommand> - </buildSpec> - <natures> - <nature>org.eclipse.jdt.core.javanature</nature> - <nature>org.eclipse.pde.PluginNature</nature> - </natures> -</projectDescription> diff --git a/tests/org.eclipse.wst.wsi.tests/.settings/org.eclipse.core.resources.prefs b/tests/org.eclipse.wst.wsi.tests/.settings/org.eclipse.core.resources.prefs deleted file mode 100644 index 24b793b9e..000000000 --- a/tests/org.eclipse.wst.wsi.tests/.settings/org.eclipse.core.resources.prefs +++ /dev/null @@ -1,3 +0,0 @@ -#Sun Apr 16 17:59:39 EDT 2006 -eclipse.preferences.version=1 -encoding/<project>=ISO-8859-1 diff --git a/tests/org.eclipse.wst.wsi.tests/.settings/org.eclipse.jdt.core.prefs b/tests/org.eclipse.wst.wsi.tests/.settings/org.eclipse.jdt.core.prefs deleted file mode 100644 index 0808317ef..000000000 --- a/tests/org.eclipse.wst.wsi.tests/.settings/org.eclipse.jdt.core.prefs +++ /dev/null @@ -1,12 +0,0 @@ -#Wed Mar 29 04:08:48 EST 2006 -eclipse.preferences.version=1 -org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=disabled -org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.2 -org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve -org.eclipse.jdt.core.compiler.compliance=1.4 -org.eclipse.jdt.core.compiler.debug.lineNumber=generate -org.eclipse.jdt.core.compiler.debug.localVariable=generate -org.eclipse.jdt.core.compiler.debug.sourceFile=generate -org.eclipse.jdt.core.compiler.problem.assertIdentifier=warning -org.eclipse.jdt.core.compiler.problem.enumIdentifier=warning -org.eclipse.jdt.core.compiler.source=1.3 diff --git a/tests/org.eclipse.wst.wsi.tests/.settings/org.eclipse.jdt.ui.prefs b/tests/org.eclipse.wst.wsi.tests/.settings/org.eclipse.jdt.ui.prefs deleted file mode 100644 index 9caa76d48..000000000 --- a/tests/org.eclipse.wst.wsi.tests/.settings/org.eclipse.jdt.ui.prefs +++ /dev/null @@ -1,3 +0,0 @@ -#Wed Mar 29 04:08:48 EST 2006 -eclipse.preferences.version=1 -internal.default.compliance=default diff --git a/tests/org.eclipse.wst.wsi.tests/META-INF/MANIFEST.MF b/tests/org.eclipse.wst.wsi.tests/META-INF/MANIFEST.MF deleted file mode 100644 index 99997d509..000000000 --- a/tests/org.eclipse.wst.wsi.tests/META-INF/MANIFEST.MF +++ /dev/null @@ -1,19 +0,0 @@ -Manifest-Version: 1.0 -Bundle-ManifestVersion: 2 -Bundle-Name: WSI JUnit Test -Bundle-SymbolicName: org.eclipse.wst.wsi.tests -Bundle-Version: 1.0.0 -Bundle-ClassPath: wsi.tests.jar -Bundle-Activator: org.eclipse.wst.wsi.tests.internal.WSITestsPlugin -Bundle-Vendor: Eclipse -Bundle-Localization: plugin -Require-Bundle: org.eclipse.wst.wsi, - org.eclipse.core.resources, - org.junit, - org.wsdl4j, - org.eclipse.osgi, - org.eclipse.core.runtime, - org.eclipse.wst.command.env, - org.eclipse.wst.command.env.core -Eclipse-AutoStart: true -Export-Package: org.eclipse.wst.wsi.tests.internal diff --git a/tests/org.eclipse.wst.wsi.tests/about.html b/tests/org.eclipse.wst.wsi.tests/about.html deleted file mode 100644 index 4ec598958..000000000 --- a/tests/org.eclipse.wst.wsi.tests/about.html +++ /dev/null @@ -1,34 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"> -<HTML> - -<head> -<title>About</title> -<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1"> -</head> - -<BODY lang="EN-US"> - -<H3>About This Content</H3> - -<P>May 2, 2006</P> - -<H3>License</H3> - -<P>The Eclipse Foundation makes available all content in this plug-in -("Content"). Unless otherwise indicated below, the Content is provided to you -under the terms and conditions of the Eclipse Public License Version 1.0 -("EPL"). A copy of the EPL is available at -<A href="http://www.eclipse.org/org/documents/epl-v10.php">http://www.eclipse.org/org/documents/epl-v10.php</A>. -For purposes of the EPL, "Program" will mean the Content.</P> - -<P>If you did not receive this Content directly from the Eclipse Foundation, the -Content is being redistributed by another party ("Redistributor") and different -terms and conditions may apply to your use of any object code in the Content. -Check the Redistributor’s license that was provided with the Content. If no such -license exists, contact the Redistributor. Unless otherwise indicated below, the -terms and conditions of the EPL still apply to any source code in the Content -and such source code may be obtained at -<A href="http://www.eclipse.org/">http://www.eclipse.org/</A>.</P> - -</BODY> -</HTML> diff --git a/tests/org.eclipse.wst.wsi.tests/build.properties b/tests/org.eclipse.wst.wsi.tests/build.properties deleted file mode 100644 index 29ec9e29b..000000000 --- a/tests/org.eclipse.wst.wsi.tests/build.properties +++ /dev/null @@ -1,9 +0,0 @@ -source.wsi.tests.jar = src/ -output.wsi.tests.jar = bin/ -bin.includes = plugin.xml,\ - wsi.tests.jar,\ - testResources/,\ - test.xml,\ - META-INF/,\ - META-INF/,\ - about.html diff --git a/tests/org.eclipse.wst.wsi.tests/plugin.xml b/tests/org.eclipse.wst.wsi.tests/plugin.xml deleted file mode 100644 index 7bf65fb5f..000000000 --- a/tests/org.eclipse.wst.wsi.tests/plugin.xml +++ /dev/null @@ -1,6 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<?eclipse version="3.0"?> -<plugin> - - -</plugin> diff --git a/tests/org.eclipse.wst.wsi.tests/src/org/eclipse/wst/wsi/tests/internal/CoreConformanceTest.java b/tests/org.eclipse.wst.wsi.tests/src/org/eclipse/wst/wsi/tests/internal/CoreConformanceTest.java deleted file mode 100644 index eed9baccd..000000000 --- a/tests/org.eclipse.wst.wsi.tests/src/org/eclipse/wst/wsi/tests/internal/CoreConformanceTest.java +++ /dev/null @@ -1,104 +0,0 @@ -package org.eclipse.wst.wsi.tests.internal; - -import java.util.ArrayList; -import java.util.Iterator; -import java.util.List; - -import javax.xml.parsers.DocumentBuilder; -import javax.xml.parsers.DocumentBuilderFactory; - -import org.eclipse.wst.wsi.internal.WSITestToolsProperties; -import org.eclipse.wst.wsi.internal.report.AssertionError; -import org.w3c.dom.Document; -import org.w3c.dom.Element; -import org.w3c.dom.NodeList; - -import junit.framework.TestCase; - -public class CoreConformanceTest extends TestCase { - - public static final String TEST_CASE_FILE = "testcase.xml"; - public static final String TAD_ID_AP = "AP10"; - public static final String TAD_ID_SSBP = "SSBP10"; - - protected String pluginURI = null; - protected String tadID = TAD_ID_AP; - - public CoreConformanceTest(String name) { - super(name); - pluginURI = WSITestsPlugin.getInstallURL(); - } - - protected void setup() - { - } - - /** - * Retrieve the expected assertion failures. - * @param filename - the location of the testcase.xml file. - * @return the expected assertion failures. - */ - protected List getExpectedAssertionFailures(String filename) { - List assertionFailures = new ArrayList(); - try { - DocumentBuilder builder = DocumentBuilderFactory.newInstance(). - newDocumentBuilder(); - Document doc = builder.parse(filename); - NodeList list = doc.getElementsByTagName("assertion"); - if (list != null) - for (int i=0; i<list.getLength(); i++) { - Element element = (Element)list.item(i); - String tad = element.getAttribute("tadID"); - if ((tad != null) && tad.equals(this.tadID)) - assertionFailures.add(element.getAttribute("id")); - } - } catch (Exception e) { - assertionFailures = null; - } - return assertionFailures; - } - - /** - * Compare the actual errors with the expected errors. - * @param errors the actual assertion failures - * @param expectedErrors the expected assertion failures - */ - protected void analyzeResults(List errors, List expectedErrors) { - List actualErrors = new ArrayList(); - if ((errors != null) && (expectedErrors != null)) { - Iterator i = errors.iterator(); - while (i.hasNext()) { - AssertionError e = (AssertionError)i.next(); - String assertionId = e.getAssertionID(); - actualErrors.add(assertionId); - - if (!expectedErrors.contains(assertionId)) { - fail("Unexpected assertion failure: " + assertionId); - } - } - - i = expectedErrors.iterator(); - while (i.hasNext()) { - String assertionId = (String)i.next(); - - if (!actualErrors.contains(assertionId)) { - fail("Expected assertion failure: " + assertionId); - } - } - assertEquals(expectedErrors.size(), errors.size()); - } - } - - /** - * Return the location of the given tad. - * @param tid the tad id. - * @return the location of the tad. - */ - protected String getTADURI(String tid) - { - if (tid.equals(TAD_ID_AP)) - return WSITestToolsProperties.AP_ASSERTION_FILE; - else - return WSITestToolsProperties.SSBP_ASSERTION_FILE; - } -} diff --git a/tests/org.eclipse.wst.wsi.tests/src/org/eclipse/wst/wsi/tests/internal/CoreMessageLogConformanceTest.java b/tests/org.eclipse.wst.wsi.tests/src/org/eclipse/wst/wsi/tests/internal/CoreMessageLogConformanceTest.java deleted file mode 100644 index 153c1aed0..000000000 --- a/tests/org.eclipse.wst.wsi.tests/src/org/eclipse/wst/wsi/tests/internal/CoreMessageLogConformanceTest.java +++ /dev/null @@ -1,79 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2002-2005 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM - Initial API and implementation - *******************************************************************************/ -package org.eclipse.wst.wsi.tests.internal; - -import java.util.List; - -import org.eclipse.wst.wsi.internal.WSIPreferences; -import org.eclipse.wst.wsi.internal.WSITestToolsProperties; -import org.eclipse.wst.wsi.internal.analyzer.MessageAnalyzer; - -public class CoreMessageLogConformanceTest extends CoreConformanceTest -{ - public static final String MESSAGE_LOG_BASE_DIRECTORY = - "testResources/samples/messageLogs"; - public static final String MESSAGE_LOG_EXTENSION = ".wsimsg"; - - public CoreMessageLogConformanceTest(String name) - { - super(name); - } - - /** - * JUnit test: validate the message log against the specified WS-I Profile. - * @param tad he WS-I Test Assertion Document - * @param testName the name of the test containing the wsdl document - */ - protected void runTest(String category, String testName, String tadID) { - this.tadID = tadID; - - assertNotNull("Problems determining base url", pluginURI); - String testDirectory = pluginURI + MESSAGE_LOG_BASE_DIRECTORY + "/" + - category + "/" + testName; - String messageLogFile = "file://" + testDirectory + "/" + testName + - MESSAGE_LOG_EXTENSION; - String testcaseFile = testDirectory + "/" + TEST_CASE_FILE; - - // validate the message log document - MessageAnalyzer analyzer = validateConformance(messageLogFile, tadID); - assertNotNull("Unknown problems during validation", analyzer); - - // retrieve the expected assertion failures - List expectedErrors = getExpectedAssertionFailures(testcaseFile); - assertNotNull("Problems retrieving expected failures", expectedErrors); - - // compare the actual errors with the expected errors - analyzeResults(analyzer.getAssertionErrors(), expectedErrors); - } - - /** - * Validate the wsdl document against the specified WS-I Profile. - * @param tad the WS-I Test Assertion Document - * @param filename the wsdl document - * @return the WSDLAnalyzer object containing the validation results - */ - protected MessageAnalyzer validateConformance(String filename, String tadID) { - MessageAnalyzer analyzer = null; - try { - WSIPreferences preferences = new WSIPreferences(); - preferences.setComplianceLevel( WSITestToolsProperties.STOP_NON_WSI); - preferences.setTADFile(getTADURI(tadID)); - - analyzer = new MessageAnalyzer(filename, preferences); - - // run the conformance check and add errors and warnings as needed - analyzer.validateConformance(); - } catch (Exception e) { - return null; - } - return analyzer; - } -} diff --git a/tests/org.eclipse.wst.wsi.tests/src/org/eclipse/wst/wsi/tests/internal/CoreWSDLConformanceTest.java b/tests/org.eclipse.wst.wsi.tests/src/org/eclipse/wst/wsi/tests/internal/CoreWSDLConformanceTest.java deleted file mode 100644 index 383384c59..000000000 --- a/tests/org.eclipse.wst.wsi.tests/src/org/eclipse/wst/wsi/tests/internal/CoreWSDLConformanceTest.java +++ /dev/null @@ -1,189 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2002-2005 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM - Initial API and implementation - *******************************************************************************/ -package org.eclipse.wst.wsi.tests.internal; - -import java.util.Collection; -import java.util.Iterator; -import java.util.List; - -import javax.wsdl.Binding; -import javax.wsdl.Definition; -import javax.wsdl.Message; -import javax.wsdl.Port; -import javax.wsdl.PortType; -import javax.wsdl.Service; -import javax.wsdl.xml.WSDLReader; - -import org.eclipse.wst.wsi.internal.WSIPreferences; -import org.eclipse.wst.wsi.internal.WSITestToolsProperties; -import org.eclipse.wst.wsi.internal.analyzer.WSDLAnalyzer; -import org.eclipse.wst.wsi.internal.core.wsdl.WSDLReaderImpl; -import org.eclipse.wst.wsi.internal.core.xml.XMLUtils; -import org.w3c.dom.Document; - -public class CoreWSDLConformanceTest extends CoreConformanceTest -{ - public static final String WSDL_BASE_DIRECTORY = "testResources/samples/wsdl"; - public static final String WSDL_EXTENSION = ".wsdl"; - - public CoreWSDLConformanceTest(String name) - { - super(name); - } - - /** - * JUnit test: validate the wsdl document against the specified WS-I Profile. - * @param tad he WS-I Test Assertion Document - * @param testName the name of the test containing the wsdl document - */ - protected void runTest(String category, String testName, String tadID) - { - this.tadID = tadID; - - assertNotNull("Problems determining base url", pluginURI); - String testDirectory = pluginURI + WSDL_BASE_DIRECTORY + "/" + category + "/" + testName; - String wsdlFile = "file://" + testDirectory + "/" + testName + WSDL_EXTENSION; - String testcaseFile = testDirectory + "/" + TEST_CASE_FILE; - - // validate the WSDL document - WSDLAnalyzer analyzer = validateConformance(wsdlFile, tadID); - assertNotNull("Unknown problems during validation", analyzer); - - // retrieve the expected assertion failures - List expectedErrors = getExpectedAssertionFailures(testcaseFile); - assertNotNull("Problems retrieving expected failures", expectedErrors); - - // compare the actual errors with the expected errors - analyzeResults(analyzer.getAssertionErrors(), expectedErrors); - } - - /** - * Validate the wsdl document against the specified WS-I Profile. - * @param tad the WS-I Test Assertion Document - * @param filename the wsdl document - * @return the WSDLAnalyzer object containing the validation results - */ - protected WSDLAnalyzer validateConformance(String filename, String tadID) - { - WSDLAnalyzer analyzer = null; - try - { - WSIPreferences preferences = new WSIPreferences(); - preferences.setComplianceLevel( WSITestToolsProperties.STOP_NON_WSI); - preferences.setTADFile(getTADURI(tadID)); - - analyzer = new WSDLAnalyzer(filename, preferences); - setConfigurations(filename, analyzer); - - // run the conformance check and add errors and warnings as needed - analyzer.validateConformance(); - } - catch (Exception e) - { - return null; - } - return analyzer; - } - - /** - * Gather configuration information from the WSDL file. - * @param fileName the wsdl location. - * @param a WSDLAnalyzer object containg configuration info. - */ - protected void setConfigurations(String filename, WSDLAnalyzer analyzer) - { - try - { - WSDLReader wsdlReader = new WSDLReaderImpl(); - - // Set features - wsdlReader.setFeature(com.ibm.wsdl.Constants.FEATURE_VERBOSE, false); - wsdlReader.setFeature(com.ibm.wsdl.Constants.FEATURE_IMPORT_DOCUMENTS, true); - - // Parse the WSDL document - Document document = XMLUtils.parseXMLDocument(filename); - Definition definition = wsdlReader.readWSDL(filename, document); - //Definition definition = reader.readWSDL(filename); - - String namespace = definition.getTargetNamespace(); - - // get all the collections we may need to validate - Collection services = definition.getServices().values(); - Collection bindings = definition.getBindings().values(); - Collection portTypes = definition.getPortTypes().values(); - Collection messages = definition.getMessages().values(); - - // The WS-I conformance tools require that each service be analyzed separately. - // Get all the services and analyze them. - if (services != null && !services.isEmpty()) - { - Iterator serviceIterator = services.iterator(); - - while (serviceIterator.hasNext()) - { - Service service = (Service) serviceIterator.next(); - - String servicename = service.getQName().getLocalPart(); - - Collection ports = service.getPorts().values(); - if (ports != null && !ports.isEmpty()) - { - // The WS-I tools must be called once for each port within each service. - Iterator portIterator = ports.iterator(); - while (portIterator.hasNext()) - { - Port port = (Port) portIterator.next(); - analyzer.addConfigurationToTest(servicename, namespace, port.getName(), WSDLAnalyzer.PORT); - } - } - // validate at the binding level - check for every binding - else if (bindings != null && !bindings.isEmpty()) - { - Iterator bindingIterator = bindings.iterator(); - - while (bindingIterator.hasNext()) - { - Binding binding = (Binding) bindingIterator.next(); - String bindingname = binding.getQName().getLocalPart(); - analyzer.addConfigurationToTest(null, namespace, bindingname, WSDLAnalyzer.BINDING); - } - } - // validate at the portType level - check for every portType - else if (portTypes != null && !portTypes.isEmpty()) - { - Iterator portTypeIterator = portTypes.iterator(); - while (portTypeIterator.hasNext()) - { - PortType portType = (PortType) portTypeIterator.next(); - String portTypename = portType.getQName().getLocalPart(); - analyzer.addConfigurationToTest(null, namespace, portTypename, WSDLAnalyzer.PORTTYPE); - } - } - // validate at the message level - check for every message - else if (messages != null && !messages.isEmpty()) - { - Iterator messageIterator = messages.iterator(); - while (messageIterator.hasNext()) - { - Message message = (Message) messageIterator.next(); - String messagename = message.getQName().getLocalPart(); - analyzer.addConfigurationToTest(null, namespace, messagename, WSDLAnalyzer.MESSAGE); - } - } - } - } - } - catch (Exception e) - { - fail("Unexpected problems setting configurations"); - } - } -} diff --git a/tests/org.eclipse.wst.wsi.tests/src/org/eclipse/wst/wsi/tests/internal/MessageLogConformanceAPTest.java b/tests/org.eclipse.wst.wsi.tests/src/org/eclipse/wst/wsi/tests/internal/MessageLogConformanceAPTest.java deleted file mode 100644 index a18d38a44..000000000 --- a/tests/org.eclipse.wst.wsi.tests/src/org/eclipse/wst/wsi/tests/internal/MessageLogConformanceAPTest.java +++ /dev/null @@ -1,15 +0,0 @@ -package org.eclipse.wst.wsi.tests.internal; - -/** - * JUnit tests that test message logs against the WS-I Attachments profile. - */ -public class MessageLogConformanceAPTest extends CoreMessageLogConformanceTest { - - public MessageLogConformanceAPTest(String name) { - super(name); - } - - public void test_1309_1() { runTest("bp", "1309-1", TAD_ID_AP); } - public void test_1309_2() { runTest("bp", "1309-2", TAD_ID_AP); } - public void test_1600_1() { runTest("bp", "1600-1", TAD_ID_AP); } -} diff --git a/tests/org.eclipse.wst.wsi.tests/src/org/eclipse/wst/wsi/tests/internal/MessageLogConformanceSSBPTest.java b/tests/org.eclipse.wst.wsi.tests/src/org/eclipse/wst/wsi/tests/internal/MessageLogConformanceSSBPTest.java deleted file mode 100644 index 3e3927ed5..000000000 --- a/tests/org.eclipse.wst.wsi.tests/src/org/eclipse/wst/wsi/tests/internal/MessageLogConformanceSSBPTest.java +++ /dev/null @@ -1,17 +0,0 @@ -package org.eclipse.wst.wsi.tests.internal; - -/** - * JUnit tests that test message logs against the WS-I Simple Soap Binding - * profile. - */ -public class MessageLogConformanceSSBPTest extends - CoreMessageLogConformanceTest { - - public MessageLogConformanceSSBPTest(String name) { - super(name); - } - - public void test_1309_1() { runTest("bp", "1309-1", TAD_ID_SSBP); } - public void test_1309_2() { runTest("bp", "1309-2", TAD_ID_SSBP); } - public void test_1600_1() { runTest("bp", "1600-1", TAD_ID_SSBP); } -} diff --git a/tests/org.eclipse.wst.wsi.tests/src/org/eclipse/wst/wsi/tests/internal/RegressionBucket.java b/tests/org.eclipse.wst.wsi.tests/src/org/eclipse/wst/wsi/tests/internal/RegressionBucket.java deleted file mode 100644 index 118fc7bf0..000000000 --- a/tests/org.eclipse.wst.wsi.tests/src/org/eclipse/wst/wsi/tests/internal/RegressionBucket.java +++ /dev/null @@ -1,60 +0,0 @@ -/* Copyright (c) 2001, 2004 IBM Corporation and others. -* All rights reserved. This program and the accompanying materials -* are made available under the terms of the Eclipse Public License v1.0 -* which accompanies this distribution, and is available at -* http://www.eclipse.org/legal/epl-v10.html -* -* Contributors: -* IBM Corporation - initial API and implementation -*******************************************************************************/ -package org.eclipse.wst.wsi.tests.internal; - -import java.io.IOException; -import java.io.InputStream; -import java.net.URL; - -import org.eclipse.wst.wsi.internal.WSITestToolsProperties; - -import junit.framework.Test; -import junit.framework.TestSuite; -/** - * JUnit tests that runs all of the tests implemented - * in this plugin. - * - * @author lauzond - */ -public class RegressionBucket extends TestSuite { - - public static Test suite() - { - TestSuite suite= new TestSuite("Regression Bucket"); - if (tadIsAvailable(WSITestToolsProperties.SSBP_ASSERTION_FILE)) { - suite.addTest(new TestSuite(WSDLConformanceSSBPTest.class)); - suite.addTest(new TestSuite(MessageLogConformanceSSBPTest.class)); - } - if (tadIsAvailable(WSITestToolsProperties.AP_ASSERTION_FILE)) { - suite.addTest(new TestSuite(WSDLConformanceAPTest.class)); - suite.addTest(new TestSuite(MessageLogConformanceAPTest.class)); - } - - return suite; - } - - public static boolean tadIsAvailable(String tadURI) - { - boolean result = true; - InputStream is = null; - try - { - URL url = new URL(tadURI); - is = url.openStream(); - is.close(); - } - catch (IOException e) - { - result = false; - } - return result; - } - -} diff --git a/tests/org.eclipse.wst.wsi.tests/src/org/eclipse/wst/wsi/tests/internal/WSDLConformanceAPTest.java b/tests/org.eclipse.wst.wsi.tests/src/org/eclipse/wst/wsi/tests/internal/WSDLConformanceAPTest.java deleted file mode 100644 index 91f470a50..000000000 --- a/tests/org.eclipse.wst.wsi.tests/src/org/eclipse/wst/wsi/tests/internal/WSDLConformanceAPTest.java +++ /dev/null @@ -1,75 +0,0 @@ -/* Copyright (c) 2001, 2004 IBM Corporation and others. -* All rights reserved. This program and the accompanying materials -* are made available under the terms of the Eclipse Public License v1.0 -* which accompanies this distribution, and is available at -* http://www.eclipse.org/legal/epl-v10.html -* -* Contributors: -* IBM Corporation - initial API and implementation -*******************************************************************************/ -package org.eclipse.wst.wsi.tests.internal; -/** - * JUnit tests that test wsdl documents against - * the WS-I Attachments profile. - * - * @author lauzond - */ -public class WSDLConformanceAPTest extends CoreWSDLConformanceTest -{ - public WSDLConformanceAPTest(String name) - { - super(name); - } -//ws-i wsdls - public void test_addressBook() { runTest("wsi", "addressBook", TAD_ID_AP); } - public void test_addressBook_rpc() { runTest("wsi", "addressBook-rpc", TAD_ID_AP); } - // public void test_sampleAppCatalog() { runTest("wsi", "sampleAppCatalog", TAD_ID_AP); } - public void test_sampleAppManufacturer() { runTest("wsi", "sampleAppManufacturer", TAD_ID_AP); } - public void test_sampleAppWarehouse() { runTest("wsi", "sampleAppWarehouse", TAD_ID_AP); } - - // bp tests - public void test_2012_1() { runTest("bp", "2012-1", TAD_ID_AP); } - public void test_2013_1() { runTest("bp", "2013-1", TAD_ID_AP); } - public void test_2014_1() { runTest("bp", "2014-1", TAD_ID_AP); } - public void test_2014_2() { runTest("bp", "2014-2", TAD_ID_AP); } - public void test_2014_3() { runTest("bp", "2014-3", TAD_ID_AP); } - public void test_2017_1() { runTest("bp", "2017-1", TAD_ID_AP); } - public void test_2017_2() { runTest("bp", "2017-2", TAD_ID_AP); } - public void test_2018_1() { runTest("bp", "2018-1", TAD_ID_AP); } - public void test_2018_2() { runTest("bp", "2018-2", TAD_ID_AP); } - public void test_2018_3() { runTest("bp", "2018-3", TAD_ID_AP); } - public void test_2018_4() { runTest("bp", "2018-4", TAD_ID_AP); } - public void test_2019_1() { runTest("bp", "2019-1", TAD_ID_AP); } - public void test_2019_2() { runTest("bp", "2019-2", TAD_ID_AP); } - public void test_2019_3() { runTest("bp", "2019-3", TAD_ID_AP); } - public void test_2019_4() { runTest("bp", "2019-4", TAD_ID_AP); } - public void test_2020_1() { runTest("bp", "2020-1", TAD_ID_AP); } - public void test_2020_2() { runTest("bp", "2020-2", TAD_ID_AP); } - public void test_2105_1() { runTest("bp", "2105-1", TAD_ID_AP); } - public void test_2105_2() { runTest("bp", "2105-2", TAD_ID_AP); } - public void test_2117_1() { runTest("bp", "2117-1", TAD_ID_AP); } - public void test_2117_2() { runTest("bp", "2117-2", TAD_ID_AP); } - public void test_2117_3() { runTest("bp", "2117-3", TAD_ID_AP); } - public void test_2406_1() { runTest("bp", "2406-1", TAD_ID_AP); } - - // ap tests - public void test_2941_1() { runTest("ap", "2941-1", TAD_ID_AP); } - - // redundant tests -- assertions failures caught by base wsdl validator. - public void test_2010_1() { runTest("redundant", "2010-1", TAD_ID_AP); } - public void test_2011_1() { runTest("redundant", "2011-1", TAD_ID_AP); } - public void test_2011_2() { runTest("redundant", "2011-2", TAD_ID_AP); } - public void test_2011_3() { runTest("redundant", "2011-3", TAD_ID_AP); } - public void test_2011_4() { runTest("redundant", "2011-4", TAD_ID_AP); } - //public void test_2011_5() { runTest("redundant", "2011-5", TAD_ID_AP); } - public void test_2021_1() { runTest("redundant", "2021-1", TAD_ID_AP); } - public void test_2021_2() { runTest("redundant", "2021-2", TAD_ID_AP); } - public void test_2021_3() { runTest("redundant", "2021-3", TAD_ID_AP); } - public void test_2021_4() { runTest("redundant", "2021-4", TAD_ID_AP); } - public void test_2021_5() { runTest("redundant", "2021-5", TAD_ID_AP); } - public void test_2021_6() { runTest("redundant", "2021-6", TAD_ID_AP); } - public void test_2022_1() { runTest("redundant", "2022-1", TAD_ID_AP); } - public void test_2022_2() { runTest("redundant", "2022-2", TAD_ID_AP); } - public void test_2032_1() { runTest("redundant", "2032-1", TAD_ID_AP); } - public void test_2032_2() { runTest("redundant", "2032-2", TAD_ID_AP); } -}
\ No newline at end of file diff --git a/tests/org.eclipse.wst.wsi.tests/src/org/eclipse/wst/wsi/tests/internal/WSDLConformanceSSBPTest.java b/tests/org.eclipse.wst.wsi.tests/src/org/eclipse/wst/wsi/tests/internal/WSDLConformanceSSBPTest.java deleted file mode 100644 index c20d540cf..000000000 --- a/tests/org.eclipse.wst.wsi.tests/src/org/eclipse/wst/wsi/tests/internal/WSDLConformanceSSBPTest.java +++ /dev/null @@ -1,73 +0,0 @@ -/* Copyright (c) 2001, 2004 IBM Corporation and others. -* All rights reserved. This program and the accompanying materials -* are made available under the terms of the Eclipse Public License v1.0 -* which accompanies this distribution, and is available at -* http://www.eclipse.org/legal/epl-v10.html -* -* Contributors: -* IBM Corporation - initial API and implementation -*******************************************************************************/ -package org.eclipse.wst.wsi.tests.internal; -/** - * JUnit tests that test wsdl documents against - * the WS-I Simple Soap Binding profile. - * - * @author lauzond - */ -public class WSDLConformanceSSBPTest extends CoreWSDLConformanceTest -{ - public WSDLConformanceSSBPTest(String name) - { - super(name); - } - // ws-i wsdls - public void test_addressBook() { runTest("wsi", "addressBook", TAD_ID_SSBP); } - public void test_addressBook_rpc() { runTest("wsi", "addressBook-rpc", TAD_ID_SSBP); } - //public void test_sampleAppCatalog() { runTest("wsi", "sampleAppCatalog", TAD_ID_SSBP); } - public void test_sampleAppManufacturer() { runTest("wsi", "sampleAppManufacturer", TAD_ID_SSBP); } - public void test_sampleAppWarehouse() { runTest("wsi", "sampleAppWarehouse", TAD_ID_SSBP); } - - // bp tests - public void test_2012_1() { runTest("bp", "2012-1", TAD_ID_SSBP); } - public void test_2013_1() { runTest("bp", "2013-1", TAD_ID_SSBP); } - public void test_2014_1() { runTest("bp", "2014-1", TAD_ID_SSBP); } - public void test_2014_2() { runTest("bp", "2014-2", TAD_ID_SSBP); } - public void test_2014_3() { runTest("bp", "2014-3", TAD_ID_SSBP); } - public void test_2017_1() { runTest("bp", "2017-1", TAD_ID_SSBP); } - public void test_2017_2() { runTest("bp", "2017-2", TAD_ID_SSBP); } - public void test_2018_1() { runTest("bp", "2018-1", TAD_ID_SSBP); } - public void test_2018_2() { runTest("bp", "2018-2", TAD_ID_SSBP); } - public void test_2018_3() { runTest("bp", "2018-3", TAD_ID_SSBP); } - public void test_2018_4() { runTest("bp", "2018-4", TAD_ID_SSBP); } - public void test_2019_1() { runTest("bp", "2019-1", TAD_ID_SSBP); } - public void test_2019_2() { runTest("bp", "2019-2", TAD_ID_SSBP); } - public void test_2019_3() { runTest("bp", "2019-3", TAD_ID_SSBP); } - public void test_2019_4() { runTest("bp", "2019-4", TAD_ID_SSBP); } - public void test_2020_1() { runTest("bp", "2020-1", TAD_ID_SSBP); } - public void test_2020_2() { runTest("bp", "2020-2", TAD_ID_SSBP); } - public void test_2105_1() { runTest("bp", "2105-1", TAD_ID_SSBP); } - public void test_2105_2() { runTest("bp", "2105-2", TAD_ID_SSBP); } - public void test_2117_1() { runTest("bp", "2117-1", TAD_ID_SSBP); } - public void test_2117_2() { runTest("bp", "2117-2", TAD_ID_SSBP); } - public void test_2117_3() { runTest("bp", "2117-3", TAD_ID_SSBP); } - public void test_2406_1() { runTest("bp", "2406-1", TAD_ID_SSBP); } - - // redundant tests -- assertions failures caught by base wsdl validator. - public void test_2010_1() { runTest("redundant", "2010-1", TAD_ID_SSBP); } - public void test_2011_1() { runTest("redundant", "2011-1", TAD_ID_SSBP); } - public void test_2011_2() { runTest("redundant", "2011-2", TAD_ID_SSBP); } - public void test_2011_3() { runTest("redundant", "2011-3", TAD_ID_SSBP); } - public void test_2011_4() { runTest("redundant", "2011-4", TAD_ID_SSBP); } - //public void test_2011_5() { runTest("redundant", "2011-5", TAD_ID_SSBP); } - public void test_2021_1() { runTest("redundant", "2021-1", TAD_ID_SSBP); } - public void test_2021_2() { runTest("redundant", "2021-2", TAD_ID_SSBP); } - public void test_2021_3() { runTest("redundant", "2021-3", TAD_ID_SSBP); } - public void test_2021_4() { runTest("redundant", "2021-4", TAD_ID_SSBP); } - public void test_2021_5() { runTest("redundant", "2021-5", TAD_ID_SSBP); } - public void test_2021_6() { runTest("redundant", "2021-6", TAD_ID_SSBP); } - public void test_2022_1() { runTest("redundant", "2022-1", TAD_ID_SSBP); } - public void test_2022_2() { runTest("redundant", "2022-2", TAD_ID_SSBP); } - public void test_2032_1() { runTest("redundant", "2032-1", TAD_ID_SSBP); } - public void test_2032_2() { runTest("redundant", "2032-2", TAD_ID_SSBP); } - -}
\ No newline at end of file diff --git a/tests/org.eclipse.wst.wsi.tests/src/org/eclipse/wst/wsi/tests/internal/WSITestsPlugin.java b/tests/org.eclipse.wst.wsi.tests/src/org/eclipse/wst/wsi/tests/internal/WSITestsPlugin.java deleted file mode 100644 index b0b975c03..000000000 --- a/tests/org.eclipse.wst.wsi.tests/src/org/eclipse/wst/wsi/tests/internal/WSITestsPlugin.java +++ /dev/null @@ -1,78 +0,0 @@ -/* Copyright (c) 2001, 2004 IBM Corporation and others. -* All rights reserved. This program and the accompanying materials -* are made available under the terms of the Eclipse Public License v1.0 -* which accompanies this distribution, and is available at -* http://www.eclipse.org/legal/epl-v10.html -* -* Contributors: -* IBM Corporation - initial API and implementation -*******************************************************************************/ -package org.eclipse.wst.wsi.tests.internal; - -import java.io.IOException; - -import org.eclipse.core.runtime.Platform; -import org.eclipse.core.runtime.Plugin; -import org.osgi.framework.Bundle; -import org.osgi.framework.BundleContext; - -/** -* The main plugin class to be used in the desktop. -*/ -public class WSITestsPlugin extends Plugin -{ - //The shared instance. - private static WSITestsPlugin plugin; - private static Bundle pluginBundle = null; - - /** - * The constructor. - */ - public WSITestsPlugin() - { - super(); - plugin = this; - } - - /** - * This method is called upon plug-in activation - */ - public void start(BundleContext context) throws Exception - { - super.start(context); - pluginBundle = context.getBundle(); - } - - /** - * This method is called when the plug-in is stopped - */ - public void stop(BundleContext context) throws Exception - { - super.stop(context); - } - - /** - * Returns the shared instance. - */ - public static WSITestsPlugin getDefault() - { - return plugin; - } - - /** - * Get the install URL of this plugin. - * - * @return the install url of this plugin - */ - public static String getInstallURL() - { - try - { - return Platform.resolve(pluginBundle.getEntry("/")).getFile(); - } - catch (IOException e) - { - return null; - } - } -} diff --git a/tests/org.eclipse.wst.wsi.tests/test.xml b/tests/org.eclipse.wst.wsi.tests/test.xml deleted file mode 100644 index 5be8ad94c..000000000 --- a/tests/org.eclipse.wst.wsi.tests/test.xml +++ /dev/null @@ -1,53 +0,0 @@ -<?xml version="1.0"?> - -<project name="testsuite" default="run" basedir="."> - <!-- The property ${eclipse-home} should be passed into this script --> - <!-- Set a meaningful default value for when it is not. --> - <!-- <property name="eclipse-home" value="${basedir}\..\.." /> --> - - <echo message="basedir ${basedir}" /> - <echo message="eclipse place ${eclipse-home}" /> - - <!-- sets the properties plugin-name, and library-file --> - <property name="plugin-name" value="org.eclipse.wst.wsi.tests" /> - <property name="library-file" value="${eclipse-home}/plugins/org.eclipse.test_3.1.0/library.xml" /> - - <!-- This target holds all initialization code that needs to be done for --> - <!-- all tests that are to be run. Initialization for individual tests --> - <!-- should be done within the body of the suite target. --> - <target name="init"> - <tstamp/> - <delete> - <fileset dir="${eclipse-home}" includes="org.eclipse.wst.wsi.tests.*xml" /> - </delete> - </target> - - <!-- This target defines the tests that need to be run. --> - <target name="suite"> - <property name="wst-folder" value="${eclipse-home}/wst_folder"/> - <delete dir="${wst-folder}" quiet="true"/> - <ant target="core-test" antfile="${library-file}" dir="${eclipse-home}"> - <property name="data-dir" value="${wst-folder}"/> - <property name="plugin-name" value="${plugin-name}"/> - <property name="classname" value="org.eclipse.wst.wsi.tests.internal.RegressionBucket" /> - <property name="plugin-path" value="${eclipse-home}/plugins/${plugin-name}"/> - </ant> - </target> - - <!-- This target holds code to cleanup the testing environment after --> - <!-- after all of the tests have been run. You can use this target to --> - <!-- delete temporary files that have been created. --> - <target name="cleanup"> - <!--<delete dir="${workspace}" quiet="true" />--> - </target> - - <!-- This target runs the test suite. Any actions that need to happen --> - <!-- after all the tests have been run should go here. --> - <target name="run" depends="init,suite,cleanup"> - <ant target="collect" antfile="${library-file}" dir="${eclipse-home}"> - <property name="includes" value="org.eclipse.wst.wsi.tests.*xml" /> - <property name="output-file" value="${plugin-name}.xml" /> - </ant> - </target> - -</project>
\ No newline at end of file diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/messageLogs/bp/1309-1/1309-1.wsimsg b/tests/org.eclipse.wst.wsi.tests/testResources/samples/messageLogs/bp/1309-1/1309-1.wsimsg deleted file mode 100644 index 7593603c1..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/messageLogs/bp/1309-1/1309-1.wsimsg +++ /dev/null @@ -1,53 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<log timestamp="2006-04-13T18:52:32.488" - xmlns="http://www.ws-i.org/testing/2004/07/log/" - xmlns:wsi-monConfig="http://www.ws-i.org/testing/2004/07/monitorConfig/" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - <monitor version="1.0" releaseDate="2003-03-20"> - <implementer name="IBM" location=""/> - <environment> - <runtime name="Java(TM) 2 Runtime Environment, Standard Edition" version="1.4.2"/> - <operatingSystem name="Linux" version="2.6.15.1"/> - <xmlParser name="Apache Xerces" version="XML4J 4.3.6"/> - </environment> - <wsi-monConfig:configuration> - <wsi-monConfig:comment>Comment</wsi-monConfig:comment> - <wsi-monConfig:logFile replace="true" location="URL"> - <wsi-monConfig:addStyleSheet href="null" type="null" /> - </wsi-monConfig:logFile> - <wsi-monConfig:logDuration>600</wsi-monConfig:logDuration> - <wsi-monConfig:cleanupTimeoutSeconds>3</wsi-monConfig:cleanupTimeoutSeconds> - <wsi-monConfig:manInTheMiddle> - </wsi-monConfig:manInTheMiddle> - </wsi-monConfig:configuration> - </monitor> - -<messageEntry xsi:type="httpMessageEntry" ID="1" conversationID="1" type="request" timestamp="2006-04-13T18:51:30.193Z"> -<messageContent><?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body><celsiusToFarenheit xmlns="http://wtp"><celsius>37.0</celsius></celsiusToFarenheit></soapenv:Body></soapenv:Envelope></messageContent> -<senderHostAndPort>localhost:8185</senderHostAndPort> -<receiverHostAndPort>localhost:8080</receiverHostAndPort> -<httpHeaders>POST /ConverterProj/services/Converter HTTP/1.0
 -Content-Type: text/xml; charset=utf-8
 -Accept: application/soap+xml, application/dime, multipart/related, text/*
 -User-Agent: Axis/1.2.1
 -Host: localhost:8080
 -Cache-Control: no-cache
 -Pragma: no-cache
 -SOAPAction: ""
 -Content-Length: 344
 -
 -</httpHeaders> -</messageEntry> -<messageEntry xsi:type="httpMessageEntry" ID="2" conversationID="1" type="response" timestamp="2006-04-13T18:51:30.960Z"> -<messageContent><?xml version="1.0" encoding="utf-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body><celsiusToFarenheitResponse xmlns="http://wtp"><celsiusToFarenheitReturn>98.6</celsiusToFarenheitReturn></celsiusToFarenheitResponse></soapenv:Body></soapenv:Envelope></messageContent> -<senderHostAndPort>localhost:8080</senderHostAndPort> -<receiverHostAndPort>localhost:8185</receiverHostAndPort> -<httpHeaders>HTTP/1.1 200 OK
 -Content-Type: text/xml;charset=utf-8
 -Date: Thu, 13 Apr 2006 18:51:30 GMT
 -Server: Apache-Coyote/1.1
 -Connection: close
 -
 -</httpHeaders> -</messageEntry> -</log> diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/messageLogs/bp/1309-1/testcase.xml b/tests/org.eclipse.wst.wsi.tests/testResources/samples/messageLogs/bp/1309-1/testcase.xml deleted file mode 100644 index aef615ac5..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/messageLogs/bp/1309-1/testcase.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<testcase name="1309-1"> - <description> - This is an example of a message log file that is conformant to requirement - 1011. - </description> - <expectedFailures/> -</testcase> diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/messageLogs/bp/1309-2/1309-2.wsimsg b/tests/org.eclipse.wst.wsi.tests/testResources/samples/messageLogs/bp/1309-2/1309-2.wsimsg deleted file mode 100644 index cf820bed1..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/messageLogs/bp/1309-2/1309-2.wsimsg +++ /dev/null @@ -1,53 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<log timestamp="2006-04-13T18:52:32.488" - xmlns="http://www.ws-i.org/testing/2004/07/log/" - xmlns:wsi-monConfig="http://www.ws-i.org/testing/2004/07/monitorConfig/" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - <monitor version="1.0" releaseDate="2003-03-20"> - <implementer name="IBM" location=""/> - <environment> - <runtime name="Java(TM) 2 Runtime Environment, Standard Edition" version="1.4.2"/> - <operatingSystem name="Linux" version="2.6.15.1"/> - <xmlParser name="Apache Xerces" version="XML4J 4.3.6"/> - </environment> - <wsi-monConfig:configuration> - <wsi-monConfig:comment>Comment</wsi-monConfig:comment> - <wsi-monConfig:logFile replace="true" location="URL"> - <wsi-monConfig:addStyleSheet href="null" type="null" /> - </wsi-monConfig:logFile> - <wsi-monConfig:logDuration>600</wsi-monConfig:logDuration> - <wsi-monConfig:cleanupTimeoutSeconds>3</wsi-monConfig:cleanupTimeoutSeconds> - <wsi-monConfig:manInTheMiddle> - </wsi-monConfig:manInTheMiddle> - </wsi-monConfig:configuration> - </monitor> - -<messageEntry xsi:type="httpMessageEntry" ID="1" conversationID="1" type="request" timestamp="2006-04-13T18:51:30.193Z"> -<messageContent><?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body><celsiusToFarenheit xmlns="http://wtp"><celsius>37.0</celsius></celsiusToFarenheit></soapenv:Body><soapenv:badChild/></soapenv:Envelope></messageContent> -<senderHostAndPort>localhost:8185</senderHostAndPort> -<receiverHostAndPort>localhost:8080</receiverHostAndPort> -<httpHeaders>POST /ConverterProj/services/Converter HTTP/1.0
 -Content-Type: text/xml; charset=utf-8
 -Accept: application/soap+xml, application/dime, multipart/related, text/*
 -User-Agent: Axis/1.2.1
 -Host: localhost:8080
 -Cache-Control: no-cache
 -Pragma: no-cache
 -SOAPAction: ""
 -Content-Length: 344
 -
 -</httpHeaders> -</messageEntry> -<messageEntry xsi:type="httpMessageEntry" ID="2" conversationID="1" type="response" timestamp="2006-04-13T18:51:30.960Z"> -<messageContent><?xml version="1.0" encoding="utf-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body><celsiusToFarenheitResponse xmlns="http://wtp"><celsiusToFarenheitReturn>98.6</celsiusToFarenheitReturn></celsiusToFarenheitResponse></soapenv:Body></soapenv:Envelope></messageContent> -<senderHostAndPort>localhost:8080</senderHostAndPort> -<receiverHostAndPort>localhost:8185</receiverHostAndPort> -<httpHeaders>HTTP/1.1 200 OK
 -Content-Type: text/xml;charset=utf-8
 -Date: Thu, 13 Apr 2006 18:51:30 GMT
 -Server: Apache-Coyote/1.1
 -Connection: close
 -
 -</httpHeaders> -</messageEntry> -</log> diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/messageLogs/bp/1309-2/testcase.xml b/tests/org.eclipse.wst.wsi.tests/testResources/samples/messageLogs/bp/1309-2/testcase.xml deleted file mode 100644 index 82f9c7770..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/messageLogs/bp/1309-2/testcase.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<testcase name="1309-2"> - <description> - This is an example of a message log file with children following the - soap:Body element, thus breaking requirement 1011. - </description> - <expectedFailures> - <assertion id="BP1309" tadID="SSBP10"/> - <assertion id="BP1309" tadID="AP10"/> - </expectedFailures> -</testcase> diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/messageLogs/bp/1600-1/1600-1.wsimsg b/tests/org.eclipse.wst.wsi.tests/testResources/samples/messageLogs/bp/1600-1/1600-1.wsimsg deleted file mode 100644 index 07af68d0d..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/messageLogs/bp/1600-1/1600-1.wsimsg +++ /dev/null @@ -1,53 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<log timestamp="2006-04-13T18:52:32.488" - xmlns="http://www.ws-i.org/testing/2004/07/log/" - xmlns:wsi-monConfig="http://www.ws-i.org/testing/2004/07/monitorConfig/" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - <monitor version="1.0" releaseDate="2003-03-20"> - <implementer name="IBM" location=""/> - <environment> - <runtime name="Java(TM) 2 Runtime Environment, Standard Edition" version="1.4.2"/> - <operatingSystem name="Linux" version="2.6.15.1"/> - <xmlParser name="Apache Xerces" version="XML4J 4.3.6"/> - </environment> - <wsi-monConfig:configuration> - <wsi-monConfig:comment>Comment</wsi-monConfig:comment> - <wsi-monConfig:logFile replace="true" location="URL"> - <wsi-monConfig:addStyleSheet href="null" type="null" /> - </wsi-monConfig:logFile> - <wsi-monConfig:logDuration>600</wsi-monConfig:logDuration> - <wsi-monConfig:cleanupTimeoutSeconds>3</wsi-monConfig:cleanupTimeoutSeconds> - <wsi-monConfig:manInTheMiddle> - </wsi-monConfig:manInTheMiddle> - </wsi-monConfig:configuration> - </monitor> - -<messageEntry xsi:type="httpMessageEntry" ID="1" conversationID="1" type="request" timestamp="2006-04-13T18:51:30.193Z"> -<messageContent><?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Header xmlns:test="http://wtp/test1600-1"><test:testElement/></soapenv:Header><soapenv:Body><celsiusToFarenheit xmlns="http://wtp"><celsius>37.0</celsius></celsiusToFarenheit></soapenv:Body></soapenv:Envelope></messageContent> -<senderHostAndPort>localhost:8185</senderHostAndPort> -<receiverHostAndPort>localhost:8080</receiverHostAndPort> -<httpHeaders>POST /ConverterProj/services/Converter HTTP/1.0
 -Content-Type: text/xml; charset=utf-8
 -Accept: application/soap+xml, application/dime, multipart/related, text/*
 -User-Agent: Axis/1.2.1
 -Host: localhost:8080
 -Cache-Control: no-cache
 -Pragma: no-cache
 -SOAPAction: ""
 -Content-Length: 344
 -
 -</httpHeaders> -</messageEntry> -<messageEntry xsi:type="httpMessageEntry" ID="2" conversationID="1" type="response" timestamp="2006-04-13T18:51:30.960Z"> -<messageContent><?xml version="1.0" encoding="utf-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body><celsiusToFarenheitResponse xmlns="http://wtp"><celsiusToFarenheitReturn>98.6</celsiusToFarenheitReturn></celsiusToFarenheitResponse></soapenv:Body></soapenv:Envelope></messageContent> -<senderHostAndPort>localhost:8080</senderHostAndPort> -<receiverHostAndPort>localhost:8185</receiverHostAndPort> -<httpHeaders>HTTP/1.1 200 OK
 -Content-Type: text/xml;charset=utf-8
 -Date: Thu, 13 Apr 2006 18:51:30 GMT
 -Server: Apache-Coyote/1.1
 -Connection: close
 -
 -</httpHeaders> -</messageEntry> -</log> diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/messageLogs/bp/1600-1/testcase.xml b/tests/org.eclipse.wst.wsi.tests/testResources/samples/messageLogs/bp/1600-1/testcase.xml deleted file mode 100644 index 5536d80f0..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/messageLogs/bp/1600-1/testcase.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<testcase name="1600-1"> - <description> - This is an example of a message log file that contains a message with a - header entry whose namespace is defined in the soap:header element. This - is confirmant to requirement 9980 in the Basic Profile but is currently - flagged as a conformance error. - </description> - <expectedFailures/> -</testcase> diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/messageLogs/bugzilla/141966/141966.wsimsg b/tests/org.eclipse.wst.wsi.tests/testResources/samples/messageLogs/bugzilla/141966/141966.wsimsg deleted file mode 100644 index 4245fa868..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/messageLogs/bugzilla/141966/141966.wsimsg +++ /dev/null @@ -1,41 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<log timestamp="2006-04-13T18:52:32.488" - xmlns="http://www.ws-i.org/testing/2004/07/log/" - xmlns:wsi-monConfig="http://www.ws-i.org/testing/2004/07/monitorConfig/" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - <monitor version="1.0" releaseDate="2003-03-20"> - <implementer name="IBM" location=""/> - <environment> - <runtime name="Java(TM) 2 Runtime Environment, Standard Edition" version="1.4.2"/> - <operatingSystem name="Linux" version="2.6.15.1"/> - <xmlParser name="Apache Xerces" version="XML4J 4.3.6"/> - </environment> - <wsi-monConfig:configuration> - <wsi-monConfig:comment>Comment</wsi-monConfig:comment> - <wsi-monConfig:logFile replace="true" location="URL"> - <wsi-monConfig:addStyleSheet href="null" type="null" /> - </wsi-monConfig:logFile> - <wsi-monConfig:logDuration>600</wsi-monConfig:logDuration> - <wsi-monConfig:cleanupTimeoutSeconds>3</wsi-monConfig:cleanupTimeoutSeconds> - <wsi-monConfig:manInTheMiddle> - </wsi-monConfig:manInTheMiddle> - </wsi-monConfig:configuration> - </monitor> - -<messageEntry xsi:type="httpMessageEntry" ID="1" conversationID="1" type="request" timestamp="2006-04-13T18:51:30.193Z"> -<messageContent><?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body><celsiusToFarenheit xmlns="http://wtp"><celsius>37.0</celsius></celsiusToFarenheit></soapenv:Body><soapenv:badChild/></soapenv:Envelope></messageContent> -<senderHostAndPort>localhost:8185</senderHostAndPort> -<receiverHostAndPort>localhost:8080</receiverHostAndPort> -<httpHeaders>POST /ConverterProj/services/Converter HTTP/1.1
 -Content-Type: text/xml; charset=utf-8
 -Accept: application/soap+xml, application/dime, multipart/related, text/*
 -User-Agent: Axis/1.2.1
 -Host: localhost:8080
 -Cache-Control: no-cache
 -Pragma: no-cache
 -SOAPAction: ""
 -Content-Length: 344
 -
 -</httpHeaders> -</messageEntry> -</log> diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/messageLogs/bugzilla/141966/testcase.xml b/tests/org.eclipse.wst.wsi.tests/testResources/samples/messageLogs/bugzilla/141966/testcase.xml deleted file mode 100644 index 65281b0fc..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/messageLogs/bugzilla/141966/testcase.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<testcase name="141966"> - <description> - This is an example of a message log file that contains only a request and - breaks requirement 1011. - </description> - <expectedFailures> - <assertion id="BP1309" tadID="SSBP10"/> - <assertion id="BP1309" tadID="AP10"/> - </expectedFailures> -</testcase> diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/ap/2941-1/2941-1.wsdl b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/ap/2941-1/2941-1.wsdl deleted file mode 100644 index eb4e00f6f..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/ap/2941-1/2941-1.wsdl +++ /dev/null @@ -1,111 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<wsdl:definitions targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:intf="http://tempuri.org/" xmlns:impl="http://tempuri.org/" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns="http://schemas.xmlsoap.org/wsdl/"> - <wsdl:types> - <schema elementFormDefault="qualified" targetNamespace="http://tempuri.org/" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:intf="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"> - <element name="findAddress"> - <complexType> - <sequence> - <element name="name" nillable="true" type="xsd:string"/> - </sequence> - </complexType> - </element> - <complexType name="Address"> - <sequence> - <element name="province" nillable="true" type="xsd:string"/> - <element name="city" nillable="true" type="xsd:string"/> - <element name="street" nillable="true" type="xsd:string"/> - <element name="postalCode" nillable="true" type="xsd:string"/> - <element name="phoneNumber" nillable="true" type="impl:PhoneNumber"/> - </sequence> - </complexType> - <complexType name="PhoneNumber"> - <sequence> - <element name="area" type="xsd:int"/> - <element name="prefix" type="xsd:int"/> - <element name="number" type="xsd:int"/> - </sequence> - </complexType> - <element name="findAddressResponse"> - <complexType> - <sequence> - <element name="findAddressReturn" nillable="true" type="impl:Address"/> - </sequence> - </complexType> - </element> - <complexType name="saveAddress"> - <sequence> - <element name="name" nillable="true" type="xsd:string"/> - <element name="address" nillable="true" type="impl:Address"/> - </sequence> - </complexType> - <complexType name="saveAddressResponse"> - <sequence/> - </complexType> - <complexType name="AddressHeaderType"> - <all> - <element name="a" type="int"/> - <element name="b" type="boolean"/> - <element name="s" nillable="true" type="string"/> - </all> - </complexType> - <element name="AddressHeader" nillable="true" type="impl:AddressHeaderType"/> - <element name="fault" type="string"/> - </schema> - </wsdl:types> - <wsdl:message name="saveAddressRequest"> - <wsdl:part name="parameters" element="intf:saveAddress"/> - </wsdl:message> - <wsdl:message name="findAddressRequest"> - <wsdl:part name="parameters" element="intf:findAddress"/> - <wsdl:part name="AddressHeader" element="intf:AddressHeader"/> - </wsdl:message> - <wsdl:message name="findAddressResponse"> - <wsdl:part name="parameters" element="intf:findAddressResponse"/> - </wsdl:message> - <wsdl:message name="saveAddressResponse"> - <wsdl:part name="parameters" element="intf:saveAddressResponse"/> - </wsdl:message> - <wsdl:message name="faultMessage"> - <wsdl:part name="fault" element="intf:fault"/> - </wsdl:message> - <wsdl:portType name="AddressBook"> - <wsdl:operation name="findAddress"> - <wsdl:input name="findAddressRequest" message="intf:findAddressRequest"/> - <wsdl:output name="findAddressResponse" message="intf:findAddressResponse"/> - <wsdl:fault name="fault" message="intf:faultMessage"/> - </wsdl:operation> - <wsdl:operation name="saveAddress"> - <wsdl:input name="saveAddressRequest" message="intf:saveAddressRequest"/> - <wsdl:output name="saveAddressResponse" message="intf:saveAddressResponse"/> - </wsdl:operation> - </wsdl:portType> - <wsdl:binding name="AddressBookSoapBinding" type="intf:AddressBook"> - <wsdlsoap:binding transport="http://schemas.xmlsoap.org/soap/http"/> - <wsdl:operation name="findAddress"> - <wsdlsoap:operation style="document" soapAction=""/> - <wsdl:input name="findAddressRequest"> - <wsdlsoap:header message="intf:findAddressRequest" part="AddressHeader" use="literal"> - <wsdlsoap:headerfault message="intf:fault" part="fault" use="literal"/> - </wsdlsoap:header> - <wsdlsoap:body parts="parameters" use="literal"/> - </wsdl:input> - <wsdl:output name="findAddressResponse"> - <wsdlsoap:body use="literal"/> - </wsdl:output> - </wsdl:operation> - <wsdl:operation name="saveAddress"> - <wsdlsoap:operation style="document" soapAction=""/> - <wsdl:input name="saveAddressRequest"> - <wsdlsoap:body use="literal"/> - </wsdl:input> - <wsdl:output name="saveAddressResponse"> - <wsdlsoap:body use="literal"/> - </wsdl:output> - </wsdl:operation> - </wsdl:binding> - <wsdl:service name="AddressBookService"> - <wsdl:port name="AddressBook" binding="intf:AddressBookSoapBinding"> - <wsdlsoap:address location="http://tempuri.org/AddressBook"/> - </wsdl:port> - </wsdl:service> -</wsdl:definitions> diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/ap/2941-1/testcase.xml b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/ap/2941-1/testcase.xml deleted file mode 100644 index 248394342..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/ap/2941-1/testcase.xml +++ /dev/null @@ -1,7 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<testcase name="2941-1"> - <description> - This is an example of a conformant wsdl with a soap:headerfault element that - should pass test assertion BP2941. - </description> -</testcase> diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2012-1/2012-1.wsdl b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2012-1/2012-1.wsdl deleted file mode 100644 index 0db92bfa3..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2012-1/2012-1.wsdl +++ /dev/null @@ -1,82 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<wsdl:definitions name="Name" targetNamespace="http://tempuri.org/" xmlns:tns="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"> - <wsdl:types> - <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://tempuri.org/"> - <xsd:element name="Report"> - <xsd:complexType> - <xsd:sequence> - <xsd:element ref="tns:Name" /> - <xsd:element ref="tns:Specimen" /> - <xsd:element ref="tns:Lot" /> - </xsd:sequence> - </xsd:complexType> - </xsd:element> - <xsd:element name="SampleList"> - <xsd:complexType> - <xsd:sequence> - <xsd:element maxOccurs="unbounded" minOccurs="1" ref="tns:Report" /> - </xsd:sequence> - </xsd:complexType> - </xsd:element> - <xsd:element name="Count" type="xsd:string" /> - <xsd:element name="LastModified" type="xsd:string" /> - <xsd:element name="Lot" type="xsd:string" /> - <xsd:element name="Name" type="xsd:string" /> - <xsd:element name="Number" type="xsd:string" /> - <xsd:element name="Specimen" type="xsd:string" /> - <xsd:element name="Sample"> - <xsd:complexType> - <xsd:sequence> - <xsd:element ref="tns:SampleName" /> - <xsd:element ref="tns:Count" /> - <xsd:element ref="tns:LastModified" /> - <xsd:element maxOccurs="unbounded" minOccurs="0" ref="tns:SampleProvider" /> - </xsd:sequence> - <xsd:attribute name="id" type="xsd:string" use="optional" /> - </xsd:complexType> - </xsd:element> - <xsd:element name="SampleName" type="xsd:string" /> - <xsd:element name="SampleProvider"> - <xsd:complexType> - <xsd:sequence> - <xsd:element ref="tns:Name" /> - <xsd:element ref="tns:Number" /> - <xsd:element ref="tns:SampleList" /> - </xsd:sequence> - <xsd:attribute name="id" type="xsd:string" use="optional" /> - </xsd:complexType> - </xsd:element> - - - </xsd:schema> - </wsdl:types> - <wsdl:message name="getSampleRequest"> - <wsdl:part name="sampleId" type="xsd:string"></wsdl:part> - </wsdl:message> - <wsdl:message name="getSampleResponse"> - <wsdl:part name="report" element="tns:Sample"></wsdl:part> - </wsdl:message> - <wsdl:portType name="SamplePortType"> - <wsdl:operation name="getSample"> - <wsdl:input message="tns:getSampleRequest"></wsdl:input> - <wsdl:output message="tns:getSampleResponse"></wsdl:output> - </wsdl:operation> - </wsdl:portType> - <wsdl:binding name="SampleBinding" type="tns:SamplePortType"> - <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" /> - <wsdl:operation name="getSample"> - <soap:operation soapAction="http://tempuri.org/getSample" /> - <wsdl:input> - <soap:body use="literal" /> - </wsdl:input> - <wsdl:output> - <soap:body use="literal" /> - </wsdl:output> - </wsdl:operation> - </wsdl:binding> - <wsdl:service name="SampleService"> - <wsdl:port name="SamplePort" binding="tns:SampleBinding"> - <soap:address location="http://tempuri.org/" /> - </wsdl:port> - </wsdl:service> -</wsdl:definitions>
\ No newline at end of file diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2012-1/testcase.xml b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2012-1/testcase.xml deleted file mode 100644 index 119b7b08a..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2012-1/testcase.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<testcase name="2012-1"> - <description> - This is an example of a non-conformant wsdl that fails test assertion BP2012. - </description> - <expectedFailures> - <assertion id="BP2012" tadID="SSBP10"/> - <assertion id="BP2012" tadID="AP10"/> - </expectedFailures> -</testcase>
\ No newline at end of file diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2012-2/2012-2.wsdl b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2012-2/2012-2.wsdl deleted file mode 100644 index 916108068..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2012-2/2012-2.wsdl +++ /dev/null @@ -1,109 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<wsdl:definitions targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:intf="http://tempuri.org/" xmlns:impl="http://tempuri.org/" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns="http://schemas.xmlsoap.org/wsdl/"> - <wsdl:types> - <schema elementFormDefault="qualified" targetNamespace="http://tempuri.org/" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:intf="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"> - <element name="findAddress"> - <complexType> - <sequence> - <element name="name" nillable="true" type="xsd:string"/> - </sequence> - </complexType> - </element> - <complexType name="Address"> - <sequence> - <element name="province" nillable="true" type="xsd:string"/> - <element name="city" nillable="true" type="xsd:string"/> - <element name="street" nillable="true" type="xsd:string"/> - <element name="postalCode" nillable="true" type="xsd:string"/> - <element name="phoneNumber" nillable="true" type="impl:PhoneNumber"/> - </sequence> - </complexType> - <complexType name="PhoneNumber"> - <sequence> - <element name="area" type="xsd:int"/> - <element name="prefix" type="xsd:int"/> - <element name="number" type="xsd:int"/> - </sequence> - </complexType> - <element name="findAddressResponse"> - <complexType> - <sequence> - <element name="findAddressReturn" nillable="true" type="impl:Address"/> - </sequence> - </complexType> - </element> - <element name="saveAddress"> - <complexType> - <sequence> - <element name="name" nillable="true" type="xsd:string"/> - <element name="address" nillable="true" type="impl:Address"/> - </sequence> - </complexType> - </element> - <element name="saveAddressResponse"> - <complexType> - <sequence/> - </complexType> - </element> - <complexType name="AddressHeaderType"> - <all> - <element name="a" type="int"/> - <element name="b" type="boolean"/> - <element name="s" nillable="true" type="string"/> - </all> - </complexType> - <element name="AddressHeader" nillable="true" type="impl:AddressHeaderType"/> - </schema> - </wsdl:types> - <wsdl:message name="saveAddressRequest"> - <wsdl:part name="parameters" element="intf:saveAddress"/> - </wsdl:message> - <wsdl:message name="findAddressRequest"> - <wsdl:part name="parameters" type="intf:PhoneNumber"/> - <wsdl:part name="AddressHeader" element="intf:AddressHeader"/> - </wsdl:message> - <wsdl:message name="findAddressResponse"> - <wsdl:part name="parameters" element="intf:findAddressResponse"/> - </wsdl:message> - <wsdl:message name="saveAddressResponse"> - <wsdl:part name="parameters" element="intf:saveAddressResponse"/> - </wsdl:message> - <wsdl:portType name="AddressBook"> - <wsdl:operation name="findAddress"> - <wsdl:input name="findAddressRequest" message="intf:findAddressRequest"/> - <wsdl:output name="findAddressResponse" message="intf:findAddressResponse"/> - </wsdl:operation> - <wsdl:operation name="saveAddress"> - <wsdl:input name="saveAddressRequest" message="intf:saveAddressRequest"/> - <wsdl:output name="saveAddressResponse" message="intf:saveAddressResponse"/> - </wsdl:operation> - </wsdl:portType> - <wsdl:binding name="AddressBookSoapBinding" type="intf:AddressBook"> - <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/> - <wsdl:operation name="findAddress"> - <wsdlsoap:operation soapAction=""/> - <wsdl:input name="findAddressRequest"> - <wsdlsoap:header message="intf:findAddressRequest" part="AddressHeader" use="literal"> - </wsdlsoap:header> - <wsdlsoap:body parts="parameters" use="literal"/> - </wsdl:input> - <wsdl:output name="findAddressResponse"> - <wsdlsoap:body use="literal"/> - </wsdl:output> - </wsdl:operation> - <wsdl:operation name="saveAddress"> - <wsdlsoap:operation soapAction=""/> - <wsdl:input name="saveAddressRequest"> - <wsdlsoap:body use="literal"/> - </wsdl:input> - <wsdl:output name="saveAddressResponse"> - <wsdlsoap:body use="literal"/> - </wsdl:output> - </wsdl:operation> - </wsdl:binding> - <wsdl:service name="AddressBookService"> - <wsdl:port name="AddressBook" binding="intf:AddressBookSoapBinding"> - <wsdlsoap:address location="http://tempuri.org/AddressBook"/> - </wsdl:port> - </wsdl:service> -</wsdl:definitions> diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2012-2/testcase.xml b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2012-2/testcase.xml deleted file mode 100644 index ee8ad5c0d..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2012-2/testcase.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<testcase name="2012-2"> - <description> - This is an example of a non-conformant wsdl that fails test assertion BP2012. - - </description> - <expectedFailures> - <assertion id="BP2012" tadID="SSBP10"/> - <assertion id="BP2012" tadID="AP10"/> - </expectedFailures> -</testcase>
\ No newline at end of file diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2013-1/2013-1.wsdl b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2013-1/2013-1.wsdl deleted file mode 100644 index a59124ef5..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2013-1/2013-1.wsdl +++ /dev/null @@ -1,99 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<wsdl:definitions targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:intf="http://tempuri.org/" xmlns:impl="http://tempuri.org/" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns="http://schemas.xmlsoap.org/wsdl/"> - <wsdl:types> - <schema elementFormDefault="qualified" targetNamespace="http://tempuri.org/" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:intf="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"> - - <complexType name="Address"> - <sequence> - <element name="province" nillable="true" type="xsd:string"/> - <element name="city" nillable="true" type="xsd:string"/> - <element name="street" nillable="true" type="xsd:string"/> - <element name="postalCode" nillable="true" type="xsd:string"/> - <element name="phoneNumber" nillable="true" type="impl:PhoneNumber"/> - </sequence> - </complexType> - <complexType name="PhoneNumber"> - <sequence> - <element name="area" type="xsd:int"/> - <element name="prefix" type="xsd:int"/> - <element name="number" type="xsd:int"/> - </sequence> - </complexType> - <complexType name="findAddressResponse"> - <sequence> - <element name="findAddressReturn" nillable="true" type="impl:Address"/> - </sequence> - </complexType> - <element name="saveAddress"> - <complexType> - <sequence> - <element name="name" nillable="true" type="xsd:string"/> - <element name="address" nillable="true" type="impl:Address"/> - </sequence> - </complexType> - </element> - <complexType name="saveAddressResponse"> - <sequence/> - </complexType> - <complexType name="AddressHeaderType"> - <all> - <element name="a" type="int"/> - <element name="b" type="boolean"/> - <element name="s" nillable="true" type="string"/> - </all> - </complexType> - <element name="AddressHeader" type="impl:AddressHeaderType"/> - </schema> - </wsdl:types> - <wsdl:message name="saveAddressRequest"> - <wsdl:part name="parameters" element="intf:saveAddress"/> - </wsdl:message> - <wsdl:message name="findAddressRequest"> - <wsdl:part name="parameters" type="xsd:string"/> - <wsdl:part name="AddressHeader" element="intf:AddressHeader"/> - </wsdl:message> - <wsdl:message name="findAddressResponse"> - <wsdl:part name="parameters" type="intf:findAddressResponse"/> - </wsdl:message> - <wsdl:message name="saveAddressResponse"> - <wsdl:part name="parameters" type="intf:saveAddressResponse"/> - </wsdl:message> - <wsdl:portType name="AddressBook"> - <wsdl:operation name="findAddress"> - <wsdl:input name="findAddressRequest" message="intf:findAddressRequest"/> - <wsdl:output name="findAddressResponse" message="intf:findAddressResponse"/> - </wsdl:operation> - <wsdl:operation name="saveAddress"> - <wsdl:input name="saveAddressRequest" message="intf:saveAddressRequest"/> - <wsdl:output name="saveAddressResponse" message="intf:saveAddressResponse"/> - </wsdl:operation> - </wsdl:portType> - <wsdl:binding name="AddressBookSoapBinding" type="intf:AddressBook"> - <wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/> - <wsdl:operation name="findAddress"> - <wsdlsoap:operation soapAction=""/> - <wsdl:input name="findAddressRequest"> - <wsdlsoap:header message="intf:findAddressRequest" part="AddressHeader" use="literal"> - </wsdlsoap:header> - <wsdlsoap:body parts="parameters" use="literal" namespace="http://tempuri.org/"/> - </wsdl:input> - <wsdl:output name="findAddressResponse"> - <wsdlsoap:body use="literal" namespace="http://tempuri.org/"/> - </wsdl:output> - </wsdl:operation> - <wsdl:operation name="saveAddress"> - <wsdlsoap:operation soapAction=""/> - <wsdl:input name="saveAddressRequest"> - <wsdlsoap:body use="literal" namespace="http://tempuri.org/"/> - </wsdl:input> - <wsdl:output name="saveAddressResponse"> - <wsdlsoap:body use="literal" namespace="http://tempuri.org/"/> - </wsdl:output> - </wsdl:operation> - </wsdl:binding> - <wsdl:service name="AddressBookService"> - <wsdl:port name="AddressBook" binding="intf:AddressBookSoapBinding"> - <wsdlsoap:address location="http://tempuri.org/AddressBook"/> - </wsdl:port> - </wsdl:service> -</wsdl:definitions> diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2013-1/testcase.xml b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2013-1/testcase.xml deleted file mode 100644 index 1c388d77a..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2013-1/testcase.xml +++ /dev/null @@ -1,13 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<testcase name="2013-1"> - <description> - This is an example of a conformant wsdl used in the WS-I - interoperability demo. - </description> - <expectedFailures> - <assertion id="BP2013" tadID="SSBP10"/> - <assertion id="BP2013" tadID="AP10"/> - <assertion id="BP2112" tadID="SSBP10"/> - <assertion id="BP2112" tadID="AP10"/> - </expectedFailures> -</testcase>
\ No newline at end of file diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2014-1/2014-1.wsdl b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2014-1/2014-1.wsdl deleted file mode 100644 index b6002580e..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2014-1/2014-1.wsdl +++ /dev/null @@ -1,42 +0,0 @@ -<definitions - xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" - xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" - xmlns:s="http://www.w3.org/2001/XMLSchema" - xmlns:s0="http://tempuri.org/" - xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" - xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" - xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" - targetNamespace="http://tempuri.org/" xmlns="http://schemas.xmlsoap.org/wsdl/"> - - <message name="echoStringIn"> - <part name="parameters" type="s:string"/> - </message> - <message name="echoStringOut"> - <part name="parameters" type="s:string" /> - <part name="parameters1" type="s:string"/> - <part name="parameters2" type="s:string"/> - </message> - <portType name="EchoPortType"> - <operation name="echoString" parameterOrder="parameters parameters1 parameters2"> - <input message="s0:echoStringIn" /> - <output message="s0:echoStringOut" /> - </operation> - </portType> - <binding name="EchoBinding" type="s0:EchoPortType"> - <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="rpc" /> - <operation name="echoString"> - <soap:operation soapAction="http://tempuri.org/echoString" style="rpc" /> - <input> - <soap:body use="literal" namespace="htp://org.org"/> - </input> - <output> - <soap:body use="literal" namespace="htp://org.org" /> - </output> - </operation> - </binding> - <service name="EchoService"> - <port name="EchoPort" binding="s0:EchoBinding"> - <soap:address location="http://tempuri.org/"/> - </port> - </service> -</definitions>
\ No newline at end of file diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2014-1/testcase.xml b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2014-1/testcase.xml deleted file mode 100644 index d6675f962..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2014-1/testcase.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<testcase name="2014-1"> - <description> - This is an example of a conformant wsdl containing a wsdl:operation - with a parameterOrder attribute. - </description> - <expectedFailures/> -</testcase>
\ No newline at end of file diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2014-2/2014-2.wsdl b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2014-2/2014-2.wsdl deleted file mode 100644 index 0653069b4..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2014-2/2014-2.wsdl +++ /dev/null @@ -1,42 +0,0 @@ -<definitions - xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" - xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" - xmlns:s="http://www.w3.org/2001/XMLSchema" - xmlns:s0="http://tempuri.org/" - xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" - xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" - xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" - targetNamespace="http://tempuri.org/" xmlns="http://schemas.xmlsoap.org/wsdl/"> - - <message name="echoStringIn"> - <part name="parameters" type="s:string"/> - </message> - <message name="echoStringOut"> - <part name="parameters" type="s:string" /> - <part name="parameters1" type="s:string"/> - <part name="parameters2" type="s:string"/> - </message> - <portType name="EchoPortType"> - <operation name="echoString" parameterOrder="parameters parameters1"> - <input message="s0:echoStringIn" /> - <output message="s0:echoStringOut" /> - </operation> - </portType> - <binding name="EchoBinding" type="s0:EchoPortType"> - <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="rpc" /> - <operation name="echoString"> - <soap:operation soapAction="http://tempuri.org/echoString" style="rpc" /> - <input> - <soap:body use="literal" namespace="htp://org.org"/> - </input> - <output> - <soap:body use="literal" namespace="htp://org.org" /> - </output> - </operation> - </binding> - <service name="EchoService"> - <port name="EchoPort" binding="s0:EchoBinding"> - <soap:address location="http://tempuri.org/"/> - </port> - </service> -</definitions>
\ No newline at end of file diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2014-2/testcase.xml b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2014-2/testcase.xml deleted file mode 100644 index 755b404b6..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2014-2/testcase.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<testcase name="2014-2"> - <description> - This is an example of a conformant wsdl containing a wsdl:operation - with a parameterOrder attribute. - </description> - <expectedFailures/> -</testcase>
\ No newline at end of file diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2014-3/2014-3.wsdl b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2014-3/2014-3.wsdl deleted file mode 100644 index abe792acc..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2014-3/2014-3.wsdl +++ /dev/null @@ -1,42 +0,0 @@ -<definitions - xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" - xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" - xmlns:s="http://www.w3.org/2001/XMLSchema" - xmlns:s0="http://tempuri.org/" - xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" - xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" - xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" - targetNamespace="http://tempuri.org/" xmlns="http://schemas.xmlsoap.org/wsdl/"> - - <message name="echoStringIn"> - <part name="parameters" type="s:string"/> - </message> - <message name="echoStringOut"> - <part name="parameters" type="s:string" /> - <part name="parameters1" type="s:string"/> - <part name="parameters2" type="s:string"/> - </message> - <portType name="EchoPortType"> - <operation name="echoString" parameterOrder="parameters"> - <input message="s0:echoStringIn" /> - <output message="s0:echoStringOut" /> - </operation> - </portType> - <binding name="EchoBinding" type="s0:EchoPortType"> - <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="rpc" /> - <operation name="echoString"> - <soap:operation soapAction="http://tempuri.org/echoString" style="rpc" /> - <input> - <soap:body use="literal" namespace="htp://org.org"/> - </input> - <output> - <soap:body use="literal" namespace="htp://org.org" /> - </output> - </operation> - </binding> - <service name="EchoService"> - <port name="EchoPort" binding="s0:EchoBinding"> - <soap:address location="http://tempuri.org/"/> - </port> - </service> -</definitions>
\ No newline at end of file diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2014-3/testcase.xml b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2014-3/testcase.xml deleted file mode 100644 index 3c72c7376..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2014-3/testcase.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<testcase name="2014-1"> - <description> - This is an example of a conformant wsdl containing a wsdl:operation - with a parameterOrder attribute. - </description> - <expectedFailures> - <assertion id="BP2014" tadID="SSBP10"/> - <assertion id="BP2014" tadID="AP10"/> - </expectedFailures> -</testcase>
\ No newline at end of file diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2017-1/2017-1.wsdl b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2017-1/2017-1.wsdl deleted file mode 100644 index 76c5d756c..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2017-1/2017-1.wsdl +++ /dev/null @@ -1,105 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<wsdl:definitions targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:intf="http://tempuri.org/" xmlns:impl="http://tempuri.org/" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns="http://schemas.xmlsoap.org/wsdl/"> - <wsdl:types> - <schema elementFormDefault="qualified" targetNamespace="http://tempuri.org/" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:intf="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"> - <element name="findAddress"> - <complexType> - <sequence> - <element name="name" nillable="true" type="xsd:string"/> - </sequence> - </complexType> - </element> - <complexType name="Address"> - <sequence> - <element name="province" nillable="true" type="xsd:string"/> - <element name="city" nillable="true" type="xsd:string"/> - <element name="street" nillable="true" type="xsd:string"/> - <element name="postalCode" nillable="true" type="xsd:string"/> - <element name="phoneNumber" nillable="true" type="impl:PhoneNumber"/> - </sequence> - </complexType> - <complexType name="PhoneNumber"> - <sequence> - <element name="area" type="xsd:int"/> - <element name="prefix" type="xsd:int"/> - <element name="number" type="xsd:int"/> - </sequence> - </complexType> - <element name="findAddressResponse"> - <complexType> - <sequence> - <element name="findAddressReturn" nillable="true" type="impl:Address"/> - </sequence> - </complexType> - </element> - <complexType name="saveAddress"> - <sequence> - <element name="name" nillable="true" type="xsd:string"/> - <element name="address" nillable="true" type="impl:Address"/> - </sequence> - </complexType> - <complexType name="saveAddressResponse"> - <sequence/> - </complexType> - <complexType name="AddressHeaderType"> - <all> - <element name="a" type="int"/> - <element name="b" type="boolean"/> - <element name="s" nillable="true" type="string"/> - </all> - </complexType> - <element name="AddressHeader" nillable="true" type="impl:AddressHeaderType"/> - </schema> - </wsdl:types> - <wsdl:message name="saveAddressRequest"> - <wsdl:part name="parameters" type="intf:saveAddress"/> - </wsdl:message> - <wsdl:message name="findAddressRequest"> - <wsdl:part name="parameters" element="intf:findAddress"/> - <wsdl:part name="AddressHeader" element="intf:AddressHeader"/> - </wsdl:message> - <wsdl:message name="findAddressResponse"> - <wsdl:part name="parameters" element="intf:findAddressResponse"/> - </wsdl:message> - <wsdl:message name="saveAddressResponse"> - <wsdl:part name="parameters" type="intf:saveAddressResponse"/> - </wsdl:message> - <wsdl:portType name="AddressBook"> - <wsdl:operation name="findAddress"> - <wsdl:input name="findAddressRequest" message="intf:findAddressRequest"/> - <wsdl:output name="findAddressResponse" message="intf:findAddressResponse"/> - </wsdl:operation> - <wsdl:operation name="saveAddress"> - <wsdl:input name="saveAddressRequest" message="intf:saveAddressRequest"/> - <wsdl:output name="saveAddressResponse" message="intf:saveAddressResponse"/> - </wsdl:operation> - </wsdl:portType> - <wsdl:binding name="AddressBookSoapBinding" type="intf:AddressBook"> - <wsdlsoap:binding transport="http://schemas.xmlsoap.org/soap/http"/> - <wsdl:operation name="findAddress"> - <wsdlsoap:operation style="document" soapAction=""/> - <wsdl:input name="findAddressRequest"> - <wsdlsoap:header message="intf:findAddressRequest" part="AddressHeader" use="literal"> - </wsdlsoap:header> - <wsdlsoap:body parts="parameters" use="literal"/> - </wsdl:input> - <wsdl:output name="findAddressResponse"> - <wsdlsoap:body use="literal"/> - </wsdl:output> - </wsdl:operation> - <wsdl:operation name="saveAddress"> - <wsdlsoap:operation style="rpc" soapAction=""/> - <wsdl:input name="saveAddressRequest"> - <wsdlsoap:body use="literal"/> - </wsdl:input> - <wsdl:output name="saveAddressResponse"> - <wsdlsoap:body use="literal"/> - </wsdl:output> - </wsdl:operation> - </wsdl:binding> - <wsdl:service name="AddressBookService"> - <wsdl:port name="AddressBook" binding="intf:AddressBookSoapBinding"> - <wsdlsoap:address location="http://tempuri.org/AddressBook"/> - </wsdl:port> - </wsdl:service> -</wsdl:definitions> diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2017-1/testcase.xml b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2017-1/testcase.xml deleted file mode 100644 index 65da9404a..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2017-1/testcase.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<testcase name="2017-1"> - <description> - This is an example of a non-conformant wsdl containing - multiple style values within the same binding. - </description> - <expectedFailures> - <assertion id="BP2017" tadID="SSBP10"/> - <assertion id="BP2017" tadID="AP10"/> - </expectedFailures> -</testcase>
\ No newline at end of file diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2017-2/2017-2.wsdl b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2017-2/2017-2.wsdl deleted file mode 100644 index ab90ed5ce..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2017-2/2017-2.wsdl +++ /dev/null @@ -1,110 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<wsdl:definitions targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:intf="http://tempuri.org/" xmlns:impl="http://tempuri.org/" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns="http://schemas.xmlsoap.org/wsdl/"> - <wsdl:types> - <schema elementFormDefault="qualified" targetNamespace="http://tempuri.org/" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:intf="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"> - <element name="findAddress"> - <complexType> - <sequence> - <element name="name" nillable="true" type="xsd:string"/> - </sequence> - </complexType> - </element> - <complexType name="Address"> - <sequence> - <element name="province" nillable="true" type="xsd:string"/> - <element name="city" nillable="true" type="xsd:string"/> - <element name="street" nillable="true" type="xsd:string"/> - <element name="postalCode" nillable="true" type="xsd:string"/> - <element name="phoneNumber" nillable="true" type="impl:PhoneNumber"/> - </sequence> - </complexType> - <complexType name="PhoneNumber"> - <sequence> - <element name="area" type="xsd:int"/> - <element name="prefix" type="xsd:int"/> - <element name="number" type="xsd:int"/> - </sequence> - </complexType> - <element name="findAddressResponse"> - <complexType> - <sequence> - <element name="findAddressReturn" nillable="true" type="impl:Address"/> - </sequence> - </complexType> - </element> - <complexType name="saveAddress"> - <sequence> - <element name="name" nillable="true" type="xsd:string"/> - <element name="address" nillable="true" type="impl:Address"/> - </sequence> - </complexType> - <complexType name="saveAddressResponse"> - <sequence/> - </complexType> - <complexType name="AddressHeaderType"> - <all> - <element name="a" type="int"/> - <element name="b" type="boolean"/> - <element name="s" nillable="true" type="string"/> - </all> - </complexType> - <element name="AddressHeader" nillable="true" type="impl:AddressHeaderType"/> - </schema> - </wsdl:types> - <wsdl:message name="saveAddressRequest"> - <wsdl:part name="parameters" type="intf:saveAddress"/> - </wsdl:message> - <wsdl:message name="findAddressRequest"> - <wsdl:part name="parameters" element="intf:findAddress"/> - <wsdl:part name="AddressHeader" element="intf:AddressHeader"/> - </wsdl:message> - <wsdl:message name="findAddressResponse"> - <wsdl:part name="parameters" element="intf:findAddressResponse"/> - </wsdl:message> - <wsdl:message name="saveAddressResponse"> - <wsdl:part name="parameters" type="intf:saveAddressResponse"/> - </wsdl:message> - <wsdl:portType name="AddressBook"> - <wsdl:operation name="findAddress"> - <wsdl:input name="findAddressRequest" message="intf:findAddressRequest"/> - <wsdl:output name="findAddressResponse" message="intf:findAddressResponse"/> - </wsdl:operation> - </wsdl:portType> - <wsdl:portType name="AddressBook2"> - <wsdl:operation name="saveAddress"> - <wsdl:input name="saveAddressRequest" message="intf:saveAddressRequest"/> - <wsdl:output name="saveAddressResponse" message="intf:saveAddressResponse"/> - </wsdl:operation> - </wsdl:portType> - <wsdl:binding name="AddressBookSoapBinding" type="intf:AddressBook"> - <wsdlsoap:binding transport="http://schemas.xmlsoap.org/soap/http"/> - <wsdl:operation name="findAddress"> - <wsdlsoap:operation style="document" soapAction=""/> - <wsdl:input name="findAddressRequest"> - <wsdlsoap:header message="intf:findAddressRequest" part="AddressHeader" use="literal"> - </wsdlsoap:header> - <wsdlsoap:body parts="parameters" use="literal"/> - </wsdl:input> - <wsdl:output name="findAddressResponse"> - <wsdlsoap:body use="literal"/> - </wsdl:output> - </wsdl:operation> - </wsdl:binding> - <wsdl:binding name="AddressBookSoapBinding2" type="intf:AddressBook2"> - <wsdlsoap:binding transport="http://schemas.xmlsoap.org/soap/http"/> - <wsdl:operation name="saveAddress"> - <wsdlsoap:operation style="rpc" soapAction=""/> - <wsdl:input name="saveAddressRequest"> - <wsdlsoap:body use="literal"/> - </wsdl:input> - <wsdl:output name="saveAddressResponse"> - <wsdlsoap:body use="literal"/> - </wsdl:output> - </wsdl:operation> - </wsdl:binding> - <wsdl:service name="AddressBookService"> - <wsdl:port name="AddressBook" binding="intf:AddressBookSoapBinding"> - <wsdlsoap:address location="http://tempuri.org/AddressBook"/> - </wsdl:port> - </wsdl:service> -</wsdl:definitions> diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2017-2/testcase.xml b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2017-2/testcase.xml deleted file mode 100644 index d26e30bb7..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2017-2/testcase.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<testcase name="2017-2"> - <description> - This is an example of a conformant wsdl containing - multiple style values but in different bindings. - </description> - <expectedFailures/> -</testcase>
\ No newline at end of file diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2018-1/2018-1.wsdl b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2018-1/2018-1.wsdl deleted file mode 100644 index 4f2af9b67..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2018-1/2018-1.wsdl +++ /dev/null @@ -1,42 +0,0 @@ -<definitions - xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" - xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" - xmlns:s="http://www.w3.org/2001/XMLSchema" - xmlns:s0="http://tempuri.org/" - xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" - xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" - xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" - targetNamespace="http://tempuri.org/" xmlns="http://schemas.xmlsoap.org/wsdl/"> - <documentation> - </documentation> - <types/> - <message name="echoStringIn"> - <part name="parameters" type="s:string"/> - </message> - <message name="echoStringOut"> - <part name="parameters" type="s:string" /> - </message> - <portType name="EchoPortType"> - <operation name="echoString" parameterOrder="parameters"> - <input message="s0:echoStringIn" /> - <output message="s0:echoStringOut" /> - </operation> - </portType> - <binding name="EchoBinding" type="s0:EchoPortType"> - <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="rpc" /> - <operation name="echoString"> - <soap:operation soapAction="http://tempuri.org/echoString" style="rpc" /> - <input> - <soap:body use="literal" namespace="htp://org.org"/> - </input> - <output> - <soap:body use="literal" namespace="htp://org.org" /> - </output> - </operation> - </binding> - <service name="EchoService"> - <port name="EchoPort" binding="s0:EchoBinding"> - <soap:address location="http://tempuri.org/"/> - </port> - </service> -</definitions>
\ No newline at end of file diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2018-1/testcase.xml b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2018-1/testcase.xml deleted file mode 100644 index b4f65368d..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2018-1/testcase.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<testcase name="2018-1"> - <description> - This is an example of a conformant wsdl containing a documentation - element preceding the types element. - </description> - <expectedFailures/> -</testcase>
\ No newline at end of file diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2018-2/2018-2.wsdl b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2018-2/2018-2.wsdl deleted file mode 100644 index e47b96661..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2018-2/2018-2.wsdl +++ /dev/null @@ -1,45 +0,0 @@ -<definitions - xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" - xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" - xmlns:s="http://www.w3.org/2001/XMLSchema" - xmlns:s0="http://tempuri.org/" - xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" - xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" - xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" - targetNamespace="http://tempuri.org/" xmlns="http://schemas.xmlsoap.org/wsdl/"> - <documentation> - </documentation> - <import namespace="http://tempuri.org/2018a" location="2018a.wsdl"/> - <import namespace="http://tempuri.org/2018b" location="2018b.wsdl"/> - <types/> - - <message name="echoStringIn"> - <part name="parameters" type="s:string"/> - </message> - <message name="echoStringOut"> - <part name="parameters" type="s:string" /> - </message> - <portType name="EchoPortType"> - <operation name="echoString" parameterOrder="parameters"> - <input message="s0:echoStringIn" /> - <output message="s0:echoStringOut" /> - </operation> - </portType> - <binding name="EchoBinding" type="s0:EchoPortType"> - <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="rpc" /> - <operation name="echoString"> - <soap:operation soapAction="http://tempuri.org/echoString" style="rpc" /> - <input> - <soap:body use="literal" namespace="htp://org.org"/> - </input> - <output> - <soap:body use="literal" namespace="htp://org.org" /> - </output> - </operation> - </binding> - <service name="EchoService"> - <port name="EchoPort" binding="s0:EchoBinding"> - <soap:address location="http://tempuri.org/"/> - </port> - </service> -</definitions>
\ No newline at end of file diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2018-2/2018a.wsdl b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2018-2/2018a.wsdl deleted file mode 100644 index 558d96ba5..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2018-2/2018a.wsdl +++ /dev/null @@ -1,10 +0,0 @@ -<definitions - xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" - xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" - xmlns:s="http://www.w3.org/2001/XMLSchema" - xmlns:s0="http://tempuri.org/2018a" - xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" - xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" - xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" - targetNamespace="http://tempuri.org/2018a" xmlns="http://schemas.xmlsoap.org/wsdl/"> -</definitions>
\ No newline at end of file diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2018-2/2018b.wsdl b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2018-2/2018b.wsdl deleted file mode 100644 index 7432ec41c..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2018-2/2018b.wsdl +++ /dev/null @@ -1,10 +0,0 @@ -<definitions - xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" - xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" - xmlns:s="http://www.w3.org/2001/XMLSchema" - xmlns:s0="http://tempuri.org/2018b" - xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" - xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" - xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" - targetNamespace="http://tempuri.org/2018b" xmlns="http://schemas.xmlsoap.org/wsdl/"> -</definitions>
\ No newline at end of file diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2018-2/testcase.xml b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2018-2/testcase.xml deleted file mode 100644 index 666c545d2..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2018-2/testcase.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<testcase name="2018-1"> - <description> - This is an example of a conformant wsdl containing a documentation - element and 2 import elements preceding the types element. - </description> - <expectedFailures/> -</testcase>
\ No newline at end of file diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2018-3/2018-3.wsdl b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2018-3/2018-3.wsdl deleted file mode 100644 index 340d85b5b..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2018-3/2018-3.wsdl +++ /dev/null @@ -1,42 +0,0 @@ -<definitions - xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" - xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" - xmlns:s="http://www.w3.org/2001/XMLSchema" - xmlns:s0="http://tempuri.org/" - xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" - xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" - xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" - targetNamespace="http://tempuri.org/" xmlns="http://schemas.xmlsoap.org/wsdl/"> - <documentation> - </documentation> - <message name="echoStringIn"> - <part name="parameters" type="s:string"/> - </message> - <types/> - <message name="echoStringOut"> - <part name="parameters" type="s:string" /> - </message> - <portType name="EchoPortType"> - <operation name="echoString" parameterOrder="parameters"> - <input message="s0:echoStringIn" /> - <output message="s0:echoStringOut" /> - </operation> - </portType> - <binding name="EchoBinding" type="s0:EchoPortType"> - <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="rpc" /> - <operation name="echoString"> - <soap:operation soapAction="http://tempuri.org/echoString" style="rpc" /> - <input> - <soap:body use="literal" namespace="htp://org.org"/> - </input> - <output> - <soap:body use="literal" namespace="htp://org.org" /> - </output> - </operation> - </binding> - <service name="EchoService"> - <port name="EchoPort" binding="s0:EchoBinding"> - <soap:address location="http://tempuri.org/"/> - </port> - </service> -</definitions>
\ No newline at end of file diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2018-3/testcase.xml b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2018-3/testcase.xml deleted file mode 100644 index b53464f67..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2018-3/testcase.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<testcase name="2018-3"> - <description> - This is an example of a non conformant wsdl containing a message - element preceding the types element. - </description> - <expectedFailures> - <assertion id="BP2018" tadID="SSBP10"/> - <assertion id="BP2018" tadID="AP10"/> - </expectedFailures> -</testcase>
\ No newline at end of file diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2018-4/2018-4.wsdl b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2018-4/2018-4.wsdl deleted file mode 100644 index b40589165..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2018-4/2018-4.wsdl +++ /dev/null @@ -1,44 +0,0 @@ -<definitions - xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" - xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" - xmlns:s="http://www.w3.org/2001/XMLSchema" - xmlns:s0="http://tempuri.org/" - xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" - xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" - xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" - targetNamespace="http://tempuri.org/" xmlns="http://schemas.xmlsoap.org/wsdl/"> - <documentation> - </documentation> - <import namespace="http://tempuri.org/2018a" location="2018a.wsdl"/> - <import namespace="http://tempuri.org/2018b" location="2018b.wsdl"/> - <message name="echoStringIn"> - <part name="parameters" type="s:string"/> - </message> - <types/> - <message name="echoStringOut"> - <part name="parameters" type="s:string" /> - </message> - <portType name="EchoPortType"> - <operation name="echoString" parameterOrder="parameters"> - <input message="s0:echoStringIn" /> - <output message="s0:echoStringOut" /> - </operation> - </portType> - <binding name="EchoBinding" type="s0:EchoPortType"> - <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="rpc" /> - <operation name="echoString"> - <soap:operation soapAction="http://tempuri.org/echoString" style="rpc" /> - <input> - <soap:body use="literal" namespace="htp://org.org"/> - </input> - <output> - <soap:body use="literal" namespace="htp://org.org" /> - </output> - </operation> - </binding> - <service name="EchoService"> - <port name="EchoPort" binding="s0:EchoBinding"> - <soap:address location="http://tempuri.org/"/> - </port> - </service> -</definitions>
\ No newline at end of file diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2018-4/2018a.wsdl b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2018-4/2018a.wsdl deleted file mode 100644 index 558d96ba5..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2018-4/2018a.wsdl +++ /dev/null @@ -1,10 +0,0 @@ -<definitions - xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" - xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" - xmlns:s="http://www.w3.org/2001/XMLSchema" - xmlns:s0="http://tempuri.org/2018a" - xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" - xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" - xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" - targetNamespace="http://tempuri.org/2018a" xmlns="http://schemas.xmlsoap.org/wsdl/"> -</definitions>
\ No newline at end of file diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2018-4/2018b.wsdl b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2018-4/2018b.wsdl deleted file mode 100644 index 7432ec41c..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2018-4/2018b.wsdl +++ /dev/null @@ -1,10 +0,0 @@ -<definitions - xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" - xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" - xmlns:s="http://www.w3.org/2001/XMLSchema" - xmlns:s0="http://tempuri.org/2018b" - xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" - xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" - xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" - targetNamespace="http://tempuri.org/2018b" xmlns="http://schemas.xmlsoap.org/wsdl/"> -</definitions>
\ No newline at end of file diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2018-4/testcase.xml b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2018-4/testcase.xml deleted file mode 100644 index 853591bf6..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2018-4/testcase.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<testcase name="2018-4"> - <description> - This is an example of a non conformant wsdl containing a message - element preceding the types element. - </description> - <expectedFailures> - <assertion id="BP2018" tadID="SSBP10"/> - <assertion id="BP2018" tadID="AP10"/> - </expectedFailures> -</testcase>
\ No newline at end of file diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2018-5/2018-5.wsdl b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2018-5/2018-5.wsdl deleted file mode 100644 index 81b9a6304..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2018-5/2018-5.wsdl +++ /dev/null @@ -1,13 +0,0 @@ -<definitions - xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" - xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" - xmlns:s="http://www.w3.org/2001/XMLSchema" - xmlns:s0="http://tempuri.org/" - xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" - xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" - xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" - targetNamespace="http://tempuri.org/" xmlns="http://schemas.xmlsoap.org/wsdl/"> - <documentation> - </documentation> - <import namespace="http://tempuri.org/2018a" location="2018a.wsdl"/> -</definitions>
\ No newline at end of file diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2018-5/2018a.wsdl b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2018-5/2018a.wsdl deleted file mode 100644 index adaf55ae5..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2018-5/2018a.wsdl +++ /dev/null @@ -1,43 +0,0 @@ -<definitions - xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" - xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" - xmlns:s="http://www.w3.org/2001/XMLSchema" - xmlns:s0="http://tempuri.org/2018a" - xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" - xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" - xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" - targetNamespace="http://tempuri.org/2018a" xmlns="http://schemas.xmlsoap.org/wsdl/"> - <documentation> - </documentation> - <import namespace="http://tempuri.org/2018b" location="2018b.wsdl"/> - <message name="echoStringIn"> - <part name="parameters" type="s:string"/> - </message> - <types/> - <message name="echoStringOut"> - <part name="parameters" type="s:string" /> - </message> - <portType name="EchoPortType"> - <operation name="echoString" parameterOrder="parameters"> - <input message="s0:echoStringIn" /> - <output message="s0:echoStringOut" /> - </operation> - </portType> - <binding name="EchoBinding" type="s0:EchoPortType"> - <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="rpc" /> - <operation name="echoString"> - <soap:operation soapAction="http://tempuri.org/echoString" style="rpc" /> - <input> - <soap:body use="literal" namespace="htp://org.org"/> - </input> - <output> - <soap:body use="literal" namespace="htp://org.org" /> - </output> - </operation> - </binding> - <service name="EchoService"> - <port name="EchoPort" binding="s0:EchoBinding"> - <soap:address location="http://tempuri.org/"/> - </port> - </service> -</definitions>
\ No newline at end of file diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2018-5/2018b.wsdl b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2018-5/2018b.wsdl deleted file mode 100644 index 7432ec41c..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2018-5/2018b.wsdl +++ /dev/null @@ -1,10 +0,0 @@ -<definitions - xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" - xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" - xmlns:s="http://www.w3.org/2001/XMLSchema" - xmlns:s0="http://tempuri.org/2018b" - xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" - xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" - xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" - targetNamespace="http://tempuri.org/2018b" xmlns="http://schemas.xmlsoap.org/wsdl/"> -</definitions>
\ No newline at end of file diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2018-5/testcase.xml b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2018-5/testcase.xml deleted file mode 100644 index 853591bf6..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2018-5/testcase.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<testcase name="2018-4"> - <description> - This is an example of a non conformant wsdl containing a message - element preceding the types element. - </description> - <expectedFailures> - <assertion id="BP2018" tadID="SSBP10"/> - <assertion id="BP2018" tadID="AP10"/> - </expectedFailures> -</testcase>
\ No newline at end of file diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2019-1/2019-1.wsdl b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2019-1/2019-1.wsdl deleted file mode 100644 index 40752df48..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2019-1/2019-1.wsdl +++ /dev/null @@ -1,109 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<wsdl:definitions targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:intf="http://tempuri.org/" xmlns:impl="http://tempuri.org/" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns="http://schemas.xmlsoap.org/wsdl/"> - <wsdl:types> - <schema elementFormDefault="qualified" targetNamespace="http://tempuri.org/" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:intf="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"> - <element name="findAddress"> - <complexType> - <sequence> - <element name="name" nillable="true" type="xsd:string"/> - </sequence> - </complexType> - </element> - <complexType name="Address"> - <sequence> - <element name="province" nillable="true" type="xsd:string"/> - <element name="city" nillable="true" type="xsd:string"/> - <element name="street" nillable="true" type="xsd:string"/> - <element name="postalCode" nillable="true" type="xsd:string"/> - <element name="phoneNumber" nillable="true" type="impl:PhoneNumber"/> - </sequence> - </complexType> - <complexType name="PhoneNumber"> - <sequence> - <element name="area" type="xsd:int"/> - <element name="prefix" type="xsd:int"/> - <element name="number" type="xsd:int"/> - </sequence> - </complexType> - <element name="findAddressResponse"> - <complexType> - <sequence> - <element name="findAddressReturn" nillable="true" type="impl:Address"/> - </sequence> - </complexType> - </element> - <element name="saveAddress"> - <complexType> - <sequence> - <element name="name" nillable="true" type="xsd:string"/> - <element name="address" nillable="true" type="impl:Address"/> - </sequence> - </complexType> - </element> - <element name="saveAddressResponse"> - <complexType> - <sequence/> - </complexType> - </element> - <complexType name="AddressHeaderType"> - <all> - <element name="a" type="int"/> - <element name="b" type="boolean"/> - <element name="s" nillable="true" type="string"/> - </all> - </complexType> - <element name="AddressHeader" nillable="true" type="impl:AddressHeaderType"/> - </schema> - </wsdl:types> - <wsdl:message name="saveAddressRequest"> - <wsdl:part name="parameters" element="intf:saveAddress"/> - </wsdl:message> - <wsdl:message name="findAddressRequest"> - <wsdl:part name="parameters" element="intf:findAddress"/> - <wsdl:part name="AddressHeader" element="intf:AddressHeader"/> - </wsdl:message> - <wsdl:message name="findAddressResponse"> - <wsdl:part name="parameters" element="intf:findAddressResponse"/> - </wsdl:message> - <wsdl:message name="saveAddressResponse"> - <wsdl:part name="parameters" element="intf:saveAddressResponse"/> - </wsdl:message> - <wsdl:portType name="AddressBook"> - <wsdl:operation name="findAddress"> - <wsdl:input name="findAddressRequest" message="intf:findAddressRequest"/> - <wsdl:output name="findAddressResponse" message="intf:findAddressResponse"/> - </wsdl:operation> - <wsdl:operation name="saveAddress"> - <wsdl:input name="saveAddressRequest" message="intf:saveAddressRequest"/> - <wsdl:output name="saveAddressResponse" message="intf:saveAddressResponse"/> - </wsdl:operation> - </wsdl:portType> - <wsdl:binding name="AddressBookSoapBinding" type="intf:AddressBook"> - <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/> - <wsdl:operation name="findAddress"> - <wsdlsoap:operation soapAction=""/> - <wsdl:input name="findAddressRequest"> - <wsdlsoap:header message="intf:findAddressRequest" part="AddressHeader" use="literal" namespace="http://tempuri.org/nowhere"> - </wsdlsoap:header> - <wsdlsoap:body parts="parameters" use="literal"/> - </wsdl:input> - <wsdl:output name="findAddressResponse"> - <wsdlsoap:body use="literal"/> - </wsdl:output> - </wsdl:operation> - <wsdl:operation name="saveAddress"> - <wsdlsoap:operation soapAction=""/> - <wsdl:input name="saveAddressRequest"> - <wsdlsoap:body use="literal"/> - </wsdl:input> - <wsdl:output name="saveAddressResponse"> - <wsdlsoap:body use="literal"/> - </wsdl:output> - </wsdl:operation> - </wsdl:binding> - <wsdl:service name="AddressBookService"> - <wsdl:port name="AddressBook" binding="intf:AddressBookSoapBinding"> - <wsdlsoap:address location="http://tempuri.org/AddressBook"/> - </wsdl:port> - </wsdl:service> -</wsdl:definitions> diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2019-1/testcase.xml b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2019-1/testcase.xml deleted file mode 100644 index 8bad607b2..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2019-1/testcase.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<testcase name="2019-1"> - <description> - This is an example of a non conformant wsdl containing a document literal binding - wih a nampace attribute specified the soapbind:header element. - </description> - <expectedFailures> - <assertion id="BP2019" tadID="SSBP10"/> - <assertion id="BP2019" tadID="AP10"/> - </expectedFailures> -</testcase>
\ No newline at end of file diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2019-2/2019-2.wsdl b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2019-2/2019-2.wsdl deleted file mode 100644 index ef200e2f6..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2019-2/2019-2.wsdl +++ /dev/null @@ -1,109 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<wsdl:definitions targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:intf="http://tempuri.org/" xmlns:impl="http://tempuri.org/" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns="http://schemas.xmlsoap.org/wsdl/"> - <wsdl:types> - <schema elementFormDefault="qualified" targetNamespace="http://tempuri.org/" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:intf="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"> - <element name="findAddress"> - <complexType> - <sequence> - <element name="name" nillable="true" type="xsd:string"/> - </sequence> - </complexType> - </element> - <complexType name="Address"> - <sequence> - <element name="province" nillable="true" type="xsd:string"/> - <element name="city" nillable="true" type="xsd:string"/> - <element name="street" nillable="true" type="xsd:string"/> - <element name="postalCode" nillable="true" type="xsd:string"/> - <element name="phoneNumber" nillable="true" type="impl:PhoneNumber"/> - </sequence> - </complexType> - <complexType name="PhoneNumber"> - <sequence> - <element name="area" type="xsd:int"/> - <element name="prefix" type="xsd:int"/> - <element name="number" type="xsd:int"/> - </sequence> - </complexType> - <element name="findAddressResponse"> - <complexType> - <sequence> - <element name="findAddressReturn" nillable="true" type="impl:Address"/> - </sequence> - </complexType> - </element> - <element name="saveAddress"> - <complexType> - <sequence> - <element name="name" nillable="true" type="xsd:string"/> - <element name="address" nillable="true" type="impl:Address"/> - </sequence> - </complexType> - </element> - <element name="saveAddressResponse"> - <complexType> - <sequence/> - </complexType> - </element> - <complexType name="AddressHeaderType"> - <all> - <element name="a" type="int"/> - <element name="b" type="boolean"/> - <element name="s" nillable="true" type="string"/> - </all> - </complexType> - <element name="AddressHeader" nillable="true" type="impl:AddressHeaderType"/> - </schema> - </wsdl:types> - <wsdl:message name="saveAddressRequest"> - <wsdl:part name="parameters" element="intf:saveAddress"/> - </wsdl:message> - <wsdl:message name="findAddressRequest"> - <wsdl:part name="parameters" element="intf:findAddress"/> - <wsdl:part name="AddressHeader" element="intf:AddressHeader"/> - </wsdl:message> - <wsdl:message name="findAddressResponse"> - <wsdl:part name="parameters" element="intf:findAddressResponse"/> - </wsdl:message> - <wsdl:message name="saveAddressResponse"> - <wsdl:part name="parameters" element="intf:saveAddressResponse"/> - </wsdl:message> - <wsdl:portType name="AddressBook"> - <wsdl:operation name="findAddress"> - <wsdl:input name="findAddressRequest" message="intf:findAddressRequest"/> - <wsdl:output name="findAddressResponse" message="intf:findAddressResponse"/> - </wsdl:operation> - <wsdl:operation name="saveAddress"> - <wsdl:input name="saveAddressRequest" message="intf:saveAddressRequest"/> - <wsdl:output name="saveAddressResponse" message="intf:saveAddressResponse"/> - </wsdl:operation> - </wsdl:portType> - <wsdl:binding name="AddressBookSoapBinding" type="intf:AddressBook"> - <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/> - <wsdl:operation name="findAddress"> - <wsdlsoap:operation soapAction=""/> - <wsdl:input name="findAddressRequest"> - <wsdlsoap:header message="intf:findAddressRequest" part="AddressHeader" use="literal"> - </wsdlsoap:header> - <wsdlsoap:body parts="parameters" use="literal" namespace="http://tempuri.org/nowhere"/> - </wsdl:input> - <wsdl:output name="findAddressResponse"> - <wsdlsoap:body use="literal"/> - </wsdl:output> - </wsdl:operation> - <wsdl:operation name="saveAddress"> - <wsdlsoap:operation soapAction=""/> - <wsdl:input name="saveAddressRequest"> - <wsdlsoap:body use="literal"/> - </wsdl:input> - <wsdl:output name="saveAddressResponse"> - <wsdlsoap:body use="literal"/> - </wsdl:output> - </wsdl:operation> - </wsdl:binding> - <wsdl:service name="AddressBookService"> - <wsdl:port name="AddressBook" binding="intf:AddressBookSoapBinding"> - <wsdlsoap:address location="http://tempuri.org/AddressBook"/> - </wsdl:port> - </wsdl:service> -</wsdl:definitions> diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2019-2/testcase.xml b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2019-2/testcase.xml deleted file mode 100644 index 5e9ae01f1..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2019-2/testcase.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<testcase name="2019-2"> - <description> - This is an example of a non conformant wsdl containing a document literal binding - wih a nampace attribute specified the soapbind:body element. - </description> - <expectedFailures> - <assertion id="BP2019" tadID="SSBP10"/> - <assertion id="BP2019" tadID="AP10"/> - </expectedFailures> -</testcase>
\ No newline at end of file diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2019-3/2019-3.wsdl b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2019-3/2019-3.wsdl deleted file mode 100644 index 6a6399403..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2019-3/2019-3.wsdl +++ /dev/null @@ -1,116 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<wsdl:definitions targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:intf="http://tempuri.org/" xmlns:impl="http://tempuri.org/" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns="http://schemas.xmlsoap.org/wsdl/"> - <wsdl:types> - <schema elementFormDefault="qualified" targetNamespace="http://tempuri.org/" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:intf="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"> - <element name="findAddress"> - <complexType> - <sequence> - <element name="name" nillable="true" type="xsd:string"/> - </sequence> - </complexType> - </element> - <complexType name="Address"> - <sequence> - <element name="province" nillable="true" type="xsd:string"/> - <element name="city" nillable="true" type="xsd:string"/> - <element name="street" nillable="true" type="xsd:string"/> - <element name="postalCode" nillable="true" type="xsd:string"/> - <element name="phoneNumber" nillable="true" type="impl:PhoneNumber"/> - </sequence> - </complexType> - <complexType name="PhoneNumber"> - <sequence> - <element name="area" type="xsd:int"/> - <element name="prefix" type="xsd:int"/> - <element name="number" type="xsd:int"/> - </sequence> - </complexType> - <element name="findAddressResponse"> - <complexType> - <sequence> - <element name="findAddressReturn" nillable="true" type="impl:Address"/> - </sequence> - </complexType> - </element> - <element name="saveAddress"> - <complexType> - <sequence> - <element name="name" nillable="true" type="xsd:string"/> - <element name="address" nillable="true" type="impl:Address"/> - </sequence> - </complexType> - </element> - <element name="saveAddressResponse"> - <complexType> - <sequence/> - </complexType> - </element> - <complexType name="AddressHeaderType"> - <all> - <element name="a" type="int"/> - <element name="b" type="boolean"/> - <element name="s" nillable="true" type="string"/> - </all> - </complexType> - <element name="AddressHeader" nillable="true" type="impl:AddressHeaderType"/> - </schema> - </wsdl:types> - <wsdl:message name="saveAddressRequest"> - <wsdl:part name="parameters" element="intf:saveAddress"/> - </wsdl:message> - <wsdl:message name="findAddressRequest"> - <wsdl:part name="parameters" element="intf:findAddress"/> - <wsdl:part name="AddressHeader" element="intf:AddressHeader"/> - </wsdl:message> - <wsdl:message name="findAddressResponse"> - <wsdl:part name="parameters" element="intf:findAddressResponse"/> - </wsdl:message> - <wsdl:message name="saveAddressResponse"> - <wsdl:part name="parameters" element="intf:saveAddressResponse"/> - </wsdl:message> - <wsdl:message name="parameterfault"> - <part name="part3" element="intf:findAddress" /> - </wsdl:message> - <wsdl:portType name="AddressBook"> - <wsdl:operation name="findAddress"> - <wsdl:input name="findAddressRequest" message="intf:findAddressRequest"/> - <wsdl:output name="findAddressResponse" message="intf:findAddressResponse"/> - <wsdl:fault name="f1" message="intf:parameterfault"/> - </wsdl:operation> - <wsdl:operation name="saveAddress"> - <wsdl:input name="saveAddressRequest" message="intf:saveAddressRequest"/> - <wsdl:output name="saveAddressResponse" message="intf:saveAddressResponse"/> - </wsdl:operation> - </wsdl:portType> - <wsdl:binding name="AddressBookSoapBinding" type="intf:AddressBook"> - <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/> - <wsdl:operation name="findAddress"> - <wsdlsoap:operation soapAction=""/> - <wsdl:input name="findAddressRequest"> - <wsdlsoap:header message="intf:findAddressRequest" part="AddressHeader" use="literal"> - </wsdlsoap:header> - <wsdlsoap:body parts="parameters" use="literal"/> - </wsdl:input> - <wsdl:output name="findAddressResponse"> - <wsdlsoap:body use="literal"/> - </wsdl:output> - <wsdl:fault name="f1"> - <wsdlsoap:fault use="literal" name="f1" namespace="http://tempuri.org/nowhere"/> - </wsdl:fault> - </wsdl:operation> - <wsdl:operation name="saveAddress"> - <wsdlsoap:operation soapAction=""/> - <wsdl:input name="saveAddressRequest"> - <wsdlsoap:body use="literal"/> - </wsdl:input> - <wsdl:output name="saveAddressResponse"> - <wsdlsoap:body use="literal"/> - </wsdl:output> - </wsdl:operation> - </wsdl:binding> - <wsdl:service name="AddressBookService"> - <wsdl:port name="AddressBook" binding="intf:AddressBookSoapBinding"> - <wsdlsoap:address location="http://tempuri.org/AddressBook"/> - </wsdl:port> - </wsdl:service> -</wsdl:definitions> diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2019-3/testcase.xml b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2019-3/testcase.xml deleted file mode 100644 index 53ec03db1..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2019-3/testcase.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<testcase name="2019-3"> - <description> - This is an example of a non conformant wsdl containing a document literal binding - wih a nampace attribute specified the soapbind:fault element. - </description> - <expectedFailures> - <assertion id="BP2019" tadID="SSBP10"/> - <assertion id="BP2019" tadID="AP10"/> - </expectedFailures> -</testcase>
\ No newline at end of file diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2019-4/2019-4.wsdl b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2019-4/2019-4.wsdl deleted file mode 100644 index 78281e2ae..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2019-4/2019-4.wsdl +++ /dev/null @@ -1,117 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<wsdl:definitions targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:intf="http://tempuri.org/" xmlns:impl="http://tempuri.org/" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns="http://schemas.xmlsoap.org/wsdl/"> - <wsdl:types> - <schema elementFormDefault="qualified" targetNamespace="http://tempuri.org/" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:intf="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"> - <element name="findAddress"> - <complexType> - <sequence> - <element name="name" nillable="true" type="xsd:string"/> - </sequence> - </complexType> - </element> - <complexType name="Address"> - <sequence> - <element name="province" nillable="true" type="xsd:string"/> - <element name="city" nillable="true" type="xsd:string"/> - <element name="street" nillable="true" type="xsd:string"/> - <element name="postalCode" nillable="true" type="xsd:string"/> - <element name="phoneNumber" nillable="true" type="impl:PhoneNumber"/> - </sequence> - </complexType> - <complexType name="PhoneNumber"> - <sequence> - <element name="area" type="xsd:int"/> - <element name="prefix" type="xsd:int"/> - <element name="number" type="xsd:int"/> - </sequence> - </complexType> - <element name="findAddressResponse"> - <complexType> - <sequence> - <element name="findAddressReturn" nillable="true" type="impl:Address"/> - </sequence> - </complexType> - </element> - <element name="saveAddress"> - <complexType> - <sequence> - <element name="name" nillable="true" type="xsd:string"/> - <element name="address" nillable="true" type="impl:Address"/> - </sequence> - </complexType> - </element> - <element name="saveAddressResponse"> - <complexType> - <sequence/> - </complexType> - </element> - <complexType name="AddressHeaderType"> - <all> - <element name="a" type="int"/> - <element name="b" type="boolean"/> - <element name="s" nillable="true" type="string"/> - </all> - </complexType> - <element name="AddressHeader" nillable="true" type="impl:AddressHeaderType"/> - </schema> - </wsdl:types> - <wsdl:message name="saveAddressRequest"> - <wsdl:part name="parameters" element="intf:saveAddress"/> - </wsdl:message> - <wsdl:message name="findAddressRequest"> - <wsdl:part name="parameters" element="intf:findAddress"/> - <wsdl:part name="AddressHeader" element="intf:AddressHeader"/> - </wsdl:message> - <wsdl:message name="findAddressResponse"> - <wsdl:part name="parameters" element="intf:findAddressResponse"/> - </wsdl:message> - <wsdl:message name="saveAddressResponse"> - <wsdl:part name="parameters" element="intf:saveAddressResponse"/> - </wsdl:message> - <wsdl:message name="parameterfault"> - <part name="part3" element="intf:findAddress" /> - </wsdl:message> - <wsdl:portType name="AddressBook"> - <wsdl:operation name="findAddress"> - <wsdl:input name="findAddressRequest" message="intf:findAddressRequest"/> - <wsdl:output name="findAddressResponse" message="intf:findAddressResponse"/> - <wsdl:fault name="f1" message="intf:parameterfault"/> - </wsdl:operation> - <wsdl:operation name="saveAddress"> - <wsdl:input name="saveAddressRequest" message="intf:saveAddressRequest"/> - <wsdl:output name="saveAddressResponse" message="intf:saveAddressResponse"/> - </wsdl:operation> - </wsdl:portType> - <wsdl:binding name="AddressBookSoapBinding" type="intf:AddressBook"> - <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/> - <wsdl:operation name="findAddress"> - <wsdlsoap:operation soapAction=""/> - <wsdl:input name="findAddressRequest"> - <wsdlsoap:header message="intf:findAddressRequest" part="AddressHeader" use="literal"> - <wsdlsoap:headerfault message="intf:findAddressRequest" part="AddressHeader" use="literal" namespace="http://tempuri.org/"/> - </wsdlsoap:header> - <wsdlsoap:body parts="parameters" use="literal"/> - </wsdl:input> - <wsdl:output name="findAddressResponse"> - <wsdlsoap:body use="literal"/> - </wsdl:output> - <wsdl:fault name="f1"> - <wsdlsoap:fault use="literal" name="f1" namespace="http://tempuri.org/nowhere"/> - </wsdl:fault> - </wsdl:operation> - <wsdl:operation name="saveAddress"> - <wsdlsoap:operation soapAction=""/> - <wsdl:input name="saveAddressRequest"> - <wsdlsoap:body use="literal"/> - </wsdl:input> - <wsdl:output name="saveAddressResponse"> - <wsdlsoap:body use="literal"/> - </wsdl:output> - </wsdl:operation> - </wsdl:binding> - <wsdl:service name="AddressBookService"> - <wsdl:port name="AddressBook" binding="intf:AddressBookSoapBinding"> - <wsdlsoap:address location="http://tempuri.org/AddressBook"/> - </wsdl:port> - </wsdl:service> -</wsdl:definitions> diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2019-4/testcase.xml b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2019-4/testcase.xml deleted file mode 100644 index 1949a53f3..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2019-4/testcase.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<testcase name="2019-4"> - <description> - This is an example of a non conformant wsdl containing a document literal binding - wih a nampace attribute specified the soapbind:headerfault element. - </description> - <expectedFailures> - <assertion id="BP2019" tadID="SSBP10"/> - <assertion id="BP2019" tadID="AP10"/> - </expectedFailures> -</testcase>
\ No newline at end of file diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2020-1/2020-1.wsdl b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2020-1/2020-1.wsdl deleted file mode 100644 index 0290459ca..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2020-1/2020-1.wsdl +++ /dev/null @@ -1,97 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<wsdl:definitions targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:intf="http://tempuri.org/" xmlns:impl="http://tempuri.org/" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns="http://schemas.xmlsoap.org/wsdl/"> - <wsdl:types> - <schema elementFormDefault="qualified" targetNamespace="http://tempuri.org/" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:intf="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"> - - <complexType name="Address"> - <sequence> - <element name="province" nillable="true" type="xsd:string"/> - <element name="city" nillable="true" type="xsd:string"/> - <element name="street" nillable="true" type="xsd:string"/> - <element name="postalCode" nillable="true" type="xsd:string"/> - <element name="phoneNumber" nillable="true" type="impl:PhoneNumber"/> - </sequence> - </complexType> - <complexType name="PhoneNumber"> - <sequence> - <element name="area" type="xsd:int"/> - <element name="prefix" type="xsd:int"/> - <element name="number" type="xsd:int"/> - </sequence> - </complexType> - <complexType name="findAddressResponse"> - <sequence> - <element name="findAddressReturn" nillable="true" type="impl:Address"/> - </sequence> - </complexType> - <complexType name="saveAddress"> - <sequence> - <element name="name" nillable="true" type="xsd:string"/> - <element name="address" nillable="true" type="impl:Address"/> - </sequence> - </complexType> - <complexType name="saveAddressResponse"> - <sequence/> - </complexType> - <complexType name="AddressHeaderType"> - <all> - <element name="a" type="int"/> - <element name="b" type="boolean"/> - <element name="s" nillable="true" type="string"/> - </all> - </complexType> - <element name="AddressHeader" type="impl:AddressHeaderType"/> - </schema> - </wsdl:types> - <wsdl:message name="saveAddressRequest"> - <wsdl:part name="parameters" type="intf:saveAddress"/> - </wsdl:message> - <wsdl:message name="findAddressRequest"> - <wsdl:part name="parameters" type="xsd:string"/> - <wsdl:part name="AddressHeader" element="intf:AddressHeader"/> - </wsdl:message> - <wsdl:message name="findAddressResponse"> - <wsdl:part name="parameters" type="intf:findAddressResponse"/> - </wsdl:message> - <wsdl:message name="saveAddressResponse"> - <wsdl:part name="parameters" type="intf:saveAddressResponse"/> - </wsdl:message> - <wsdl:portType name="AddressBook"> - <wsdl:operation name="findAddress"> - <wsdl:input name="findAddressRequest" message="intf:findAddressRequest"/> - <wsdl:output name="findAddressResponse" message="intf:findAddressResponse"/> - </wsdl:operation> - <wsdl:operation name="saveAddress"> - <wsdl:input name="saveAddressRequest" message="intf:saveAddressRequest"/> - <wsdl:output name="saveAddressResponse" message="intf:saveAddressResponse"/> - </wsdl:operation> - </wsdl:portType> - <wsdl:binding name="AddressBookSoapBinding" type="intf:AddressBook"> - <wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/> - <wsdl:operation name="findAddress"> - <wsdlsoap:operation soapAction=""/> - <wsdl:input name="findAddressRequest"> - <wsdlsoap:header message="intf:findAddressRequest" part="AddressHeader" use="literal"> - </wsdlsoap:header> - <wsdlsoap:body parts="parameters" use="literal" namespace="http://tempuri.org/"/> - </wsdl:input> - <wsdl:output name="findAddressResponse"> - <wsdlsoap:body use="literal" namespace="http://tempuri.org/"/> - </wsdl:output> - </wsdl:operation> - <wsdl:operation name="saveAddress"> - <wsdlsoap:operation soapAction=""/> - <wsdl:input name="saveAddressRequest"> - <wsdlsoap:body use="literal"/> - </wsdl:input> - <wsdl:output name="saveAddressResponse"> - <wsdlsoap:body use="literal" namespace="http://tempuri.org/"/> - </wsdl:output> - </wsdl:operation> - </wsdl:binding> - <wsdl:service name="AddressBookService"> - <wsdl:port name="AddressBook" binding="intf:AddressBookSoapBinding"> - <wsdlsoap:address location="http://tempuri.org/AddressBook"/> - </wsdl:port> - </wsdl:service> -</wsdl:definitions> diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2020-1/testcase.xml b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2020-1/testcase.xml deleted file mode 100644 index 6bcccb3d6..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2020-1/testcase.xml +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<testcase name="2020-1"> - <description> - This is an example of a non conformant wsdl containing a rpc literal binding - wih a nampace attribute missing from a soapbind:body element. - </description> - <expectedFailures> - <assertion id="BP2020" tadID="SSBP10"/> - <assertion id="BP2020" tadID="AP10"/> - </expectedFailures> - -</testcase>
\ No newline at end of file diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2020-2/2020-2.wsdl b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2020-2/2020-2.wsdl deleted file mode 100644 index 93ff63703..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2020-2/2020-2.wsdl +++ /dev/null @@ -1,97 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<wsdl:definitions targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:intf="http://tempuri.org/" xmlns:impl="http://tempuri.org/" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns="http://schemas.xmlsoap.org/wsdl/"> - <wsdl:types> - <schema elementFormDefault="qualified" targetNamespace="http://tempuri.org/" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:intf="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"> - - <complexType name="Address"> - <sequence> - <element name="province" nillable="true" type="xsd:string"/> - <element name="city" nillable="true" type="xsd:string"/> - <element name="street" nillable="true" type="xsd:string"/> - <element name="postalCode" nillable="true" type="xsd:string"/> - <element name="phoneNumber" nillable="true" type="impl:PhoneNumber"/> - </sequence> - </complexType> - <complexType name="PhoneNumber"> - <sequence> - <element name="area" type="xsd:int"/> - <element name="prefix" type="xsd:int"/> - <element name="number" type="xsd:int"/> - </sequence> - </complexType> - <complexType name="findAddressResponse"> - <sequence> - <element name="findAddressReturn" nillable="true" type="impl:Address"/> - </sequence> - </complexType> - <complexType name="saveAddress"> - <sequence> - <element name="name" nillable="true" type="xsd:string"/> - <element name="address" nillable="true" type="impl:Address"/> - </sequence> - </complexType> - <complexType name="saveAddressResponse"> - <sequence/> - </complexType> - <complexType name="AddressHeaderType"> - <all> - <element name="a" type="int"/> - <element name="b" type="boolean"/> - <element name="s" nillable="true" type="string"/> - </all> - </complexType> - <element name="AddressHeader" type="impl:AddressHeaderType"/> - </schema> - </wsdl:types> - <wsdl:message name="saveAddressRequest"> - <wsdl:part name="parameters" type="intf:saveAddress"/> - </wsdl:message> - <wsdl:message name="findAddressRequest"> - <wsdl:part name="parameters" type="xsd:string"/> - <wsdl:part name="AddressHeader" element="intf:AddressHeader"/> - </wsdl:message> - <wsdl:message name="findAddressResponse"> - <wsdl:part name="parameters" type="intf:findAddressResponse"/> - </wsdl:message> - <wsdl:message name="saveAddressResponse"> - <wsdl:part name="parameters" type="intf:saveAddressResponse"/> - </wsdl:message> - <wsdl:portType name="AddressBook"> - <wsdl:operation name="findAddress"> - <wsdl:input name="findAddressRequest" message="intf:findAddressRequest"/> - <wsdl:output name="findAddressResponse" message="intf:findAddressResponse"/> - </wsdl:operation> - <wsdl:operation name="saveAddress"> - <wsdl:input name="saveAddressRequest" message="intf:saveAddressRequest"/> - <wsdl:output name="saveAddressResponse" message="intf:saveAddressResponse"/> - </wsdl:operation> - </wsdl:portType> - <wsdl:binding name="AddressBookSoapBinding" type="intf:AddressBook"> - <wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/> - <wsdl:operation name="findAddress"> - <wsdlsoap:operation soapAction=""/> - <wsdl:input name="findAddressRequest"> - <wsdlsoap:header message="intf:findAddressRequest" part="AddressHeader" use="literal"> - </wsdlsoap:header> - <wsdlsoap:body parts="parameters" use="literal" namespace="2020.xsd"/> - </wsdl:input> - <wsdl:output name="findAddressResponse"> - <wsdlsoap:body use="literal" namespace="http://tempuri.org/"/> - </wsdl:output> - </wsdl:operation> - <wsdl:operation name="saveAddress"> - <wsdlsoap:operation soapAction=""/> - <wsdl:input name="saveAddressRequest"> - <wsdlsoap:body use="literal" namespace="http://tempuri.org/"/> - </wsdl:input> - <wsdl:output name="saveAddressResponse"> - <wsdlsoap:body use="literal" namespace="http://tempuri.org/"/> - </wsdl:output> - </wsdl:operation> - </wsdl:binding> - <wsdl:service name="AddressBookService"> - <wsdl:port name="AddressBook" binding="intf:AddressBookSoapBinding"> - <wsdlsoap:address location="http://tempuri.org/AddressBook"/> - </wsdl:port> - </wsdl:service> -</wsdl:definitions> diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2020-2/testcase.xml b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2020-2/testcase.xml deleted file mode 100644 index 09741808d..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2020-2/testcase.xml +++ /dev/null @@ -1,13 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<testcase name="2020-2"> - <description> - This is an example of a non conformant wsdl containing a rpc literal binding - wih a nampace attribute specified in the soapbind:body element that has a - value that is not an absolute URI. - </description> - <expectedFailures> - <assertion id="BP2020" tadID="SSBP10"/> - <assertion id="BP2020" tadID="AP10"/> - </expectedFailures> - -</testcase>
\ No newline at end of file diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2105-1/2105-1.wsdl b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2105-1/2105-1.wsdl deleted file mode 100644 index d4415cb49..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2105-1/2105-1.wsdl +++ /dev/null @@ -1,45 +0,0 @@ -<definitions - xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" - xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" - xmlns:s="http://www.w3.org/2001/XMLSchema" - xmlns:s0="http://tempuri.org/" - xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" - xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" - xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" - targetNamespace="http://tempuri.org/" xmlns="http://schemas.xmlsoap.org/wsdl/"> - <documentation> - </documentation> - <types/> - <import namespace="http://tempuri.org/2105a" location="2105a.wsdl"/> - <import namespace="http://tempuri.org/2105b" location="2105b.wsdl"/> - - <message name="echoStringIn"> - <part name="parameters" type="s:string"/> - </message> - <message name="echoStringOut"> - <part name="parameters" type="s:string" /> - </message> - <portType name="EchoPortType"> - <operation name="echoString" parameterOrder="parameters"> - <input message="s0:echoStringIn" /> - <output message="s0:echoStringOut" /> - </operation> - </portType> - <binding name="EchoBinding" type="s0:EchoPortType"> - <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="rpc" /> - <operation name="echoString"> - <soap:operation soapAction="http://tempuri.org/echoString" style="rpc" /> - <input> - <soap:body use="literal" namespace="htp://org.org"/> - </input> - <output> - <soap:body use="literal" namespace="htp://org.org" /> - </output> - </operation> - </binding> - <service name="EchoService"> - <port name="EchoPort" binding="s0:EchoBinding"> - <soap:address location="http://tempuri.org/"/> - </port> - </service> -</definitions>
\ No newline at end of file diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2105-1/2105a.wsdl b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2105-1/2105a.wsdl deleted file mode 100644 index 831e79a53..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2105-1/2105a.wsdl +++ /dev/null @@ -1,10 +0,0 @@ -<definitions - xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" - xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" - xmlns:s="http://www.w3.org/2001/XMLSchema" - xmlns:s0="http://tempuri.org/2105a" - xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" - xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" - xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" - targetNamespace="http://tempuri.org/2105a" xmlns="http://schemas.xmlsoap.org/wsdl/"> -</definitions>
\ No newline at end of file diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2105-1/2105b.wsdl b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2105-1/2105b.wsdl deleted file mode 100644 index 27079b325..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2105-1/2105b.wsdl +++ /dev/null @@ -1,10 +0,0 @@ -<definitions - xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" - xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" - xmlns:s="http://www.w3.org/2001/XMLSchema" - xmlns:s0="http://tempuri.org/2105b" - xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" - xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" - xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" - targetNamespace="http://tempuri.org/2105b" xmlns="http://schemas.xmlsoap.org/wsdl/"> -</definitions>
\ No newline at end of file diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2105-1/testcase.xml b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2105-1/testcase.xml deleted file mode 100644 index 267fc0b61..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2105-1/testcase.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<testcase name="2105-1"> - <description> - This is an example of a non conformant wsdl containing a types - element preceding the 2 import elements. - </description> - <expectedFailures> - <assertion id="BP2105" tadID="SSBP10"/> - <assertion id="BP2105" tadID="AP10"/> - </expectedFailures> -</testcase>
\ No newline at end of file diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2105-2/2105-2.wsdl b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2105-2/2105-2.wsdl deleted file mode 100644 index d41147f7c..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2105-2/2105-2.wsdl +++ /dev/null @@ -1,45 +0,0 @@ -<definitions - xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" - xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" - xmlns:s="http://www.w3.org/2001/XMLSchema" - xmlns:s0="http://tempuri.org/" - xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" - xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" - xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" - targetNamespace="http://tempuri.org/" xmlns="http://schemas.xmlsoap.org/wsdl/"> - <documentation> - </documentation> - <import namespace="http://tempuri.org/2105a" location="2105a.wsdl"/> - <types/> - <import namespace="http://tempuri.org/2105b" location="2105b.wsdl"/> - - <message name="echoStringIn"> - <part name="parameters" type="s:string"/> - </message> - <message name="echoStringOut"> - <part name="parameters" type="s:string" /> - </message> - <portType name="EchoPortType"> - <operation name="echoString" parameterOrder="parameters"> - <input message="s0:echoStringIn" /> - <output message="s0:echoStringOut" /> - </operation> - </portType> - <binding name="EchoBinding" type="s0:EchoPortType"> - <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="rpc" /> - <operation name="echoString"> - <soap:operation soapAction="http://tempuri.org/echoString" style="rpc" /> - <input> - <soap:body use="literal" namespace="htp://org.org"/> - </input> - <output> - <soap:body use="literal" namespace="htp://org.org" /> - </output> - </operation> - </binding> - <service name="EchoService"> - <port name="EchoPort" binding="s0:EchoBinding"> - <soap:address location="http://tempuri.org/"/> - </port> - </service> -</definitions>
\ No newline at end of file diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2105-2/2105a.wsdl b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2105-2/2105a.wsdl deleted file mode 100644 index 831e79a53..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2105-2/2105a.wsdl +++ /dev/null @@ -1,10 +0,0 @@ -<definitions - xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" - xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" - xmlns:s="http://www.w3.org/2001/XMLSchema" - xmlns:s0="http://tempuri.org/2105a" - xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" - xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" - xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" - targetNamespace="http://tempuri.org/2105a" xmlns="http://schemas.xmlsoap.org/wsdl/"> -</definitions>
\ No newline at end of file diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2105-2/2105b.wsdl b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2105-2/2105b.wsdl deleted file mode 100644 index 27079b325..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2105-2/2105b.wsdl +++ /dev/null @@ -1,10 +0,0 @@ -<definitions - xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" - xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" - xmlns:s="http://www.w3.org/2001/XMLSchema" - xmlns:s0="http://tempuri.org/2105b" - xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" - xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" - xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" - targetNamespace="http://tempuri.org/2105b" xmlns="http://schemas.xmlsoap.org/wsdl/"> -</definitions>
\ No newline at end of file diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2105-2/testcase.xml b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2105-2/testcase.xml deleted file mode 100644 index 9a599f920..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2105-2/testcase.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<testcase name="2105-2"> - <description> - This is an example of a non conformant wsdl containing a types - element between the 2 import elements. - </description> - <expectedFailures> - <assertion id="BP2105" tadID="SSBP10"/> - <assertion id="BP2105" tadID="AP10"/> - </expectedFailures> -</testcase>
\ No newline at end of file diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2117-1/2117-1.wsdl b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2117-1/2117-1.wsdl deleted file mode 100644 index 6cb8fef79..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2117-1/2117-1.wsdl +++ /dev/null @@ -1,97 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<wsdl:definitions targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:intf="http://tempuri.org/" xmlns:impl="http://tempuri.org/" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns="http://schemas.xmlsoap.org/wsdl/"> - <wsdl:types> - <schema elementFormDefault="qualified" targetNamespace="http://tempuri.org/" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:intf="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"> - - <complexType name="Address"> - <sequence> - <element name="province" nillable="true" type="xsd:string"/> - <element name="city" nillable="true" type="xsd:string"/> - <element name="street" nillable="true" type="xsd:string"/> - <element name="postalCode" nillable="true" type="xsd:string"/> - <element name="phoneNumber" nillable="true" type="impl:PhoneNumber"/> - </sequence> - </complexType> - <complexType name="PhoneNumber"> - <sequence> - <element name="area" type="xsd:int"/> - <element name="prefix" type="xsd:int"/> - <element name="number" type="xsd:int"/> - </sequence> - </complexType> - <complexType name="findAddressResponse"> - <sequence> - <element name="findAddressReturn" nillable="true" type="impl:Address"/> - </sequence> - </complexType> - <complexType name="saveAddress"> - <sequence> - <element name="name" nillable="true" type="xsd:string"/> - <element name="address" nillable="true" type="impl:Address"/> - </sequence> - </complexType> - <complexType name="saveAddressResponse"> - <sequence/> - </complexType> - <complexType name="AddressHeaderType"> - <all> - <element name="a" type="int"/> - <element name="b" type="boolean"/> - <element name="s" nillable="true" type="string"/> - </all> - </complexType> - <element name="AddressHeader" type="impl:AddressHeaderType"/> - </schema> - </wsdl:types> - <wsdl:message name="saveAddressRequest"> - <wsdl:part name="parameters" type="intf:saveAddress"/> - </wsdl:message> - <wsdl:message name="findAddressRequest"> - <wsdl:part name="parameters" type="xsd:string"/> - <wsdl:part name="AddressHeader" element="intf:AddressHeader"/> - </wsdl:message> - <wsdl:message name="findAddressResponse"> - <wsdl:part name="parameters" type="intf:findAddressResponse"/> - </wsdl:message> - <wsdl:message name="saveAddressResponse"> - <wsdl:part name="parameters" type="intf:saveAddressResponse"/> - </wsdl:message> - <wsdl:portType name="AddressBook"> - <wsdl:operation name="findAddress"> - <wsdl:input name="findAddressRequest" message="intf:findAddressRequest"/> - <wsdl:output name="findAddressResponse" message="intf:findAddressResponse"/> - </wsdl:operation> - <wsdl:operation name="saveAddress"> - <wsdl:input name="saveAddressRequest" message="intf:saveAddressRequest"/> - <wsdl:output name="saveAddressResponse" message="intf:saveAddressResponse"/> - </wsdl:operation> - </wsdl:portType> - <wsdl:binding name="AddressBookSoapBinding" type="intf:AddressBook"> - <wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/> - <wsdl:operation name="findAddress"> - <wsdlsoap:operation soapAction=""/> - <wsdl:input name="findAddressRequest"> - <wsdlsoap:header message="intf:findAddressRequest" part="AddressHeader" use="literal" namespace="http://tempuri.org/"> - </wsdlsoap:header> - <wsdlsoap:body parts="parameters" use="literal" namespace="http://tempuri.org/"/> - </wsdl:input> - <wsdl:output name="findAddressResponse"> - <wsdlsoap:body use="literal" namespace="http://tempuri.org/"/> - </wsdl:output> - </wsdl:operation> - <wsdl:operation name="saveAddress"> - <wsdlsoap:operation soapAction=""/> - <wsdl:input name="saveAddressRequest"> - <wsdlsoap:body use="literal" namespace="http://tempuri.org/"/> - </wsdl:input> - <wsdl:output name="saveAddressResponse"> - <wsdlsoap:body use="literal" namespace="http://tempuri.org/"/> - </wsdl:output> - </wsdl:operation> - </wsdl:binding> - <wsdl:service name="AddressBookService"> - <wsdl:port name="AddressBook" binding="intf:AddressBookSoapBinding"> - <wsdlsoap:address location="http://tempuri.org/AddressBook"/> - </wsdl:port> - </wsdl:service> -</wsdl:definitions> diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2117-1/testcase.xml b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2117-1/testcase.xml deleted file mode 100644 index 6137ac315..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2117-1/testcase.xml +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<testcase name="2117-1"> - <description> - This is an example of a non conformant wsdl containing a rpc literal binding - wih a nampace attribute specified the soapbind:fault element. - </description> - <expectedFailures> - <assertion id="BP2117" tadID="SSBP10"/> - <assertion id="BP2117" tadID="AP10"/> - </expectedFailures> - -</testcase>
\ No newline at end of file diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2117-2/2117-2.wsdl b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2117-2/2117-2.wsdl deleted file mode 100644 index 1f822a71d..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2117-2/2117-2.wsdl +++ /dev/null @@ -1,104 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<wsdl:definitions targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:intf="http://tempuri.org/" xmlns:impl="http://tempuri.org/" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns="http://schemas.xmlsoap.org/wsdl/"> - <wsdl:types> - <schema elementFormDefault="qualified" targetNamespace="http://tempuri.org/" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:intf="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"> - - <complexType name="Address"> - <sequence> - <element name="province" nillable="true" type="xsd:string"/> - <element name="city" nillable="true" type="xsd:string"/> - <element name="street" nillable="true" type="xsd:string"/> - <element name="postalCode" nillable="true" type="xsd:string"/> - <element name="phoneNumber" nillable="true" type="impl:PhoneNumber"/> - </sequence> - </complexType> - <complexType name="PhoneNumber"> - <sequence> - <element name="area" type="xsd:int"/> - <element name="prefix" type="xsd:int"/> - <element name="number" type="xsd:int"/> - </sequence> - </complexType> - <complexType name="findAddressResponse"> - <sequence> - <element name="findAddressReturn" nillable="true" type="impl:Address"/> - </sequence> - </complexType> - <complexType name="saveAddress"> - <sequence> - <element name="name" nillable="true" type="xsd:string"/> - <element name="address" nillable="true" type="impl:Address"/> - </sequence> - </complexType> - <complexType name="saveAddressResponse"> - <sequence/> - </complexType> - <complexType name="AddressHeaderType"> - <all> - <element name="a" type="int"/> - <element name="b" type="boolean"/> - <element name="s" nillable="true" type="string"/> - </all> - </complexType> - <element name="AddressHeader" type="impl:AddressHeaderType"/> - </schema> - </wsdl:types> - <wsdl:message name="saveAddressRequest"> - <wsdl:part name="parameters" type="intf:saveAddress"/> - </wsdl:message> - <wsdl:message name="findAddressRequest"> - <wsdl:part name="parameters" type="xsd:string"/> - <wsdl:part name="AddressHeader" element="intf:AddressHeader"/> - </wsdl:message> - <wsdl:message name="findAddressResponse"> - <wsdl:part name="parameters" type="intf:findAddressResponse"/> - </wsdl:message> - <wsdl:message name="saveAddressResponse"> - <wsdl:part name="parameters" type="intf:saveAddressResponse"/> - </wsdl:message> - <wsdl:message name="parameterfault"> - <part name="part3" type="xsd:string" /> - </wsdl:message> - <wsdl:portType name="AddressBook"> - <wsdl:operation name="findAddress"> - <wsdl:input name="findAddressRequest" message="intf:findAddressRequest"/> - <wsdl:output name="findAddressResponse" message="intf:findAddressResponse"/> - <wsdl:fault name="f1" message="intf:parameterfault"/> - </wsdl:operation> - <wsdl:operation name="saveAddress"> - <wsdl:input name="saveAddressRequest" message="intf:saveAddressRequest"/> - <wsdl:output name="saveAddressResponse" message="intf:saveAddressResponse"/> - </wsdl:operation> - </wsdl:portType> - <wsdl:binding name="AddressBookSoapBinding" type="intf:AddressBook"> - <wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/> - <wsdl:operation name="findAddress"> - <wsdlsoap:operation soapAction=""/> - <wsdl:input name="findAddressRequest"> - <wsdlsoap:header message="intf:findAddressRequest" part="AddressHeader" use="literal"> - </wsdlsoap:header> - <wsdlsoap:body parts="parameters" use="literal" namespace="http://tempuri.org/"/> - </wsdl:input> - <wsdl:output name="findAddressResponse"> - <wsdlsoap:body use="literal" namespace="http://tempuri.org/"/> - </wsdl:output> - <wsdl:fault name="f1"> - <wsdlsoap:fault use="literal" name="f1" namespace="http://tempuri.org/"/> - </wsdl:fault> - </wsdl:operation> - <wsdl:operation name="saveAddress"> - <wsdlsoap:operation soapAction=""/> - <wsdl:input name="saveAddressRequest"> - <wsdlsoap:body use="literal" namespace="http://tempuri.org/"/> - </wsdl:input> - <wsdl:output name="saveAddressResponse"> - <wsdlsoap:body use="literal" namespace="http://tempuri.org/"/> - </wsdl:output> - </wsdl:operation> - </wsdl:binding> - <wsdl:service name="AddressBookService"> - <wsdl:port name="AddressBook" binding="intf:AddressBookSoapBinding"> - <wsdlsoap:address location="http://tempuri.org/AddressBook"/> - </wsdl:port> - </wsdl:service> -</wsdl:definitions> diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2117-2/testcase.xml b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2117-2/testcase.xml deleted file mode 100644 index 11401e2c9..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2117-2/testcase.xml +++ /dev/null @@ -1,14 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<testcase name="2117-2"> - <description> - This is an example of a non conformant wsdl containing a rpc literal binding - wih a nampace attribute specified the soapbind:fault element. - </description> - <expectedFailures> - <assertion id="BP2117" tadID="SSBP10"/> - <assertion id="BP2117" tadID="AP10"/> - <assertion id="BP2113" tadID="SSBP10"/> - <assertion id="BP2113" tadID="AP10"/> - </expectedFailures> - -</testcase>
\ No newline at end of file diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2117-3/2117-3.wsdl b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2117-3/2117-3.wsdl deleted file mode 100644 index 0288f6026..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2117-3/2117-3.wsdl +++ /dev/null @@ -1,105 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<wsdl:definitions targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:intf="http://tempuri.org/" xmlns:impl="http://tempuri.org/" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns="http://schemas.xmlsoap.org/wsdl/"> - <wsdl:types> - <schema elementFormDefault="qualified" targetNamespace="http://tempuri.org/" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:intf="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"> - - <complexType name="Address"> - <sequence> - <element name="province" nillable="true" type="xsd:string"/> - <element name="city" nillable="true" type="xsd:string"/> - <element name="street" nillable="true" type="xsd:string"/> - <element name="postalCode" nillable="true" type="xsd:string"/> - <element name="phoneNumber" nillable="true" type="impl:PhoneNumber"/> - </sequence> - </complexType> - <complexType name="PhoneNumber"> - <sequence> - <element name="area" type="xsd:int"/> - <element name="prefix" type="xsd:int"/> - <element name="number" type="xsd:int"/> - </sequence> - </complexType> - <complexType name="findAddressResponse"> - <sequence> - <element name="findAddressReturn" nillable="true" type="impl:Address"/> - </sequence> - </complexType> - <complexType name="saveAddress"> - <sequence> - <element name="name" nillable="true" type="xsd:string"/> - <element name="address" nillable="true" type="impl:Address"/> - </sequence> - </complexType> - <complexType name="saveAddressResponse"> - <sequence/> - </complexType> - <complexType name="AddressHeaderType"> - <all> - <element name="a" type="int"/> - <element name="b" type="boolean"/> - <element name="s" nillable="true" type="string"/> - </all> - </complexType> - <element name="AddressHeader" type="impl:AddressHeaderType"/> - </schema> - </wsdl:types> - <wsdl:message name="saveAddressRequest"> - <wsdl:part name="parameters" type="intf:saveAddress"/> - </wsdl:message> - <wsdl:message name="findAddressRequest"> - <wsdl:part name="parameters" type="xsd:string"/> - <wsdl:part name="AddressHeader" element="intf:AddressHeader"/> - </wsdl:message> - <wsdl:message name="findAddressResponse"> - <wsdl:part name="parameters" type="intf:findAddressResponse"/> - </wsdl:message> - <wsdl:message name="saveAddressResponse"> - <wsdl:part name="parameters" type="intf:saveAddressResponse"/> - </wsdl:message> - <wsdl:message name="parameterfault"> - <part name="part3" type="xsd:string" /> - </wsdl:message> - <wsdl:portType name="AddressBook"> - <wsdl:operation name="findAddress"> - <wsdl:input name="findAddressRequest" message="intf:findAddressRequest"/> - <wsdl:output name="findAddressResponse" message="intf:findAddressResponse"/> - <wsdl:fault name="f1" message="intf:parameterfault"/> - </wsdl:operation> - <wsdl:operation name="saveAddress"> - <wsdl:input name="saveAddressRequest" message="intf:saveAddressRequest"/> - <wsdl:output name="saveAddressResponse" message="intf:saveAddressResponse"/> - </wsdl:operation> - </wsdl:portType> - <wsdl:binding name="AddressBookSoapBinding" type="intf:AddressBook"> - <wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/> - <wsdl:operation name="findAddress"> - <wsdlsoap:operation soapAction=""/> - <wsdl:input name="findAddressRequest"> - <wsdlsoap:header message="intf:findAddressRequest" part="AddressHeader" use="literal"> - <wsdlsoap:headerfault message="intf:findAddressRequest" part="AddressHeader" use="literal" namespace="http://tempuri.org/"/> - </wsdlsoap:header> - <wsdlsoap:body parts="parameters" use="literal" namespace="http://tempuri.org/"/> - </wsdl:input> - <wsdl:output name="findAddressResponse"> - <wsdlsoap:body use="literal" namespace="http://tempuri.org/"/> - </wsdl:output> - <wsdl:fault name="f1"> - <wsdlsoap:fault use="literal" name="f1"/> - </wsdl:fault> - </wsdl:operation> - <wsdl:operation name="saveAddress"> - <wsdlsoap:operation soapAction=""/> - <wsdl:input name="saveAddressRequest"> - <wsdlsoap:body use="literal" namespace="http://tempuri.org/"/> - </wsdl:input> - <wsdl:output name="saveAddressResponse"> - <wsdlsoap:body use="literal" namespace="http://tempuri.org/"/> - </wsdl:output> - </wsdl:operation> - </wsdl:binding> - <wsdl:service name="AddressBookService"> - <wsdl:port name="AddressBook" binding="intf:AddressBookSoapBinding"> - <wsdlsoap:address location="http://tempuri.org/AddressBook"/> - </wsdl:port> - </wsdl:service> -</wsdl:definitions> diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2117-3/testcase.xml b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2117-3/testcase.xml deleted file mode 100644 index b7d072e90..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2117-3/testcase.xml +++ /dev/null @@ -1,14 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<testcase name="2117-3"> - <description> - This is an example of a non conformant wsdl containing a rpc literal binding - wih a nampace attribute specified the soapbind:headerfault element. - </description> - <expectedFailures> - <assertion id="BP2117" tadID="SSBP10"/> - <assertion id="BP2117" tadID="AP10"/> - <assertion id="BP2113" tadID="SSBP10"/> - <assertion id="BP2113" tadID="AP10"/> - </expectedFailures> - -</testcase>
\ No newline at end of file diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2406-1/2406-1.wsdl b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2406-1/2406-1.wsdl deleted file mode 100644 index ae24860a1..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2406-1/2406-1.wsdl +++ /dev/null @@ -1,33 +0,0 @@ -<?xml version="1.0"?> -<definitions name="SampleService" targetNamespace="http://tempuri.org/" xmlns:tns="http://tempuri.org/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns="http://schemas.xmlsoap.org/wsdl/"> - <message name="getSampleRequest"> - <part name="zipcode" type="xsd:string"/> - </message> - <message name="getSampleResponse"> - <part name="return" type="xsd:float"/> - </message> - <portType name="SamplePortType"> - <operation name="getSample"> - <input message="tns:getSampleRequest"/> - <output message="tns:getSampleResponse"/> - </operation> - </portType> - <binding name="SampleBinding" type="tns:SamplePortType"> - <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/> - <operation name="getSample"> - <soap:operation soapAction=""/> - <input> - <soap:body use="encoded" namespace="http://tempuri.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> - </input> - <output> - <soap:body use="encoded" namespace="http://tempuri.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> - </output> - </operation> - </binding> - <service name="SampleService"> - <documentation></documentation> - <port name="SamplePort" binding="tns:SampleBinding"> - <soap:address location="http://tempuri.org/"/> - </port> - </service> -</definitions> diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2406-1/testcase.xml b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2406-1/testcase.xml deleted file mode 100644 index 73a287d0f..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2406-1/testcase.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<testcase name="2406-1"> - <description> - This is an example of a non-conformant wsdl that fails test assertion BP2406. - </description> - <expectedFailures> - <assertion id="BP2406" tadID="SSBP10"/> - <assertion id="BP2406" tadID="AP10"/> - </expectedFailures> -</testcase>
\ No newline at end of file diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bugzilla/emptySoapBody/emptySoapBody.wsdl b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bugzilla/emptySoapBody/emptySoapBody.wsdl deleted file mode 100644 index 402029653..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bugzilla/emptySoapBody/emptySoapBody.wsdl +++ /dev/null @@ -1,44 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:s0="http://tempuri.org/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" targetNamespace="http://tempuri.org/" xmlns="http://schemas.xmlsoap.org/wsdl/"> - <types> - <s:schema elementFormDefault="qualified" targetNamespace="http://tempuri.org/"> - <s:element name="echoString"> - <s:complexType> - <s:sequence> - <s:element minOccurs="0" maxOccurs="1" name="arg" type="s:string" /> - </s:sequence> - </s:complexType> - </s:element> - </s:schema> - </types> - <message name="setMessageRequest"> - <part name="parameters" element="s0:echoString" /> - </message> - <message name="setMessageResponse"/> - - <portType name="Service1Soap"> - <operation name="setMessage"> - <input message="s0:setMessageRequest" /> - <output message="s0:setMessageResponse" /> - </operation> - </portType> - - <binding name="Service1Soap" type="s0:Service1Soap"> - <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" /> - <operation name="setMessage"> - <soap:operation soapAction="" style="document" /> - <input> - <soap:body use="literal" /> - </input> - <output> - <soap:body use="literal" /> - </output> - </operation> - </binding> - - <service name="Service1"> - <port name="Service1Soap" binding="s0:Service1Soap"> - <soap:address location="http://localhost/WSIService/Service1.asmx" /> - </port> - </service> -</definitions>
\ No newline at end of file diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2010-1/2010-1.wsdl b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2010-1/2010-1.wsdl deleted file mode 100644 index 8b13da096..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2010-1/2010-1.wsdl +++ /dev/null @@ -1,87 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<wsdl:definitions targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:intf="http://tempuri.org/" xmlns:impl="http://tempuri.org/" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns="http://schemas.xmlsoap.org/wsdl/"> - <wsdl:types> - <schema elementFormDefault="qualified" targetNamespace="http://tempuri.org/" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:intf="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"> - <element name="findAddress"> - <complexType> - <sequence> - <element name="name" nillable="true" type="xsd:string"/> - </sequence> - </complexType> - </element> - <complexType name="Address"> - <sequence> - <element name="province" nillable="true" type="xsd:string"/> - <element name="city" nillable="true" type="xsd:string"/> - <element name="street" nillable="true" type="xsd:string"/> - <element name="postalCode" nillable="true" type="xsd:string"/> - <element name="phoneNumber" nillable="true" type="impl:PhoneNumber"/> - </sequence> - </complexType> - <complexType name="PhoneNumber"> - <sequence> - <element name="area" type="xsd:int"/> - <element name="prefix" type="xsd:int"/> - <element name="number" type="xsd:int"/> - </sequence> - </complexType> - <element name="findAddressResponse"> - <complexType> - <sequence> - <element name="findAddressReturn" nillable="true" type="impl:Address"/> - </sequence> - </complexType> - </element> - <element name="saveAddress"> - <complexType> - <sequence> - <element name="name" nillable="true" type="xsd:string"/> - <element name="address" nillable="true" type="impl:Address"/> - </sequence> - </complexType> - </element> - <element name="saveAddressResponse"> - <complexType> - <sequence/> - </complexType> - </element> - <complexType name="AddressHeaderType"> - <all> - <element name="a" type="int"/> - <element name="b" type="boolean"/> - <element name="s" nillable="true" type="string"/> - </all> - </complexType> - <element name="AddressHeader" nillable="true" type="impl:AddressHeaderType"/> - </schema> - </wsdl:types> - <wsdl:message name="saveAddressRequest"> - <wsdl:part name="parameters" element="intf:saveAddress"/> - </wsdl:message> - <wsdl:message name="findAddressRequest"> - <wsdl:part name="parameters" element="intf:findAddress"/> - <wsdl:part name="AddressHeader" element="intf:AddressHeader"/> - </wsdl:message> - <wsdl:message name="findAddressResponse"> - <wsdl:part name="parameters" element="intf:findAddressResponse"/> - </wsdl:message> - <wsdl:message name="saveAddressResponse"> - <wsdl:part name="parameters" element="intf:saveAddressResponse"/> - </wsdl:message> - <wsdl:portType name="AddressBook"> - <wsdl:operation name="findAddress"> - <wsdl:input name="findAddressRequest" message="intf:findAddressRequest"/> - <wsdl:output name="findAddressResponse" message="intf:findAddressResponse"/> - </wsdl:operation> - <wsdl:operation name="saveAddress"> - <wsdl:input name="saveAddressRequest" message="intf:saveAddressRequest"/> - <wsdl:output name="saveAddressResponse" message="intf:saveAddressResponse"/> - </wsdl:operation> - <wsdl:operation name="findAddress"> - <wsdl:input name="findAddressRequest" message="intf:findAddressRequest"/> - <wsdl:output name="findAddressResponse" message="intf:findAddressResponse"/> - </wsdl:operation> - </wsdl:portType> - <wsdl:service name="AddressBookService"> - </wsdl:service> -</wsdl:definitions> diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2010-1/testcase.xml b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2010-1/testcase.xml deleted file mode 100644 index 359bafcd4..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2010-1/testcase.xml +++ /dev/null @@ -1,13 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<testcase name="2010-1"> - <description> - This is an example of a non-conformant wsdl that fails test assertion BP2010. - Note this assertion is caught by the base WSDL validator. - So this assertion should be disabled when running in conjunction with the - base validator. - </description> - <expectedFailures> - <assertion id="BP2010" tadID="SSBP10"/> - <assertion id="BP2010" tadID="AP10"/> - </expectedFailures> -</testcase>
\ No newline at end of file diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2011-1/2011-1.wsdl b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2011-1/2011-1.wsdl deleted file mode 100644 index c4308cd74..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2011-1/2011-1.wsdl +++ /dev/null @@ -1,84 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<wsdl:definitions targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:intf="http://tempuri.org/" xmlns:impl="http://tempuri.org/" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns="http://schemas.xmlsoap.org/wsdl/"> - <wsdl:types> - <schema elementFormDefault="qualified" targetNamespace="http://tempuri.org/" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:intf="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"> - <import namespace="2011.xsd" schemaLocation="2011.xsd"/> - <element name="findAddress"> - <complexType> - <sequence> - <element name="name" nillable="true" type="xsd:string"/> - </sequence> - </complexType> - </element> - <complexType name="Address"> - <sequence> - <element name="province" nillable="true" type="xsd:string"/> - <element name="city" nillable="true" type="xsd:string"/> - <element name="street" nillable="true" type="xsd:string"/> - <element name="postalCode" nillable="true" type="xsd:string"/> - <element name="phoneNumber" nillable="true" type="impl:PhoneNumber"/> - </sequence> - </complexType> - <complexType name="PhoneNumber"> - <sequence> - <element name="area" type="xsd:int"/> - <element name="prefix" type="xsd:int"/> - <element name="number" type="xsd:int"/> - </sequence> - </complexType> - <element name="findAddressResponse"> - <complexType> - <sequence> - <element name="findAddressReturn" nillable="true" type="impl:Address"/> - </sequence> - </complexType> - </element> - <element name="saveAddress"> - <complexType> - <sequence> - <element name="name" nillable="true" type="xsd:string"/> - <element name="address" nillable="true" type="impl:Address"/> - </sequence> - </complexType> - </element> - <element name="saveAddressResponse"> - <complexType> - <sequence/> - </complexType> - </element> - <complexType name="AddressHeaderType"> - <all> - <element name="a" type="int"/> - <element name="b" type="boolean"/> - <element name="s" nillable="true" type="string"/> - </all> - </complexType> - <element name="AddressHeader" nillable="true" type="impl:AddressHeaderType"/> - </schema> - </wsdl:types> - <wsdl:message name="saveAddressRequest"> - <wsdl:part name="parameters" element="intf:saveAddress"/> - </wsdl:message> - <wsdl:message name="findAddressRequest"> - <wsdl:part name="parameters" element="intf:findAddress"/> - <wsdl:part name="AddressHeader" element="intf:AddressHeader"/> - </wsdl:message> - <wsdl:message name="findAddressResponse"> - <wsdl:part name="parameters" element="intf:findAddressResponse"/> - </wsdl:message> - <wsdl:message name="saveAddressResponse"> - <wsdl:part name="parameters" element="intf:saveAddressResponse"/> - </wsdl:message> - <wsdl:portType name="AddressBook"> - <wsdl:operation name="findAddress"> - <wsdl:input name="findAddressRequest" message="intf:findAddressRequest"/> - <wsdl:output name="findAddressResponse" message="intf:findAddressResponse"/> - </wsdl:operation> - <wsdl:operation name="saveAddress"> - <wsdl:input name="saveAddressRequest" message="intf:saveAddressRequest"/> - <wsdl:output name="saveAddressResponse" message="intf:saveAddressResponse"/> - </wsdl:operation> - </wsdl:portType> - <wsdl:service name="AddressBookService"> - </wsdl:service> -</wsdl:definitions> diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2011-1/2011.xsd b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2011-1/2011.xsd deleted file mode 100644 index 8857f7cf6..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2011-1/2011.xsd +++ /dev/null @@ -1,9 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - <schema elementFormDefault="qualified" - targetNamespace="2011.xsd" - xmlns="http://www.w3.org/2001/XMLSchema" - xmlns:apachesoap="http://xml.apache.org/xml-soap" - xmlns:intf="2011-1.xsd" - xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"> - <import namespace="next.xsd" schemaLocation="next.xsd"/> - </schema>
\ No newline at end of file diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2011-1/next.xsd b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2011-1/next.xsd deleted file mode 100644 index 1a684212d..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2011-1/next.xsd +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<xs:schema - targetNamespace="next.xsd" - xmlns:xs="http://www.w3.org/2001/XMLSchema" - xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" - elementFormDefault="qualified"> - <xs:annotation> - <xs:documentation> - </xs:documentation> - </xs:annotation> -</xs:schema> diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2011-1/testcase.xml b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2011-1/testcase.xml deleted file mode 100644 index 1fb670c89..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2011-1/testcase.xml +++ /dev/null @@ -1,7 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<testcase name="2011-1"> - <description> - This is an example of a onformant wsdl. - </description> - <expectedFailures/> -</testcase>
\ No newline at end of file diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2011-2/2011-2.wsdl b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2011-2/2011-2.wsdl deleted file mode 100644 index c4308cd74..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2011-2/2011-2.wsdl +++ /dev/null @@ -1,84 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<wsdl:definitions targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:intf="http://tempuri.org/" xmlns:impl="http://tempuri.org/" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns="http://schemas.xmlsoap.org/wsdl/"> - <wsdl:types> - <schema elementFormDefault="qualified" targetNamespace="http://tempuri.org/" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:intf="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"> - <import namespace="2011.xsd" schemaLocation="2011.xsd"/> - <element name="findAddress"> - <complexType> - <sequence> - <element name="name" nillable="true" type="xsd:string"/> - </sequence> - </complexType> - </element> - <complexType name="Address"> - <sequence> - <element name="province" nillable="true" type="xsd:string"/> - <element name="city" nillable="true" type="xsd:string"/> - <element name="street" nillable="true" type="xsd:string"/> - <element name="postalCode" nillable="true" type="xsd:string"/> - <element name="phoneNumber" nillable="true" type="impl:PhoneNumber"/> - </sequence> - </complexType> - <complexType name="PhoneNumber"> - <sequence> - <element name="area" type="xsd:int"/> - <element name="prefix" type="xsd:int"/> - <element name="number" type="xsd:int"/> - </sequence> - </complexType> - <element name="findAddressResponse"> - <complexType> - <sequence> - <element name="findAddressReturn" nillable="true" type="impl:Address"/> - </sequence> - </complexType> - </element> - <element name="saveAddress"> - <complexType> - <sequence> - <element name="name" nillable="true" type="xsd:string"/> - <element name="address" nillable="true" type="impl:Address"/> - </sequence> - </complexType> - </element> - <element name="saveAddressResponse"> - <complexType> - <sequence/> - </complexType> - </element> - <complexType name="AddressHeaderType"> - <all> - <element name="a" type="int"/> - <element name="b" type="boolean"/> - <element name="s" nillable="true" type="string"/> - </all> - </complexType> - <element name="AddressHeader" nillable="true" type="impl:AddressHeaderType"/> - </schema> - </wsdl:types> - <wsdl:message name="saveAddressRequest"> - <wsdl:part name="parameters" element="intf:saveAddress"/> - </wsdl:message> - <wsdl:message name="findAddressRequest"> - <wsdl:part name="parameters" element="intf:findAddress"/> - <wsdl:part name="AddressHeader" element="intf:AddressHeader"/> - </wsdl:message> - <wsdl:message name="findAddressResponse"> - <wsdl:part name="parameters" element="intf:findAddressResponse"/> - </wsdl:message> - <wsdl:message name="saveAddressResponse"> - <wsdl:part name="parameters" element="intf:saveAddressResponse"/> - </wsdl:message> - <wsdl:portType name="AddressBook"> - <wsdl:operation name="findAddress"> - <wsdl:input name="findAddressRequest" message="intf:findAddressRequest"/> - <wsdl:output name="findAddressResponse" message="intf:findAddressResponse"/> - </wsdl:operation> - <wsdl:operation name="saveAddress"> - <wsdl:input name="saveAddressRequest" message="intf:saveAddressRequest"/> - <wsdl:output name="saveAddressResponse" message="intf:saveAddressResponse"/> - </wsdl:operation> - </wsdl:portType> - <wsdl:service name="AddressBookService"> - </wsdl:service> -</wsdl:definitions> diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2011-2/2011.xsd b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2011-2/2011.xsd deleted file mode 100644 index 33216d741..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2011-2/2011.xsd +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.1" encoding="UTF-8"?> - <schema elementFormDefault="qualified" - targetNamespace="2011.xsd" - xmlns="http://www.w3.org/2001/XMLSchema" - xmlns:apachesoap="http://xml.apache.org/xml-soap" - xmlns:intf="2011-1.xsd" - xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"> - </schema>
\ No newline at end of file diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2011-2/testcase.xml b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2011-2/testcase.xml deleted file mode 100644 index 0fb70d569..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2011-2/testcase.xml +++ /dev/null @@ -1,18 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<testcase name="2011-2"> - <description> - This is an example of a non-conformant wsdl that should fail test assertion BP2011. - However the prerequisite BP2102 fails before we actually can execute the test assertion. - Note this assertion is caught by the base WSDL validator. - So this assertion should be disabled when running in conjunction with the - base validator. - </description> - <expectedFailures> - <assertion id="BP2102" tadID="SSBP10"/> - <assertion id="BP2122" tadID="SSBP10"/> - <assertion id="BP2202" tadID="SSBP10"/> - <assertion id="BP2102" tadID="AP10"/> - <assertion id="BP2122" tadID="AP10"/> - <assertion id="BP2202" tadID="AP10"/> - </expectedFailures> -</testcase>
\ No newline at end of file diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2011-3/2011-3.wsdl b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2011-3/2011-3.wsdl deleted file mode 100644 index c4308cd74..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2011-3/2011-3.wsdl +++ /dev/null @@ -1,84 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<wsdl:definitions targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:intf="http://tempuri.org/" xmlns:impl="http://tempuri.org/" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns="http://schemas.xmlsoap.org/wsdl/"> - <wsdl:types> - <schema elementFormDefault="qualified" targetNamespace="http://tempuri.org/" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:intf="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"> - <import namespace="2011.xsd" schemaLocation="2011.xsd"/> - <element name="findAddress"> - <complexType> - <sequence> - <element name="name" nillable="true" type="xsd:string"/> - </sequence> - </complexType> - </element> - <complexType name="Address"> - <sequence> - <element name="province" nillable="true" type="xsd:string"/> - <element name="city" nillable="true" type="xsd:string"/> - <element name="street" nillable="true" type="xsd:string"/> - <element name="postalCode" nillable="true" type="xsd:string"/> - <element name="phoneNumber" nillable="true" type="impl:PhoneNumber"/> - </sequence> - </complexType> - <complexType name="PhoneNumber"> - <sequence> - <element name="area" type="xsd:int"/> - <element name="prefix" type="xsd:int"/> - <element name="number" type="xsd:int"/> - </sequence> - </complexType> - <element name="findAddressResponse"> - <complexType> - <sequence> - <element name="findAddressReturn" nillable="true" type="impl:Address"/> - </sequence> - </complexType> - </element> - <element name="saveAddress"> - <complexType> - <sequence> - <element name="name" nillable="true" type="xsd:string"/> - <element name="address" nillable="true" type="impl:Address"/> - </sequence> - </complexType> - </element> - <element name="saveAddressResponse"> - <complexType> - <sequence/> - </complexType> - </element> - <complexType name="AddressHeaderType"> - <all> - <element name="a" type="int"/> - <element name="b" type="boolean"/> - <element name="s" nillable="true" type="string"/> - </all> - </complexType> - <element name="AddressHeader" nillable="true" type="impl:AddressHeaderType"/> - </schema> - </wsdl:types> - <wsdl:message name="saveAddressRequest"> - <wsdl:part name="parameters" element="intf:saveAddress"/> - </wsdl:message> - <wsdl:message name="findAddressRequest"> - <wsdl:part name="parameters" element="intf:findAddress"/> - <wsdl:part name="AddressHeader" element="intf:AddressHeader"/> - </wsdl:message> - <wsdl:message name="findAddressResponse"> - <wsdl:part name="parameters" element="intf:findAddressResponse"/> - </wsdl:message> - <wsdl:message name="saveAddressResponse"> - <wsdl:part name="parameters" element="intf:saveAddressResponse"/> - </wsdl:message> - <wsdl:portType name="AddressBook"> - <wsdl:operation name="findAddress"> - <wsdl:input name="findAddressRequest" message="intf:findAddressRequest"/> - <wsdl:output name="findAddressResponse" message="intf:findAddressResponse"/> - </wsdl:operation> - <wsdl:operation name="saveAddress"> - <wsdl:input name="saveAddressRequest" message="intf:saveAddressRequest"/> - <wsdl:output name="saveAddressResponse" message="intf:saveAddressResponse"/> - </wsdl:operation> - </wsdl:portType> - <wsdl:service name="AddressBookService"> - </wsdl:service> -</wsdl:definitions> diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2011-3/2011.xsd b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2011-3/2011.xsd deleted file mode 100644 index 8857f7cf6..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2011-3/2011.xsd +++ /dev/null @@ -1,9 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - <schema elementFormDefault="qualified" - targetNamespace="2011.xsd" - xmlns="http://www.w3.org/2001/XMLSchema" - xmlns:apachesoap="http://xml.apache.org/xml-soap" - xmlns:intf="2011-1.xsd" - xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"> - <import namespace="next.xsd" schemaLocation="next.xsd"/> - </schema>
\ No newline at end of file diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2011-3/next.xsd b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2011-3/next.xsd deleted file mode 100644 index 960a77f6b..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2011-3/next.xsd +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.1" encoding="utf-8"?> -<xs:schema - targetNamespace="next.xsd" - xmlns:xs="http://www.w3.org/2001/XMLSchema" - xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" - elementFormDefault="qualified"> - <xs:annotation> - <xs:documentation> - </xs:documentation> - </xs:annotation> -</xs:schema> diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2011-3/testcase.xml b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2011-3/testcase.xml deleted file mode 100644 index 5fca1e425..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2011-3/testcase.xml +++ /dev/null @@ -1,18 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<testcase name="2011-3"> - <description> - This is an example of a non-conformant wsdl that should fail test assertion BP2011. - However the prerequisite BP2102 fails before we actually can execute the test assertion. - Note this assertion is caught by the base WSDL validator. - So this assertion should be disabled when running in conjunction with the - base validator. - </description> - <expectedFailures> - <assertion id="BP2102" tadID="SSBP10"/> - <assertion id="BP2122" tadID="SSBP10"/> - <assertion id="BP2202" tadID="SSBP10"/> - <assertion id="BP2102" tadID="AP10"/> - <assertion id="BP2122" tadID="AP10"/> - <assertion id="BP2202" tadID="AP10"/> - </expectedFailures> -</testcase>
\ No newline at end of file diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2011-4/2011-4.wsdl b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2011-4/2011-4.wsdl deleted file mode 100644 index c4308cd74..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2011-4/2011-4.wsdl +++ /dev/null @@ -1,84 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<wsdl:definitions targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:intf="http://tempuri.org/" xmlns:impl="http://tempuri.org/" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns="http://schemas.xmlsoap.org/wsdl/"> - <wsdl:types> - <schema elementFormDefault="qualified" targetNamespace="http://tempuri.org/" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:intf="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"> - <import namespace="2011.xsd" schemaLocation="2011.xsd"/> - <element name="findAddress"> - <complexType> - <sequence> - <element name="name" nillable="true" type="xsd:string"/> - </sequence> - </complexType> - </element> - <complexType name="Address"> - <sequence> - <element name="province" nillable="true" type="xsd:string"/> - <element name="city" nillable="true" type="xsd:string"/> - <element name="street" nillable="true" type="xsd:string"/> - <element name="postalCode" nillable="true" type="xsd:string"/> - <element name="phoneNumber" nillable="true" type="impl:PhoneNumber"/> - </sequence> - </complexType> - <complexType name="PhoneNumber"> - <sequence> - <element name="area" type="xsd:int"/> - <element name="prefix" type="xsd:int"/> - <element name="number" type="xsd:int"/> - </sequence> - </complexType> - <element name="findAddressResponse"> - <complexType> - <sequence> - <element name="findAddressReturn" nillable="true" type="impl:Address"/> - </sequence> - </complexType> - </element> - <element name="saveAddress"> - <complexType> - <sequence> - <element name="name" nillable="true" type="xsd:string"/> - <element name="address" nillable="true" type="impl:Address"/> - </sequence> - </complexType> - </element> - <element name="saveAddressResponse"> - <complexType> - <sequence/> - </complexType> - </element> - <complexType name="AddressHeaderType"> - <all> - <element name="a" type="int"/> - <element name="b" type="boolean"/> - <element name="s" nillable="true" type="string"/> - </all> - </complexType> - <element name="AddressHeader" nillable="true" type="impl:AddressHeaderType"/> - </schema> - </wsdl:types> - <wsdl:message name="saveAddressRequest"> - <wsdl:part name="parameters" element="intf:saveAddress"/> - </wsdl:message> - <wsdl:message name="findAddressRequest"> - <wsdl:part name="parameters" element="intf:findAddress"/> - <wsdl:part name="AddressHeader" element="intf:AddressHeader"/> - </wsdl:message> - <wsdl:message name="findAddressResponse"> - <wsdl:part name="parameters" element="intf:findAddressResponse"/> - </wsdl:message> - <wsdl:message name="saveAddressResponse"> - <wsdl:part name="parameters" element="intf:saveAddressResponse"/> - </wsdl:message> - <wsdl:portType name="AddressBook"> - <wsdl:operation name="findAddress"> - <wsdl:input name="findAddressRequest" message="intf:findAddressRequest"/> - <wsdl:output name="findAddressResponse" message="intf:findAddressResponse"/> - </wsdl:operation> - <wsdl:operation name="saveAddress"> - <wsdl:input name="saveAddressRequest" message="intf:saveAddressRequest"/> - <wsdl:output name="saveAddressResponse" message="intf:saveAddressResponse"/> - </wsdl:operation> - </wsdl:portType> - <wsdl:service name="AddressBookService"> - </wsdl:service> -</wsdl:definitions> diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2011-4/2011.xsd b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2011-4/2011.xsd deleted file mode 100644 index 12c87bf7f..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2011-4/2011.xsd +++ /dev/null @@ -1,9 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - <schema elementFormDefault="qualified" - targetNamespace="2011.xsd" - xmlns="http://www.w3.org/2001/XMLSchema" - xmlns:apachesoap="http://xml.apache.org/xml-soap" - xmlns:intf="2011-1.xsd" - xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"> - <xs:annotation> - </schema>
\ No newline at end of file diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2011-4/testcase.xml b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2011-4/testcase.xml deleted file mode 100644 index 926b2a915..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2011-4/testcase.xml +++ /dev/null @@ -1,17 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<testcase name="2011-4"> - <description> - This is an example of a non-conformant wsdl that should fail test assertion BP2011. - However the prerequisite BP2102 fails before we actually can execute the test assertion. - Note this assertion is caught by the base WSDL validator. - So this assertion should be disabled when running in conjunction with the - base validator. - </description> - <expectedFailures> - <assertion id="BP2102" tadID="SSBP10"/> - <assertion id="BP2122" tadID="SSBP10"/> - <assertion id="BP2102" tadID="AP10"/> - <assertion id="BP2122" tadID="AP10"/> - </expectedFailures> - -</testcase>
\ No newline at end of file diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2011-5/2011-5.wsdl b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2011-5/2011-5.wsdl deleted file mode 100644 index 3b4583753..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2011-5/2011-5.wsdl +++ /dev/null @@ -1,84 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<wsdl:definitions targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:intf="http://tempuri.org/" xmlns:impl="http://tempuri.org/" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns="http://schemas.xmlsoap.org/wsdl/"> - <wsdl:types> - <schema elementFormDefault="qualified" targetNamespace="http://tempuri.org/" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:intf="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"> - <import namespace="2011-1.xsd" schemaLocation="2011-1.xsd"/> - <element name="findAddress"> - <complexType> - <sequence> - <element name="name" nillable="true" type="xsd:string"/> - </sequence> - </complexType> - </element> - <complexType name="Address"> - <sequence> - <element name="province" nillable="true" type="xsd:string"/> - <element name="city" nillable="true" type="xsd:string"/> - <element name="street" nillable="true" type="xsd:string"/> - <element name="postalCode" nillable="true" type="xsd:string"/> - <element name="phoneNumber" nillable="true" type="impl:PhoneNumber"/> - </sequence> - </complexType> - <complexType name="PhoneNumber"> - <sequence> - <element name="area" type="xsd:int"/> - <element name="prefix" type="xsd:int"/> - <element name="number" type="xsd:int"/> - </sequence> - </complexType> - <element name="findAddressResponse"> - <complexType> - <sequence> - <element name="findAddressReturn" nillable="true" type="impl:Address"/> - </sequence> - </complexType> - </element> - <element name="saveAddress"> - <complexType> - <sequence> - <element name="name" nillable="true" type="xsd:string"/> - <element name="address" nillable="true" type="impl:Address"/> - </sequence> - </complexType> - </element> - <element name="saveAddressResponse"> - <complexType> - <sequence/> - </complexType> - </element> - <complexType name="AddressHeaderType"> - <all> - <element name="a" type="int"/> - <element name="b" type="boolean"/> - <element name="s" nillable="true" type="string"/> - </all> - </complexType> - <element name="AddressHeader" nillable="true" type="impl:AddressHeaderType"/> - </schema> - </wsdl:types> - <wsdl:message name="saveAddressRequest"> - <wsdl:part name="parameters" element="intf:saveAddress"/> - </wsdl:message> - <wsdl:message name="findAddressRequest"> - <wsdl:part name="parameters" element="intf:findAddress"/> - <wsdl:part name="AddressHeader" element="intf:AddressHeader"/> - </wsdl:message> - <wsdl:message name="findAddressResponse"> - <wsdl:part name="parameters" element="intf:findAddressResponse"/> - </wsdl:message> - <wsdl:message name="saveAddressResponse"> - <wsdl:part name="parameters" element="intf:saveAddressResponse"/> - </wsdl:message> - <wsdl:portType name="AddressBook"> - <wsdl:operation name="findAddress"> - <wsdl:input name="findAddressRequest" message="intf:findAddressRequest"/> - <wsdl:output name="findAddressResponse" message="intf:findAddressResponse"/> - </wsdl:operation> - <wsdl:operation name="saveAddress"> - <wsdl:input name="saveAddressRequest" message="intf:saveAddressRequest"/> - <wsdl:output name="saveAddressResponse" message="intf:saveAddressResponse"/> - </wsdl:operation> - </wsdl:portType> - <wsdl:service name="AddressBookService"> - </wsdl:service> -</wsdl:definitions> diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2011-5/2011.xsd b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2011-5/2011.xsd deleted file mode 100644 index 8857f7cf6..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2011-5/2011.xsd +++ /dev/null @@ -1,9 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - <schema elementFormDefault="qualified" - targetNamespace="2011.xsd" - xmlns="http://www.w3.org/2001/XMLSchema" - xmlns:apachesoap="http://xml.apache.org/xml-soap" - xmlns:intf="2011-1.xsd" - xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"> - <import namespace="next.xsd" schemaLocation="next.xsd"/> - </schema>
\ No newline at end of file diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2011-5/next.xsd b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2011-5/next.xsd deleted file mode 100644 index 543c45522..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2011-5/next.xsd +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<xs:schema - targetNamespace="next.xsd" - xmlns:xs="http://www.w3.org/2001/XMLSchema" - xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" - elementFormDefault="qualified"> - <xs:annotation> -</xs:schema> diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2011-5/testcase.xml b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2011-5/testcase.xml deleted file mode 100644 index a49cb2715..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2011-5/testcase.xml +++ /dev/null @@ -1,18 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<testcase name="2011-5"> - <description> - This is an example of a non-conformant wsdl that should fail test assertion BP2011. - However the prerequisite BP2102 fails before we actually can execute the test assertion. - Note this assertion is caught by the base WSDL validator. - So this assertion should be disabled when running in conjunction with the - base validator. - </description> - <expectedFailures> - <assertion id="BP2102" tadID="SSBP10"/> - <assertion id="BP2122" tadID="SSBP10"/> - <assertion id="BP2202" tadID="SSBP10"/> - <assertion id="BP2102" tadID="AP10"/> - <assertion id="BP2122" tadID="AP10"/> - <assertion id="BP2202" tadID="AP10"/> - </expectedFailures> -</testcase>
\ No newline at end of file diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2021-1/2021-1.wsdl b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2021-1/2021-1.wsdl deleted file mode 100644 index 5d3684d7c..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2021-1/2021-1.wsdl +++ /dev/null @@ -1,106 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<wsdl:definitions targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:intf="http://tempuri.org/" xmlns:impl="http://tempuri.org/" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns="http://schemas.xmlsoap.org/wsdl/"> - <wsdl:types> - <schema elementFormDefault="qualified" targetNamespace="http://tempuri.org/" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:intf="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"> - - <complexType name="Address"> - <sequence> - <element name="province" nillable="true" type="xsd:string"/> - <element name="city" nillable="true" type="xsd:string"/> - <element name="street" nillable="true" type="xsd:string"/> - <element name="postalCode" nillable="true" type="xsd:string"/> - <element name="phoneNumber" nillable="true" type="impl:PhoneNumber"/> - </sequence> - </complexType> - <complexType name="PhoneNumber"> - <sequence> - <element name="area" type="xsd:int"/> - <element name="prefix" type="xsd:int"/> - <element name="number" type="xsd:int"/> - </sequence> - </complexType> - <complexType name="findAddressResponse"> - <sequence> - <element name="findAddressReturn" nillable="true" type="impl:Address"/> - </sequence> - </complexType> - <complexType name="saveAddress"> - <sequence> - <element name="name" nillable="true" type="xsd:string"/> - <element name="address" nillable="true" type="impl:Address"/> - </sequence> - </complexType> - <complexType name="saveAddressResponse"> - <sequence/> - </complexType> - <complexType name="AddressHeaderType"> - <all> - <element name="a" type="int"/> - <element name="b" type="boolean"/> - <element name="s" nillable="true" type="string"/> - </all> - </complexType> - <element name="AddressHeader" type="impl:AddressHeaderType"/> - <element name="Address" type="string"/> - </schema> - </wsdl:types> - <wsdl:message name="saveAddressRequest"> - <wsdl:part name="parameters" type="intf:saveAddress"/> - </wsdl:message> - <wsdl:message name="findAddressRequest"> - <wsdl:part name="parameters" type="xsd:string"/> - <wsdl:part name="AddressHeader" element="intf:AddressHeader"/> - </wsdl:message> - <wsdl:message name="findAddressResponse"> - <wsdl:part name="parameters" type="intf:findAddressResponse"/> - </wsdl:message> - <wsdl:message name="saveAddressResponse"> - <wsdl:part name="parameters" type="intf:saveAddressResponse"/> - </wsdl:message> - <wsdl:message name="parameterfault"> - <part name="part3" element="intf:Address" /> - </wsdl:message> - <wsdl:portType name="AddressBook"> - <wsdl:operation name="findAddress"> - <wsdl:input name="findAddressRequest" message="intf:findAddressRequest"/> - <wsdl:output name="findAddressResponse" message="intf:findAddressResponse"/> - <wsdl:fault name="f1" message="intf:parameterfault"/> - </wsdl:operation> - <wsdl:operation name="saveAddress"> - <wsdl:input name="saveAddressRequest" message="intf:saveAddressRequest"/> - <wsdl:output name="saveAddressResponse" message="intf:saveAddressResponse"/> - </wsdl:operation> - </wsdl:portType> - <wsdl:binding name="AddressBookSoapBinding" type="intf:AddressBook"> - <wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/> - <wsdl:operation name="findAddress"> - <wsdlsoap:operation soapAction=""/> - <wsdl:input name="findAddressRequest"> - <wsdlsoap:header message="intf:findAddressRequest" parts="AddressHeader" use="literal"> - <wsdlsoap:headerfault message="intf:findAddressRequest" part="AddressHeader" use="literal"/> - </wsdlsoap:header> - <wsdlsoap:body parts="parameters" use="literal" namespace="http://tempuri.org/"/> - </wsdl:input> - <wsdl:output name="findAddressResponse"> - <wsdlsoap:body use="literal" namespace="http://tempuri.org/"/> - </wsdl:output> - <wsdl:fault name="f1"> - <wsdlsoap:fault use="literal" name="f1"/> - </wsdl:fault> - </wsdl:operation> - <wsdl:operation name="saveAddress"> - <wsdlsoap:operation soapAction=""/> - <wsdl:input name="saveAddressRequest"> - <wsdlsoap:body use="literal" namespace="http://tempuri.org/"/> - </wsdl:input> - <wsdl:output name="saveAddressResponse"> - <wsdlsoap:body use="literal" namespace="http://tempuri.org/"/> - </wsdl:output> - </wsdl:operation> - </wsdl:binding> - <wsdl:service name="AddressBookService"> - <wsdl:port name="AddressBook" binding="intf:AddressBookSoapBinding"> - <wsdlsoap:address location="http://tempuri.org/AddressBook"/> - </wsdl:port> - </wsdl:service> -</wsdl:definitions> diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2021-1/testcase.xml b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2021-1/testcase.xml deleted file mode 100644 index 50667b47b..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2021-1/testcase.xml +++ /dev/null @@ -1,14 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<testcase name="2021-1"> - <description> - This is an example of a non-conformant wsdl that should fail test assertion BP2021. - Soapbind:header element uses parts attribute. - Note this assertion is caught by the base WSDL validator. - So this assertion should be disabled when running in conjunction with the - base validator. - </description> - <expectedFailures> - <assertion id="BP2021" tadID="SSBP10"/> - <assertion id="BP2021" tadID="AP10"/> - </expectedFailures> -</testcase>
\ No newline at end of file diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2021-2/2021-2.wsdl b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2021-2/2021-2.wsdl deleted file mode 100644 index 664f5238f..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2021-2/2021-2.wsdl +++ /dev/null @@ -1,106 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<wsdl:definitions targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:intf="http://tempuri.org/" xmlns:impl="http://tempuri.org/" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns="http://schemas.xmlsoap.org/wsdl/"> - <wsdl:types> - <schema elementFormDefault="qualified" targetNamespace="http://tempuri.org/" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:intf="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"> - - <complexType name="Address"> - <sequence> - <element name="province" nillable="true" type="xsd:string"/> - <element name="city" nillable="true" type="xsd:string"/> - <element name="street" nillable="true" type="xsd:string"/> - <element name="postalCode" nillable="true" type="xsd:string"/> - <element name="phoneNumber" nillable="true" type="impl:PhoneNumber"/> - </sequence> - </complexType> - <complexType name="PhoneNumber"> - <sequence> - <element name="area" type="xsd:int"/> - <element name="prefix" type="xsd:int"/> - <element name="number" type="xsd:int"/> - </sequence> - </complexType> - <complexType name="findAddressResponse"> - <sequence> - <element name="findAddressReturn" nillable="true" type="impl:Address"/> - </sequence> - </complexType> - <complexType name="saveAddress"> - <sequence> - <element name="name" nillable="true" type="xsd:string"/> - <element name="address" nillable="true" type="impl:Address"/> - </sequence> - </complexType> - <complexType name="saveAddressResponse"> - <sequence/> - </complexType> - <complexType name="AddressHeaderType"> - <all> - <element name="a" type="int"/> - <element name="b" type="boolean"/> - <element name="s" nillable="true" type="string"/> - </all> - </complexType> - <element name="AddressHeader" type="impl:AddressHeaderType"/> - <element name="Address" type="string"/> - </schema> - </wsdl:types> - <wsdl:message name="saveAddressRequest"> - <wsdl:part name="parameters" type="intf:saveAddress"/> - </wsdl:message> - <wsdl:message name="findAddressRequest"> - <wsdl:part name="parameters" type="xsd:string"/> - <wsdl:part name="AddressHeader" element="intf:AddressHeader"/> - </wsdl:message> - <wsdl:message name="findAddressResponse"> - <wsdl:part name="parameters" type="intf:findAddressResponse"/> - </wsdl:message> - <wsdl:message name="saveAddressResponse"> - <wsdl:part name="parameters" type="intf:saveAddressResponse"/> - </wsdl:message> - <wsdl:message name="parameterfault"> - <part name="part3" element="intf:Address" /> - </wsdl:message> - <wsdl:portType name="AddressBook"> - <wsdl:operation name="findAddress"> - <wsdl:input name="findAddressRequest" message="intf:findAddressRequest"/> - <wsdl:output name="findAddressResponse" message="intf:findAddressResponse"/> - <wsdl:fault name="f1" message="intf:parameterfault"/> - </wsdl:operation> - <wsdl:operation name="saveAddress"> - <wsdl:input name="saveAddressRequest" message="intf:saveAddressRequest"/> - <wsdl:output name="saveAddressResponse" message="intf:saveAddressResponse"/> - </wsdl:operation> - </wsdl:portType> - <wsdl:binding name="AddressBookSoapBinding" type="intf:AddressBook"> - <wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/> - <wsdl:operation name="findAddress"> - <wsdlsoap:operation soapAction=""/> - <wsdl:input name="findAddressRequest"> - <wsdlsoap:header message="intf:findAddressRequest" use="literal"> - <wsdlsoap:headerfault message="intf:findAddressRequest" part="AddressHeader" use="literal"/> - </wsdlsoap:header> - <wsdlsoap:body parts="parameters" use="literal" namespace="http://tempuri.org/"/> - </wsdl:input> - <wsdl:output name="findAddressResponse"> - <wsdlsoap:body use="literal" namespace="http://tempuri.org/"/> - </wsdl:output> - <wsdl:fault name="f1"> - <wsdlsoap:fault use="literal" name="f1"/> - </wsdl:fault> - </wsdl:operation> - <wsdl:operation name="saveAddress"> - <wsdlsoap:operation soapAction=""/> - <wsdl:input name="saveAddressRequest"> - <wsdlsoap:body use="literal" namespace="http://tempuri.org/"/> - </wsdl:input> - <wsdl:output name="saveAddressResponse"> - <wsdlsoap:body use="literal" namespace="http://tempuri.org/"/> - </wsdl:output> - </wsdl:operation> - </wsdl:binding> - <wsdl:service name="AddressBookService"> - <wsdl:port name="AddressBook" binding="intf:AddressBookSoapBinding"> - <wsdlsoap:address location="http://tempuri.org/AddressBook"/> - </wsdl:port> - </wsdl:service> -</wsdl:definitions> diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2021-2/testcase.xml b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2021-2/testcase.xml deleted file mode 100644 index 867b6afef..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2021-2/testcase.xml +++ /dev/null @@ -1,14 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<testcase name="2021-2"> - <description> - This is an example of a non-conformant wsdl that should fail test assertion BP2021. - Soapbind:header element does not have a part attribute. - Note this assertion is caught by the base WSDL validator. - So this assertion should be disabled when running in conjunction with the - base validator. - </description> - <expectedFailures> - <assertion id="BP2021" tadID="SSBP10"/> - <assertion id="BP2021" tadID="AP10"/> - </expectedFailures> -</testcase>
\ No newline at end of file diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2021-3/2021-3.wsdl b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2021-3/2021-3.wsdl deleted file mode 100644 index 1f7cedf49..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2021-3/2021-3.wsdl +++ /dev/null @@ -1,106 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<wsdl:definitions targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:intf="http://tempuri.org/" xmlns:impl="http://tempuri.org/" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns="http://schemas.xmlsoap.org/wsdl/"> - <wsdl:types> - <schema elementFormDefault="qualified" targetNamespace="http://tempuri.org/" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:intf="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"> - - <complexType name="Address"> - <sequence> - <element name="province" nillable="true" type="xsd:string"/> - <element name="city" nillable="true" type="xsd:string"/> - <element name="street" nillable="true" type="xsd:string"/> - <element name="postalCode" nillable="true" type="xsd:string"/> - <element name="phoneNumber" nillable="true" type="impl:PhoneNumber"/> - </sequence> - </complexType> - <complexType name="PhoneNumber"> - <sequence> - <element name="area" type="xsd:int"/> - <element name="prefix" type="xsd:int"/> - <element name="number" type="xsd:int"/> - </sequence> - </complexType> - <complexType name="findAddressResponse"> - <sequence> - <element name="findAddressReturn" nillable="true" type="impl:Address"/> - </sequence> - </complexType> - <complexType name="saveAddress"> - <sequence> - <element name="name" nillable="true" type="xsd:string"/> - <element name="address" nillable="true" type="impl:Address"/> - </sequence> - </complexType> - <complexType name="saveAddressResponse"> - <sequence/> - </complexType> - <complexType name="AddressHeaderType"> - <all> - <element name="a" type="int"/> - <element name="b" type="boolean"/> - <element name="s" nillable="true" type="string"/> - </all> - </complexType> - <element name="AddressHeader" type="impl:AddressHeaderType"/> - <element name="Address" type="string"/> - </schema> - </wsdl:types> - <wsdl:message name="saveAddressRequest"> - <wsdl:part name="parameters" type="intf:saveAddress"/> - </wsdl:message> - <wsdl:message name="findAddressRequest"> - <wsdl:part name="parameters" type="xsd:string"/> - <wsdl:part name="AddressHeader" element="intf:AddressHeader"/> - </wsdl:message> - <wsdl:message name="findAddressResponse"> - <wsdl:part name="parameters" type="intf:findAddressResponse"/> - </wsdl:message> - <wsdl:message name="saveAddressResponse"> - <wsdl:part name="parameters" type="intf:saveAddressResponse"/> - </wsdl:message> - <wsdl:message name="parameterfault"> - <part name="part3" element="intf:Address" /> - </wsdl:message> - <wsdl:portType name="AddressBook"> - <wsdl:operation name="findAddress"> - <wsdl:input name="findAddressRequest" message="intf:findAddressRequest"/> - <wsdl:output name="findAddressResponse" message="intf:findAddressResponse"/> - <wsdl:fault name="f1" message="intf:parameterfault"/> - </wsdl:operation> - <wsdl:operation name="saveAddress"> - <wsdl:input name="saveAddressRequest" message="intf:saveAddressRequest"/> - <wsdl:output name="saveAddressResponse" message="intf:saveAddressResponse"/> - </wsdl:operation> - </wsdl:portType> - <wsdl:binding name="AddressBookSoapBinding" type="intf:AddressBook"> - <wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/> - <wsdl:operation name="findAddress"> - <wsdlsoap:operation soapAction=""/> - <wsdl:input name="findAddressRequest"> - <wsdlsoap:header message="intf:findAddressRequest" part="AddressHeader" use="literal"> - <wsdlsoap:headerfault message="intf:findAddressRequest" use="literal"/> - </wsdlsoap:header> - <wsdlsoap:body parts="parameters" use="literal" namespace="http://tempuri.org/"/> - </wsdl:input> - <wsdl:output name="findAddressResponse"> - <wsdlsoap:body use="literal" namespace="http://tempuri.org/"/> - </wsdl:output> - <wsdl:fault name="f1"> - <wsdlsoap:fault use="literal" name="f1"/> - </wsdl:fault> - </wsdl:operation> - <wsdl:operation name="saveAddress"> - <wsdlsoap:operation soapAction=""/> - <wsdl:input name="saveAddressRequest"> - <wsdlsoap:body use="literal" namespace="http://tempuri.org/"/> - </wsdl:input> - <wsdl:output name="saveAddressResponse"> - <wsdlsoap:body use="literal" namespace="http://tempuri.org/"/> - </wsdl:output> - </wsdl:operation> - </wsdl:binding> - <wsdl:service name="AddressBookService"> - <wsdl:port name="AddressBook" binding="intf:AddressBookSoapBinding"> - <wsdlsoap:address location="http://tempuri.org/AddressBook"/> - </wsdl:port> - </wsdl:service> -</wsdl:definitions> diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2021-3/testcase.xml b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2021-3/testcase.xml deleted file mode 100644 index f9b015f7e..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2021-3/testcase.xml +++ /dev/null @@ -1,14 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<testcase name="2021-3"> - <description> - This is an example of a non-conformant wsdl that should fail test assertion BP2021. - Soapbind:headerfault element does not have a part attribute. - Note this assertion is caught by the base WSDL validator. - So this assertion should be disabled when running in conjunction with the - base validator. - </description> - <expectedFailures> - <assertion id="BP2021" tadID="SSBP10"/> - <assertion id="BP2021" tadID="AP10"/> - </expectedFailures> -</testcase>
\ No newline at end of file diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2021-4/2021-4.wsdl b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2021-4/2021-4.wsdl deleted file mode 100644 index d44ab7b9c..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2021-4/2021-4.wsdl +++ /dev/null @@ -1,117 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<wsdl:definitions targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:intf="http://tempuri.org/" xmlns:impl="http://tempuri.org/" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns="http://schemas.xmlsoap.org/wsdl/"> - <wsdl:types> - <schema elementFormDefault="qualified" targetNamespace="http://tempuri.org/" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:intf="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"> - <element name="findAddress"> - <complexType> - <sequence> - <element name="name" nillable="true" type="xsd:string"/> - </sequence> - </complexType> - </element> - <complexType name="Address"> - <sequence> - <element name="province" nillable="true" type="xsd:string"/> - <element name="city" nillable="true" type="xsd:string"/> - <element name="street" nillable="true" type="xsd:string"/> - <element name="postalCode" nillable="true" type="xsd:string"/> - <element name="phoneNumber" nillable="true" type="impl:PhoneNumber"/> - </sequence> - </complexType> - <complexType name="PhoneNumber"> - <sequence> - <element name="area" type="xsd:int"/> - <element name="prefix" type="xsd:int"/> - <element name="number" type="xsd:int"/> - </sequence> - </complexType> - <element name="findAddressResponse"> - <complexType> - <sequence> - <element name="findAddressReturn" nillable="true" type="impl:Address"/> - </sequence> - </complexType> - </element> - <element name="saveAddress"> - <complexType> - <sequence> - <element name="name" nillable="true" type="xsd:string"/> - <element name="address" nillable="true" type="impl:Address"/> - </sequence> - </complexType> - </element> - <element name="saveAddressResponse"> - <complexType> - <sequence/> - </complexType> - </element> - <complexType name="AddressHeaderType"> - <all> - <element name="a" type="int"/> - <element name="b" type="boolean"/> - <element name="s" nillable="true" type="string"/> - </all> - </complexType> - <element name="AddressHeader" nillable="true" type="impl:AddressHeaderType"/> - </schema> - </wsdl:types> - <wsdl:message name="saveAddressRequest"> - <wsdl:part name="parameters" element="intf:saveAddress"/> - </wsdl:message> - <wsdl:message name="findAddressRequest"> - <wsdl:part name="parameters" element="intf:findAddress"/> - <wsdl:part name="AddressHeader" element="intf:AddressHeader"/> - </wsdl:message> - <wsdl:message name="findAddressResponse"> - <wsdl:part name="parameters" element="intf:findAddressResponse"/> - </wsdl:message> - <wsdl:message name="saveAddressResponse"> - <wsdl:part name="parameters" element="intf:saveAddressResponse"/> - </wsdl:message> - <wsdl:message name="parameterfault"> - <part name="part3" element="intf:findAddress" /> - </wsdl:message> - <wsdl:portType name="AddressBook"> - <wsdl:operation name="findAddress"> - <wsdl:input name="findAddressRequest" message="intf:findAddressRequest"/> - <wsdl:output name="findAddressResponse" message="intf:findAddressResponse"/> - <wsdl:fault name="f1" message="intf:parameterfault"/> - </wsdl:operation> - <wsdl:operation name="saveAddress"> - <wsdl:input name="saveAddressRequest" message="intf:saveAddressRequest"/> - <wsdl:output name="saveAddressResponse" message="intf:saveAddressResponse"/> - </wsdl:operation> - </wsdl:portType> - <wsdl:binding name="AddressBookSoapBinding" type="intf:AddressBook"> - <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/> - <wsdl:operation name="findAddress"> - <wsdlsoap:operation soapAction=""/> - <wsdl:input name="findAddressRequest"> - <wsdlsoap:header message="intf:findAddressRequest" parts="AddressHeader" use="literal"> - <wsdlsoap:headerfault message="intf:findAddressRequest" part="AddressHeader" use="literal"/> - </wsdlsoap:header> - <wsdlsoap:body parts="parameters" use="literal"/> - </wsdl:input> - <wsdl:output name="findAddressResponse"> - <wsdlsoap:body use="literal"/> - </wsdl:output> - <wsdl:fault name="f1"> - <wsdlsoap:fault use="literal" name="f1"/> - </wsdl:fault> - </wsdl:operation> - <wsdl:operation name="saveAddress"> - <wsdlsoap:operation soapAction=""/> - <wsdl:input name="saveAddressRequest"> - <wsdlsoap:body use="literal"/> - </wsdl:input> - <wsdl:output name="saveAddressResponse"> - <wsdlsoap:body use="literal"/> - </wsdl:output> - </wsdl:operation> - </wsdl:binding> - <wsdl:service name="AddressBookService"> - <wsdl:port name="AddressBook" binding="intf:AddressBookSoapBinding"> - <wsdlsoap:address location="http://tempuri.org/AddressBook"/> - </wsdl:port> - </wsdl:service> -</wsdl:definitions> diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2021-4/testcase.xml b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2021-4/testcase.xml deleted file mode 100644 index 8d5cc4314..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2021-4/testcase.xml +++ /dev/null @@ -1,14 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<testcase name="2021-4"> - <description> - This is an example of a non-conformant wsdl that should fail test assertion BP2021. - Soapbind:header element uses parts attribute. - Note this assertion is caught by the base WSDL validator. - So this assertion should be disabled when running in conjunction with the - base validator. - </description> - <expectedFailures> - <assertion id="BP2021" tadID="SSBP10"/> - <assertion id="BP2021" tadID="AP10"/> - </expectedFailures> -</testcase>
\ No newline at end of file diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2021-5/2021-5.wsdl b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2021-5/2021-5.wsdl deleted file mode 100644 index 7b5d7f35d..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2021-5/2021-5.wsdl +++ /dev/null @@ -1,117 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<wsdl:definitions targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:intf="http://tempuri.org/" xmlns:impl="http://tempuri.org/" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns="http://schemas.xmlsoap.org/wsdl/"> - <wsdl:types> - <schema elementFormDefault="qualified" targetNamespace="http://tempuri.org/" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:intf="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"> - <element name="findAddress"> - <complexType> - <sequence> - <element name="name" nillable="true" type="xsd:string"/> - </sequence> - </complexType> - </element> - <complexType name="Address"> - <sequence> - <element name="province" nillable="true" type="xsd:string"/> - <element name="city" nillable="true" type="xsd:string"/> - <element name="street" nillable="true" type="xsd:string"/> - <element name="postalCode" nillable="true" type="xsd:string"/> - <element name="phoneNumber" nillable="true" type="impl:PhoneNumber"/> - </sequence> - </complexType> - <complexType name="PhoneNumber"> - <sequence> - <element name="area" type="xsd:int"/> - <element name="prefix" type="xsd:int"/> - <element name="number" type="xsd:int"/> - </sequence> - </complexType> - <element name="findAddressResponse"> - <complexType> - <sequence> - <element name="findAddressReturn" nillable="true" type="impl:Address"/> - </sequence> - </complexType> - </element> - <element name="saveAddress"> - <complexType> - <sequence> - <element name="name" nillable="true" type="xsd:string"/> - <element name="address" nillable="true" type="impl:Address"/> - </sequence> - </complexType> - </element> - <element name="saveAddressResponse"> - <complexType> - <sequence/> - </complexType> - </element> - <complexType name="AddressHeaderType"> - <all> - <element name="a" type="int"/> - <element name="b" type="boolean"/> - <element name="s" nillable="true" type="string"/> - </all> - </complexType> - <element name="AddressHeader" nillable="true" type="impl:AddressHeaderType"/> - </schema> - </wsdl:types> - <wsdl:message name="saveAddressRequest"> - <wsdl:part name="parameters" element="intf:saveAddress"/> - </wsdl:message> - <wsdl:message name="findAddressRequest"> - <wsdl:part name="parameters" element="intf:findAddress"/> - <wsdl:part name="AddressHeader" element="intf:AddressHeader"/> - </wsdl:message> - <wsdl:message name="findAddressResponse"> - <wsdl:part name="parameters" element="intf:findAddressResponse"/> - </wsdl:message> - <wsdl:message name="saveAddressResponse"> - <wsdl:part name="parameters" element="intf:saveAddressResponse"/> - </wsdl:message> - <wsdl:message name="parameterfault"> - <part name="part3" element="intf:findAddress" /> - </wsdl:message> - <wsdl:portType name="AddressBook"> - <wsdl:operation name="findAddress"> - <wsdl:input name="findAddressRequest" message="intf:findAddressRequest"/> - <wsdl:output name="findAddressResponse" message="intf:findAddressResponse"/> - <wsdl:fault name="f1" message="intf:parameterfault"/> - </wsdl:operation> - <wsdl:operation name="saveAddress"> - <wsdl:input name="saveAddressRequest" message="intf:saveAddressRequest"/> - <wsdl:output name="saveAddressResponse" message="intf:saveAddressResponse"/> - </wsdl:operation> - </wsdl:portType> - <wsdl:binding name="AddressBookSoapBinding" type="intf:AddressBook"> - <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/> - <wsdl:operation name="findAddress"> - <wsdlsoap:operation soapAction=""/> - <wsdl:input name="findAddressRequest"> - <wsdlsoap:header message="intf:findAddressRequest" use="literal"> - <wsdlsoap:headerfault message="intf:findAddressRequest" part="AddressHeader" use="literal"/> - </wsdlsoap:header> - <wsdlsoap:body parts="parameters" use="literal"/> - </wsdl:input> - <wsdl:output name="findAddressResponse"> - <wsdlsoap:body use="literal"/> - </wsdl:output> - <wsdl:fault name="f1"> - <wsdlsoap:fault use="literal" name="f1"/> - </wsdl:fault> - </wsdl:operation> - <wsdl:operation name="saveAddress"> - <wsdlsoap:operation soapAction=""/> - <wsdl:input name="saveAddressRequest"> - <wsdlsoap:body use="literal"/> - </wsdl:input> - <wsdl:output name="saveAddressResponse"> - <wsdlsoap:body use="literal"/> - </wsdl:output> - </wsdl:operation> - </wsdl:binding> - <wsdl:service name="AddressBookService"> - <wsdl:port name="AddressBook" binding="intf:AddressBookSoapBinding"> - <wsdlsoap:address location="http://tempuri.org/AddressBook"/> - </wsdl:port> - </wsdl:service> -</wsdl:definitions> diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2021-5/testcase.xml b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2021-5/testcase.xml deleted file mode 100644 index f7c928cd2..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2021-5/testcase.xml +++ /dev/null @@ -1,14 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<testcase name="2021-5"> - <description> - This is an example of a non-conformant wsdl that should fail test assertion BP2021. - Soapbind:header element does not have a part attribute. - Note this assertion is caught by the base WSDL validator. - So this assertion should be disabled when running in conjunction with the - base validator. - </description> - <expectedFailures> - <assertion id="BP2021" tadID="SSBP10"/> - <assertion id="BP2021" tadID="AP10"/> - </expectedFailures> -</testcase>
\ No newline at end of file diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2021-6/2021-6.wsdl b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2021-6/2021-6.wsdl deleted file mode 100644 index 87a855360..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2021-6/2021-6.wsdl +++ /dev/null @@ -1,117 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<wsdl:definitions targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:intf="http://tempuri.org/" xmlns:impl="http://tempuri.org/" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns="http://schemas.xmlsoap.org/wsdl/"> - <wsdl:types> - <schema elementFormDefault="qualified" targetNamespace="http://tempuri.org/" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:intf="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"> - <element name="findAddress"> - <complexType> - <sequence> - <element name="name" nillable="true" type="xsd:string"/> - </sequence> - </complexType> - </element> - <complexType name="Address"> - <sequence> - <element name="province" nillable="true" type="xsd:string"/> - <element name="city" nillable="true" type="xsd:string"/> - <element name="street" nillable="true" type="xsd:string"/> - <element name="postalCode" nillable="true" type="xsd:string"/> - <element name="phoneNumber" nillable="true" type="impl:PhoneNumber"/> - </sequence> - </complexType> - <complexType name="PhoneNumber"> - <sequence> - <element name="area" type="xsd:int"/> - <element name="prefix" type="xsd:int"/> - <element name="number" type="xsd:int"/> - </sequence> - </complexType> - <element name="findAddressResponse"> - <complexType> - <sequence> - <element name="findAddressReturn" nillable="true" type="impl:Address"/> - </sequence> - </complexType> - </element> - <element name="saveAddress"> - <complexType> - <sequence> - <element name="name" nillable="true" type="xsd:string"/> - <element name="address" nillable="true" type="impl:Address"/> - </sequence> - </complexType> - </element> - <element name="saveAddressResponse"> - <complexType> - <sequence/> - </complexType> - </element> - <complexType name="AddressHeaderType"> - <all> - <element name="a" type="int"/> - <element name="b" type="boolean"/> - <element name="s" nillable="true" type="string"/> - </all> - </complexType> - <element name="AddressHeader" nillable="true" type="impl:AddressHeaderType"/> - </schema> - </wsdl:types> - <wsdl:message name="saveAddressRequest"> - <wsdl:part name="parameters" element="intf:saveAddress"/> - </wsdl:message> - <wsdl:message name="findAddressRequest"> - <wsdl:part name="parameters" element="intf:findAddress"/> - <wsdl:part name="AddressHeader" element="intf:AddressHeader"/> - </wsdl:message> - <wsdl:message name="findAddressResponse"> - <wsdl:part name="parameters" element="intf:findAddressResponse"/> - </wsdl:message> - <wsdl:message name="saveAddressResponse"> - <wsdl:part name="parameters" element="intf:saveAddressResponse"/> - </wsdl:message> - <wsdl:message name="parameterfault"> - <part name="part3" element="intf:findAddress" /> - </wsdl:message> - <wsdl:portType name="AddressBook"> - <wsdl:operation name="findAddress"> - <wsdl:input name="findAddressRequest" message="intf:findAddressRequest"/> - <wsdl:output name="findAddressResponse" message="intf:findAddressResponse"/> - <wsdl:fault name="f1" message="intf:parameterfault"/> - </wsdl:operation> - <wsdl:operation name="saveAddress"> - <wsdl:input name="saveAddressRequest" message="intf:saveAddressRequest"/> - <wsdl:output name="saveAddressResponse" message="intf:saveAddressResponse"/> - </wsdl:operation> - </wsdl:portType> - <wsdl:binding name="AddressBookSoapBinding" type="intf:AddressBook"> - <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/> - <wsdl:operation name="findAddress"> - <wsdlsoap:operation soapAction=""/> - <wsdl:input name="findAddressRequest"> - <wsdlsoap:header message="intf:findAddressRequest" part="AddressHeader" use="literal"> - <wsdlsoap:headerfault message="intf:findAddressRequest" use="literal"/> - </wsdlsoap:header> - <wsdlsoap:body parts="parameters" use="literal"/> - </wsdl:input> - <wsdl:output name="findAddressResponse"> - <wsdlsoap:body use="literal"/> - </wsdl:output> - <wsdl:fault name="f1"> - <wsdlsoap:fault use="literal" name="f1"/> - </wsdl:fault> - </wsdl:operation> - <wsdl:operation name="saveAddress"> - <wsdlsoap:operation soapAction=""/> - <wsdl:input name="saveAddressRequest"> - <wsdlsoap:body use="literal"/> - </wsdl:input> - <wsdl:output name="saveAddressResponse"> - <wsdlsoap:body use="literal"/> - </wsdl:output> - </wsdl:operation> - </wsdl:binding> - <wsdl:service name="AddressBookService"> - <wsdl:port name="AddressBook" binding="intf:AddressBookSoapBinding"> - <wsdlsoap:address location="http://tempuri.org/AddressBook"/> - </wsdl:port> - </wsdl:service> -</wsdl:definitions> diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2021-6/testcase.xml b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2021-6/testcase.xml deleted file mode 100644 index d7f15092f..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2021-6/testcase.xml +++ /dev/null @@ -1,14 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<testcase name="2021-6"> - <description> - This is an example of a non-conformant wsdl that should fail test assertion BP2021. - Soapbind:headerfault element does not have a part attribute. - Note this assertion is caught by the base WSDL validator. - So this assertion should be disabled when running in conjunction with the - base validator. - </description> - <expectedFailures> - <assertion id="BP2021" tadID="SSBP10"/> - <assertion id="BP2021" tadID="AP10"/> - </expectedFailures> -</testcase>
\ No newline at end of file diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2022-1/2022-1.wsdl b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2022-1/2022-1.wsdl deleted file mode 100644 index 0a380c0d9..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2022-1/2022-1.wsdl +++ /dev/null @@ -1,106 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<wsdl:definitions targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:intf="http://tempuri.org/" xmlns:impl="http://tempuri.org/" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns="http://schemas.xmlsoap.org/wsdl/"> - <wsdl:types> - <schema elementFormDefault="qualified" targetNamespace="http://tempuri.org/" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:intf="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"> - - <complexType name="Address"> - <sequence> - <element name="province" nillable="true" type="xsd:string"/> - <element name="city" nillable="true" type="xsd:string"/> - <element name="street" nillable="true" type="xsd:string"/> - <element name="postalCode" nillable="true" type="xsd:string"/> - <element name="phoneNumber" nillable="true" type="impl:PhoneNumber"/> - </sequence> - </complexType> - <complexType name="PhoneNumber"> - <sequence> - <element name="area" type="xsd:int"/> - <element name="prefix" type="xsd:int"/> - <element name="number" type="xsd:int"/> - </sequence> - </complexType> - <complexType name="findAddressResponse"> - <sequence> - <element name="findAddressReturn" nillable="true" type="impl:Address"/> - </sequence> - </complexType> - <complexType name="saveAddress"> - <sequence> - <element name="name" nillable="true" type="xsd:string"/> - <element name="address" nillable="true" type="impl:Address"/> - </sequence> - </complexType> - <complexType name="saveAddressResponse"> - <sequence/> - </complexType> - <complexType name="AddressHeaderType"> - <all> - <element name="a" type="int"/> - <element name="b" type="boolean"/> - <element name="s" nillable="true" type="string"/> - </all> - </complexType> - <element name="AddressHeader" type="impl:AddressHeaderType"/> - <element name="Address" type="string"/> - </schema> - </wsdl:types> - <wsdl:message name="saveAddressRequest"> - <wsdl:part name="parameters" type="intf:saveAddress"/> - </wsdl:message> - <wsdl:message name="findAddressRequest"> - <wsdl:part name="parameters" type="xsd:string"/> - <wsdl:part name="AddressHeader" element="intf:AddressHeader"/> - </wsdl:message> - <wsdl:message name="findAddressResponse"> - <wsdl:part name="parameters" type="intf:findAddressResponse"/> - </wsdl:message> - <wsdl:message name="saveAddressResponse"> - <wsdl:part name="parameters" type="intf:saveAddressResponse"/> - </wsdl:message> - <wsdl:message name="parameterfault"> - <part name="part3" element="intf:Address" /> - </wsdl:message> - <wsdl:portType name="AddressBook"> - <wsdl:operation name="findAddress"> - <wsdl:input name="findAddressRequest" message="intf:findAddressRequest"/> - <wsdl:output name="findAddressResponse" message="intf:findAddressResponse"/> - <wsdl:fault name="f1" message="intf:parameterfault"/> - </wsdl:operation> - <wsdl:operation name="saveAddress"> - <wsdl:input name="saveAddressRequest" message="intf:saveAddressRequest"/> - <wsdl:output name="saveAddressResponse" message="intf:saveAddressResponse"/> - </wsdl:operation> - </wsdl:portType> - <wsdl:binding name="AddressBookSoapBinding" type="intf:AddressBook"> - <wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/> - <wsdl:operation name="findAddress"> - <wsdlsoap:operation soapAction=""/> - <wsdl:input name="findAddressRequest"> - <wsdlsoap:header message="intf:findAddressRequest" part="AddressHeader" use="literal"> - <wsdlsoap:headerfault message="intf:findAddressRequest" part="AddressHeader" use="literal"/> - </wsdlsoap:header> - <wsdlsoap:body parts="parameters" use="literal" namespace="http://tempuri.org/"/> - </wsdl:input> - <wsdl:output name="findAddressResponse"> - <wsdlsoap:body use="literal" namespace="http://tempuri.org/"/> - </wsdl:output> - <wsdl:fault name="f1"> - <wsdlsoap:fault use="literal"/> - </wsdl:fault> - </wsdl:operation> - <wsdl:operation name="saveAddress"> - <wsdlsoap:operation soapAction=""/> - <wsdl:input name="saveAddressRequest"> - <wsdlsoap:body use="literal" namespace="http://tempuri.org/"/> - </wsdl:input> - <wsdl:output name="saveAddressResponse"> - <wsdlsoap:body use="literal" namespace="http://tempuri.org/"/> - </wsdl:output> - </wsdl:operation> - </wsdl:binding> - <wsdl:service name="AddressBookService"> - <wsdl:port name="AddressBook" binding="intf:AddressBookSoapBinding"> - <wsdlsoap:address location="http://tempuri.org/AddressBook"/> - </wsdl:port> - </wsdl:service> -</wsdl:definitions> diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2022-1/testcase.xml b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2022-1/testcase.xml deleted file mode 100644 index facc02c05..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2022-1/testcase.xml +++ /dev/null @@ -1,16 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<testcase name="2022-1"> - <description> - This is an example of a non-conformant wsdl that should fail test assertion BP2022. - Soapbind:fault element does not have a name attribute. - Note this assertion is caught by the base WSDL validator. - So this assertion should be disabled when running in conjunction with the - base validator. - </description> - <expectedFailures> - <assertion id="BP2022" tadID="SSBP10"/> - <assertion id="BP2022" tadID="AP10"/> - <assertion id="BP2032" tadID="SSBP10"/> - <assertion id="BP2032" tadID="AP10"/> - </expectedFailures> -</testcase>
\ No newline at end of file diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2022-2/2022-2.wsdl b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2022-2/2022-2.wsdl deleted file mode 100644 index c2de1df89..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2022-2/2022-2.wsdl +++ /dev/null @@ -1,117 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<wsdl:definitions targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:intf="http://tempuri.org/" xmlns:impl="http://tempuri.org/" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns="http://schemas.xmlsoap.org/wsdl/"> - <wsdl:types> - <schema elementFormDefault="qualified" targetNamespace="http://tempuri.org/" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:intf="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"> - <element name="findAddress"> - <complexType> - <sequence> - <element name="name" nillable="true" type="xsd:string"/> - </sequence> - </complexType> - </element> - <complexType name="Address"> - <sequence> - <element name="province" nillable="true" type="xsd:string"/> - <element name="city" nillable="true" type="xsd:string"/> - <element name="street" nillable="true" type="xsd:string"/> - <element name="postalCode" nillable="true" type="xsd:string"/> - <element name="phoneNumber" nillable="true" type="impl:PhoneNumber"/> - </sequence> - </complexType> - <complexType name="PhoneNumber"> - <sequence> - <element name="area" type="xsd:int"/> - <element name="prefix" type="xsd:int"/> - <element name="number" type="xsd:int"/> - </sequence> - </complexType> - <element name="findAddressResponse"> - <complexType> - <sequence> - <element name="findAddressReturn" nillable="true" type="impl:Address"/> - </sequence> - </complexType> - </element> - <element name="saveAddress"> - <complexType> - <sequence> - <element name="name" nillable="true" type="xsd:string"/> - <element name="address" nillable="true" type="impl:Address"/> - </sequence> - </complexType> - </element> - <element name="saveAddressResponse"> - <complexType> - <sequence/> - </complexType> - </element> - <complexType name="AddressHeaderType"> - <all> - <element name="a" type="int"/> - <element name="b" type="boolean"/> - <element name="s" nillable="true" type="string"/> - </all> - </complexType> - <element name="AddressHeader" nillable="true" type="impl:AddressHeaderType"/> - </schema> - </wsdl:types> - <wsdl:message name="saveAddressRequest"> - <wsdl:part name="parameters" element="intf:saveAddress"/> - </wsdl:message> - <wsdl:message name="findAddressRequest"> - <wsdl:part name="parameters" element="intf:findAddress"/> - <wsdl:part name="AddressHeader" element="intf:AddressHeader"/> - </wsdl:message> - <wsdl:message name="findAddressResponse"> - <wsdl:part name="parameters" element="intf:findAddressResponse"/> - </wsdl:message> - <wsdl:message name="saveAddressResponse"> - <wsdl:part name="parameters" element="intf:saveAddressResponse"/> - </wsdl:message> - <wsdl:message name="parameterfault"> - <part name="part3" element="intf:findAddress" /> - </wsdl:message> - <wsdl:portType name="AddressBook"> - <wsdl:operation name="findAddress"> - <wsdl:input name="findAddressRequest" message="intf:findAddressRequest"/> - <wsdl:output name="findAddressResponse" message="intf:findAddressResponse"/> - <wsdl:fault name="f1" message="intf:parameterfault"/> - </wsdl:operation> - <wsdl:operation name="saveAddress"> - <wsdl:input name="saveAddressRequest" message="intf:saveAddressRequest"/> - <wsdl:output name="saveAddressResponse" message="intf:saveAddressResponse"/> - </wsdl:operation> - </wsdl:portType> - <wsdl:binding name="AddressBookSoapBinding" type="intf:AddressBook"> - <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/> - <wsdl:operation name="findAddress"> - <wsdlsoap:operation soapAction=""/> - <wsdl:input name="findAddressRequest"> - <wsdlsoap:header message="intf:findAddressRequest" part="AddressHeader" use="literal"> - <wsdlsoap:headerfault message="intf:findAddressRequest" part="AddressHeader" use="literal"/> - </wsdlsoap:header> - <wsdlsoap:body parts="parameters" use="literal"/> - </wsdl:input> - <wsdl:output name="findAddressResponse"> - <wsdlsoap:body use="literal"/> - </wsdl:output> - <wsdl:fault name="f1"> - <wsdlsoap:fault use="literal"/> - </wsdl:fault> - </wsdl:operation> - <wsdl:operation name="saveAddress"> - <wsdlsoap:operation soapAction=""/> - <wsdl:input name="saveAddressRequest"> - <wsdlsoap:body use="literal"/> - </wsdl:input> - <wsdl:output name="saveAddressResponse"> - <wsdlsoap:body use="literal"/> - </wsdl:output> - </wsdl:operation> - </wsdl:binding> - <wsdl:service name="AddressBookService"> - <wsdl:port name="AddressBook" binding="intf:AddressBookSoapBinding"> - <wsdlsoap:address location="http://tempuri.org/AddressBook"/> - </wsdl:port> - </wsdl:service> -</wsdl:definitions> diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2022-2/testcase.xml b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2022-2/testcase.xml deleted file mode 100644 index 0ba892a4a..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2022-2/testcase.xml +++ /dev/null @@ -1,16 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<testcase name="2022-2"> - <description> - This is an example of a non-conformant wsdl that should fail test assertion BP2022. - Soapbind:fault element does not have a name attribute. - Note this assertion is caught by the base WSDL validator. - So this assertion should be disabled when running in conjunction with the - base validator. - </description> - <expectedFailures> - <assertion id="BP2022" tadID="SSBP10"/> - <assertion id="BP2022" tadID="AP10"/> - <assertion id="BP2032" tadID="SSBP10"/> - <assertion id="BP2032" tadID="AP10"/> - </expectedFailures> -</testcase>
\ No newline at end of file diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2032-1/2032-1.wsdl b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2032-1/2032-1.wsdl deleted file mode 100644 index aa2235e75..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2032-1/2032-1.wsdl +++ /dev/null @@ -1,106 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<wsdl:definitions targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:intf="http://tempuri.org/" xmlns:impl="http://tempuri.org/" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns="http://schemas.xmlsoap.org/wsdl/"> - <wsdl:types> - <schema elementFormDefault="qualified" targetNamespace="http://tempuri.org/" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:intf="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"> - - <complexType name="Address"> - <sequence> - <element name="province" nillable="true" type="xsd:string"/> - <element name="city" nillable="true" type="xsd:string"/> - <element name="street" nillable="true" type="xsd:string"/> - <element name="postalCode" nillable="true" type="xsd:string"/> - <element name="phoneNumber" nillable="true" type="impl:PhoneNumber"/> - </sequence> - </complexType> - <complexType name="PhoneNumber"> - <sequence> - <element name="area" type="xsd:int"/> - <element name="prefix" type="xsd:int"/> - <element name="number" type="xsd:int"/> - </sequence> - </complexType> - <complexType name="findAddressResponse"> - <sequence> - <element name="findAddressReturn" nillable="true" type="impl:Address"/> - </sequence> - </complexType> - <complexType name="saveAddress"> - <sequence> - <element name="name" nillable="true" type="xsd:string"/> - <element name="address" nillable="true" type="impl:Address"/> - </sequence> - </complexType> - <complexType name="saveAddressResponse"> - <sequence/> - </complexType> - <complexType name="AddressHeaderType"> - <all> - <element name="a" type="int"/> - <element name="b" type="boolean"/> - <element name="s" nillable="true" type="string"/> - </all> - </complexType> - <element name="AddressHeader" type="impl:AddressHeaderType"/> - <element name="Address" type="string"/> - </schema> - </wsdl:types> - <wsdl:message name="saveAddressRequest"> - <wsdl:part name="parameters" type="intf:saveAddress"/> - </wsdl:message> - <wsdl:message name="findAddressRequest"> - <wsdl:part name="parameters" type="xsd:string"/> - <wsdl:part name="AddressHeader" element="intf:AddressHeader"/> - </wsdl:message> - <wsdl:message name="findAddressResponse"> - <wsdl:part name="parameters" type="intf:findAddressResponse"/> - </wsdl:message> - <wsdl:message name="saveAddressResponse"> - <wsdl:part name="parameters" type="intf:saveAddressResponse"/> - </wsdl:message> - <wsdl:message name="parameterfault"> - <part name="part3" element="intf:Address" /> - </wsdl:message> - <wsdl:portType name="AddressBook"> - <wsdl:operation name="findAddress"> - <wsdl:input name="findAddressRequest" message="intf:findAddressRequest"/> - <wsdl:output name="findAddressResponse" message="intf:findAddressResponse"/> - <wsdl:fault name="f1" message="intf:parameterfault"/> - </wsdl:operation> - <wsdl:operation name="saveAddress"> - <wsdl:input name="saveAddressRequest" message="intf:saveAddressRequest"/> - <wsdl:output name="saveAddressResponse" message="intf:saveAddressResponse"/> - </wsdl:operation> - </wsdl:portType> - <wsdl:binding name="AddressBookSoapBinding" type="intf:AddressBook"> - <wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/> - <wsdl:operation name="findAddress"> - <wsdlsoap:operation soapAction=""/> - <wsdl:input name="findAddressRequest"> - <wsdlsoap:header message="intf:findAddressRequest" part="AddressHeader" use="literal"> - <wsdlsoap:headerfault message="intf:findAddressRequest" part="AddressHeader" use="literal"/> - </wsdlsoap:header> - <wsdlsoap:body parts="parameters" use="literal" namespace="http://tempuri.org/"/> - </wsdl:input> - <wsdl:output name="findAddressResponse"> - <wsdlsoap:body use="literal" namespace="http://tempuri.org/"/> - </wsdl:output> - <wsdl:fault name="f1"> - <wsdlsoap:fault name="fault1" use="literal"/> - </wsdl:fault> - </wsdl:operation> - <wsdl:operation name="saveAddress"> - <wsdlsoap:operation soapAction=""/> - <wsdl:input name="saveAddressRequest"> - <wsdlsoap:body use="literal" namespace="http://tempuri.org/"/> - </wsdl:input> - <wsdl:output name="saveAddressResponse"> - <wsdlsoap:body use="literal" namespace="http://tempuri.org/"/> - </wsdl:output> - </wsdl:operation> - </wsdl:binding> - <wsdl:service name="AddressBookService"> - <wsdl:port name="AddressBook" binding="intf:AddressBookSoapBinding"> - <wsdlsoap:address location="http://tempuri.org/AddressBook"/> - </wsdl:port> - </wsdl:service> -</wsdl:definitions> diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2032-1/testcase.xml b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2032-1/testcase.xml deleted file mode 100644 index 218b32784..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2032-1/testcase.xml +++ /dev/null @@ -1,15 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<testcase name="2032-1"> - <description> - This is an example of a non-conformant wsdl that should fail test assertion BP2022. - The name attribute value on the Soapbind:fault element does not match the name - attribute value specified on the parent element wsdl:fault element. - Note this assertion is caught by the base WSDL validator. - So this assertion should be disabled when running in conjunction with the - base validator. - </description> - <expectedFailures> - <assertion id="BP2032" tadID="SSBP10"/> - <assertion id="BP2032" tadID="AP10"/> - </expectedFailures> -</testcase>
\ No newline at end of file diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2032-2/2032-2.wsdl b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2032-2/2032-2.wsdl deleted file mode 100644 index 852fadfd6..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2032-2/2032-2.wsdl +++ /dev/null @@ -1,117 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<wsdl:definitions targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:intf="http://tempuri.org/" xmlns:impl="http://tempuri.org/" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns="http://schemas.xmlsoap.org/wsdl/"> - <wsdl:types> - <schema elementFormDefault="qualified" targetNamespace="http://tempuri.org/" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:intf="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"> - <element name="findAddress"> - <complexType> - <sequence> - <element name="name" nillable="true" type="xsd:string"/> - </sequence> - </complexType> - </element> - <complexType name="Address"> - <sequence> - <element name="province" nillable="true" type="xsd:string"/> - <element name="city" nillable="true" type="xsd:string"/> - <element name="street" nillable="true" type="xsd:string"/> - <element name="postalCode" nillable="true" type="xsd:string"/> - <element name="phoneNumber" nillable="true" type="impl:PhoneNumber"/> - </sequence> - </complexType> - <complexType name="PhoneNumber"> - <sequence> - <element name="area" type="xsd:int"/> - <element name="prefix" type="xsd:int"/> - <element name="number" type="xsd:int"/> - </sequence> - </complexType> - <element name="findAddressResponse"> - <complexType> - <sequence> - <element name="findAddressReturn" nillable="true" type="impl:Address"/> - </sequence> - </complexType> - </element> - <element name="saveAddress"> - <complexType> - <sequence> - <element name="name" nillable="true" type="xsd:string"/> - <element name="address" nillable="true" type="impl:Address"/> - </sequence> - </complexType> - </element> - <element name="saveAddressResponse"> - <complexType> - <sequence/> - </complexType> - </element> - <complexType name="AddressHeaderType"> - <all> - <element name="a" type="int"/> - <element name="b" type="boolean"/> - <element name="s" nillable="true" type="string"/> - </all> - </complexType> - <element name="AddressHeader" nillable="true" type="impl:AddressHeaderType"/> - </schema> - </wsdl:types> - <wsdl:message name="saveAddressRequest"> - <wsdl:part name="parameters" element="intf:saveAddress"/> - </wsdl:message> - <wsdl:message name="findAddressRequest"> - <wsdl:part name="parameters" element="intf:findAddress"/> - <wsdl:part name="AddressHeader" element="intf:AddressHeader"/> - </wsdl:message> - <wsdl:message name="findAddressResponse"> - <wsdl:part name="parameters" element="intf:findAddressResponse"/> - </wsdl:message> - <wsdl:message name="saveAddressResponse"> - <wsdl:part name="parameters" element="intf:saveAddressResponse"/> - </wsdl:message> - <wsdl:message name="parameterfault"> - <part name="part3" element="intf:findAddress" /> - </wsdl:message> - <wsdl:portType name="AddressBook"> - <wsdl:operation name="findAddress"> - <wsdl:input name="findAddressRequest" message="intf:findAddressRequest"/> - <wsdl:output name="findAddressResponse" message="intf:findAddressResponse"/> - <wsdl:fault name="f1" message="intf:parameterfault"/> - </wsdl:operation> - <wsdl:operation name="saveAddress"> - <wsdl:input name="saveAddressRequest" message="intf:saveAddressRequest"/> - <wsdl:output name="saveAddressResponse" message="intf:saveAddressResponse"/> - </wsdl:operation> - </wsdl:portType> - <wsdl:binding name="AddressBookSoapBinding" type="intf:AddressBook"> - <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/> - <wsdl:operation name="findAddress"> - <wsdlsoap:operation soapAction=""/> - <wsdl:input name="findAddressRequest"> - <wsdlsoap:header message="intf:findAddressRequest" part="AddressHeader" use="literal"> - <wsdlsoap:headerfault message="intf:findAddressRequest" part="AddressHeader" use="literal"/> - </wsdlsoap:header> - <wsdlsoap:body parts="parameters" use="literal"/> - </wsdl:input> - <wsdl:output name="findAddressResponse"> - <wsdlsoap:body use="literal"/> - </wsdl:output> - <wsdl:fault name="f1"> - <wsdlsoap:fault name="fault1" use="literal"/> - </wsdl:fault> - </wsdl:operation> - <wsdl:operation name="saveAddress"> - <wsdlsoap:operation soapAction=""/> - <wsdl:input name="saveAddressRequest"> - <wsdlsoap:body use="literal"/> - </wsdl:input> - <wsdl:output name="saveAddressResponse"> - <wsdlsoap:body use="literal"/> - </wsdl:output> - </wsdl:operation> - </wsdl:binding> - <wsdl:service name="AddressBookService"> - <wsdl:port name="AddressBook" binding="intf:AddressBookSoapBinding"> - <wsdlsoap:address location="http://tempuri.org/AddressBook"/> - </wsdl:port> - </wsdl:service> -</wsdl:definitions> diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2032-2/testcase.xml b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2032-2/testcase.xml deleted file mode 100644 index dc3459392..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2032-2/testcase.xml +++ /dev/null @@ -1,15 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<testcase name="2032-2"> - <description> - This is an example of a non-conformant wsdl that should fail test assertion BP2022. - The name attribute value on the Soapbind:fault element does not match the name - attribute value specified on the parent element wsdl:fault element. - Note this assertion is caught by the base WSDL validator. - So this assertion should be disabled when running in conjunction with the - base validator. - </description> - <expectedFailures> - <assertion id="BP2032" tadID="SSBP10"/> - <assertion id="BP2032" tadID="AP10"/> - </expectedFailures> -</testcase>
\ No newline at end of file diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/wsi/addressBook-rpc/addressBook-rpc.wsdl b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/wsi/addressBook-rpc/addressBook-rpc.wsdl deleted file mode 100644 index 6777c12c7..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/wsi/addressBook-rpc/addressBook-rpc.wsdl +++ /dev/null @@ -1,97 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<wsdl:definitions targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:intf="http://tempuri.org/" xmlns:impl="http://tempuri.org/" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns="http://schemas.xmlsoap.org/wsdl/"> - <wsdl:types> - <schema elementFormDefault="qualified" targetNamespace="http://tempuri.org/" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:intf="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"> - - <complexType name="Address"> - <sequence> - <element name="province" nillable="true" type="xsd:string"/> - <element name="city" nillable="true" type="xsd:string"/> - <element name="street" nillable="true" type="xsd:string"/> - <element name="postalCode" nillable="true" type="xsd:string"/> - <element name="phoneNumber" nillable="true" type="impl:PhoneNumber"/> - </sequence> - </complexType> - <complexType name="PhoneNumber"> - <sequence> - <element name="area" type="xsd:int"/> - <element name="prefix" type="xsd:int"/> - <element name="number" type="xsd:int"/> - </sequence> - </complexType> - <complexType name="findAddressResponse"> - <sequence> - <element name="findAddressReturn" nillable="true" type="impl:Address"/> - </sequence> - </complexType> - <complexType name="saveAddress"> - <sequence> - <element name="name" nillable="true" type="xsd:string"/> - <element name="address" nillable="true" type="impl:Address"/> - </sequence> - </complexType> - <complexType name="saveAddressResponse"> - <sequence/> - </complexType> - <complexType name="AddressHeaderType"> - <all> - <element name="a" type="int"/> - <element name="b" type="boolean"/> - <element name="s" nillable="true" type="string"/> - </all> - </complexType> - <element name="AddressHeader" type="impl:AddressHeaderType"/> - </schema> - </wsdl:types> - <wsdl:message name="saveAddressRequest"> - <wsdl:part name="parameters" type="intf:saveAddress"/> - </wsdl:message> - <wsdl:message name="findAddressRequest"> - <wsdl:part name="parameters" type="xsd:string"/> - <wsdl:part name="AddressHeader" element="intf:AddressHeader"/> - </wsdl:message> - <wsdl:message name="findAddressResponse"> - <wsdl:part name="parameters" type="intf:findAddressResponse"/> - </wsdl:message> - <wsdl:message name="saveAddressResponse"> - <wsdl:part name="parameters" type="intf:saveAddressResponse"/> - </wsdl:message> - <wsdl:portType name="AddressBook"> - <wsdl:operation name="findAddress"> - <wsdl:input name="findAddressRequest" message="intf:findAddressRequest"/> - <wsdl:output name="findAddressResponse" message="intf:findAddressResponse"/> - </wsdl:operation> - <wsdl:operation name="saveAddress"> - <wsdl:input name="saveAddressRequest" message="intf:saveAddressRequest"/> - <wsdl:output name="saveAddressResponse" message="intf:saveAddressResponse"/> - </wsdl:operation> - </wsdl:portType> - <wsdl:binding name="AddressBookSoapBinding" type="intf:AddressBook"> - <wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/> - <wsdl:operation name="findAddress"> - <wsdlsoap:operation soapAction=""/> - <wsdl:input name="findAddressRequest"> - <wsdlsoap:header message="intf:findAddressRequest" part="AddressHeader" use="literal"> - </wsdlsoap:header> - <wsdlsoap:body parts="parameters" use="literal" namespace="http://tempuri.org/"/> - </wsdl:input> - <wsdl:output name="findAddressResponse"> - <wsdlsoap:body use="literal" namespace="http://tempuri.org/"/> - </wsdl:output> - </wsdl:operation> - <wsdl:operation name="saveAddress"> - <wsdlsoap:operation soapAction=""/> - <wsdl:input name="saveAddressRequest"> - <wsdlsoap:body use="literal" namespace="http://tempuri.org/"/> - </wsdl:input> - <wsdl:output name="saveAddressResponse"> - <wsdlsoap:body use="literal" namespace="http://tempuri.org/"/> - </wsdl:output> - </wsdl:operation> - </wsdl:binding> - <wsdl:service name="AddressBookService"> - <wsdl:port name="AddressBook" binding="intf:AddressBookSoapBinding"> - <wsdlsoap:address location="http://tempuri.org/AddressBook"/> - </wsdl:port> - </wsdl:service> -</wsdl:definitions> diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/wsi/addressBook-rpc/testcase.xml b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/wsi/addressBook-rpc/testcase.xml deleted file mode 100644 index 15a2f8da2..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/wsi/addressBook-rpc/testcase.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<testcase name="addressBook-rpc"> - <description> - This is an example of a conformant wsdl used in the WS-I - interoperability demo. - </description> - <expectedFailures/> -</testcase>
\ No newline at end of file diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/wsi/addressBook/addressBook.wsdl b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/wsi/addressBook/addressBook.wsdl deleted file mode 100644 index 01482d836..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/wsi/addressBook/addressBook.wsdl +++ /dev/null @@ -1,109 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<wsdl:definitions targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:intf="http://tempuri.org/" xmlns:impl="http://tempuri.org/" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns="http://schemas.xmlsoap.org/wsdl/"> - <wsdl:types> - <schema elementFormDefault="qualified" targetNamespace="http://tempuri.org/" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:intf="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"> - <element name="findAddress"> - <complexType> - <sequence> - <element name="name" nillable="true" type="xsd:string"/> - </sequence> - </complexType> - </element> - <complexType name="Address"> - <sequence> - <element name="province" nillable="true" type="xsd:string"/> - <element name="city" nillable="true" type="xsd:string"/> - <element name="street" nillable="true" type="xsd:string"/> - <element name="postalCode" nillable="true" type="xsd:string"/> - <element name="phoneNumber" nillable="true" type="impl:PhoneNumber"/> - </sequence> - </complexType> - <complexType name="PhoneNumber"> - <sequence> - <element name="area" type="xsd:int"/> - <element name="prefix" type="xsd:int"/> - <element name="number" type="xsd:int"/> - </sequence> - </complexType> - <element name="findAddressResponse"> - <complexType> - <sequence> - <element name="findAddressReturn" nillable="true" type="impl:Address"/> - </sequence> - </complexType> - </element> - <element name="saveAddress"> - <complexType> - <sequence> - <element name="name" nillable="true" type="xsd:string"/> - <element name="address" nillable="true" type="impl:Address"/> - </sequence> - </complexType> - </element> - <element name="saveAddressResponse"> - <complexType> - <sequence/> - </complexType> - </element> - <complexType name="AddressHeaderType"> - <all> - <element name="a" type="int"/> - <element name="b" type="boolean"/> - <element name="s" nillable="true" type="string"/> - </all> - </complexType> - <element name="AddressHeader" nillable="true" type="impl:AddressHeaderType"/> - </schema> - </wsdl:types> - <wsdl:message name="saveAddressRequest"> - <wsdl:part name="parameters" element="intf:saveAddress"/> - </wsdl:message> - <wsdl:message name="findAddressRequest"> - <wsdl:part name="parameters" element="intf:findAddress"/> - <wsdl:part name="AddressHeader" element="intf:AddressHeader"/> - </wsdl:message> - <wsdl:message name="findAddressResponse"> - <wsdl:part name="parameters" element="intf:findAddressResponse"/> - </wsdl:message> - <wsdl:message name="saveAddressResponse"> - <wsdl:part name="parameters" element="intf:saveAddressResponse"/> - </wsdl:message> - <wsdl:portType name="AddressBook"> - <wsdl:operation name="findAddress"> - <wsdl:input name="findAddressRequest" message="intf:findAddressRequest"/> - <wsdl:output name="findAddressResponse" message="intf:findAddressResponse"/> - </wsdl:operation> - <wsdl:operation name="saveAddress"> - <wsdl:input name="saveAddressRequest" message="intf:saveAddressRequest"/> - <wsdl:output name="saveAddressResponse" message="intf:saveAddressResponse"/> - </wsdl:operation> - </wsdl:portType> - <wsdl:binding name="AddressBookSoapBinding" type="intf:AddressBook"> - <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/> - <wsdl:operation name="findAddress"> - <wsdlsoap:operation soapAction=""/> - <wsdl:input name="findAddressRequest"> - <wsdlsoap:header message="intf:findAddressRequest" part="AddressHeader" use="literal"> - </wsdlsoap:header> - <wsdlsoap:body parts="parameters" use="literal"/> - </wsdl:input> - <wsdl:output name="findAddressResponse"> - <wsdlsoap:body use="literal"/> - </wsdl:output> - </wsdl:operation> - <wsdl:operation name="saveAddress"> - <wsdlsoap:operation soapAction=""/> - <wsdl:input name="saveAddressRequest"> - <wsdlsoap:body use="literal"/> - </wsdl:input> - <wsdl:output name="saveAddressResponse"> - <wsdlsoap:body use="literal"/> - </wsdl:output> - </wsdl:operation> - </wsdl:binding> - <wsdl:service name="AddressBookService"> - <wsdl:port name="AddressBook" binding="intf:AddressBookSoapBinding"> - <wsdlsoap:address location="http://tempuri.org/AddressBook"/> - </wsdl:port> - </wsdl:service> -</wsdl:definitions> diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/wsi/addressBook/testcase.xml b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/wsi/addressBook/testcase.xml deleted file mode 100644 index e4c68a7f2..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/wsi/addressBook/testcase.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<testcase name="addressBook"> - <description> - This is an example of a conformant wsdl used in the WS-I - interoperability demo. - </description> - <expectedFailures/> -</testcase>
\ No newline at end of file diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/wsi/sampleAppCatalog/sampleAppCatalog.wsdl b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/wsi/sampleAppCatalog/sampleAppCatalog.wsdl deleted file mode 100644 index 8dc297345..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/wsi/sampleAppCatalog/sampleAppCatalog.wsdl +++ /dev/null @@ -1,17 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<wsdl:definitions targetNamespace="http://tempuri.org/" - xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" - xmlns:xsd="http://www.w3.org/2001/XMLSchema" - xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" - xmlns:intf="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2003-07/Catalog.wsdl" - xmlns:impl="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2003-07/Catalog_Impl.wsdl" - xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" - xmlns="http://schemas.xmlsoap.org/wsdl/"> - <wsdl:import namespace="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2003-07/Catalog.wsdl" - location="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2003-07/Catalog.wsdl"/> - <wsdl:service name="CatalogService"> - <wsdl:port name="Catalog" binding="intf:CatalogSoapBinding"> - <wsdlsoap:address location="http://tempuri.org/CatalogService"/> - </wsdl:port> - </wsdl:service> -</wsdl:definitions>
\ No newline at end of file diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/wsi/sampleAppCatalog/testcase.xml b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/wsi/sampleAppCatalog/testcase.xml deleted file mode 100644 index 7c053a245..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/wsi/sampleAppCatalog/testcase.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<testcase name="sampleAppCatalog"> - <description> - This is the WS-I Sample Application demonstrating attachment support. - This should validate against the WS-I Attachments Profile. - However, this should fail to conform to the WS-I Simple Soap Binding Profile. - </description> - <expectedFailures> - <assertion id="SSBP2403" tadID="SSBP10"/> - </expectedFailures> -</testcase>
\ No newline at end of file diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/wsi/sampleAppManufacturer/sampleAppManufacturer.wsdl b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/wsi/sampleAppManufacturer/sampleAppManufacturer.wsdl deleted file mode 100644 index fed06795b..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/wsi/sampleAppManufacturer/sampleAppManufacturer.wsdl +++ /dev/null @@ -1,26 +0,0 @@ -<wsdl:definitions - xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" - xmlns="http://schemas.xmlsoap.org/wsdl/" - xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" - xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" - xmlns:impl="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-10/Manufacturer_Impl.wsdl" - xmlns:intf="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-10/Manufacturer.wsdl" - xmlns:ct="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Configuration.xsd" - xmlns:cfg="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Configuration.wsdl" - xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" - xmlns:xsd="http://www.w3.org/2001/XMLSchema" - xmlns:tns="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-10/Manufacturer.wsdl" - targetNamespace="http://tempuri.org/"> - - <wsdl:import location="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-10/Manufacturer.wsdl" - namespace="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-10/Manufacturer.wsdl"/> - <wsdl:import namespace="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Configuration.wsdl" - location="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Configuration.wsdl"/> - - <wsdl:service name="TestService"> - <wsdl:port binding="intf:ManufacturerSoapBinding" name="TestPort"> - <wsdlsoap:address location="http://tempuri.org/TestService"/> - </wsdl:port> - </wsdl:service> - -</wsdl:definitions>
\ No newline at end of file diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/wsi/sampleAppManufacturer/testcase.xml b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/wsi/sampleAppManufacturer/testcase.xml deleted file mode 100644 index f5c9f0618..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/wsi/sampleAppManufacturer/testcase.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<testcase name="sampleAppManufacturer"> - <description> - This is the WS-I Sample Application exercising the Manufacturer wsdl - in the WS-I Basic Profile. - This should validate against the WS-I Simple Soap Binding Profile. - This should also validate against the WS-I Attachments Profile. - </description> - <expectedFailures/> -</testcase>
\ No newline at end of file diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/wsi/sampleAppWarehouse/sampleAppWarehouse.wsdl b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/wsi/sampleAppWarehouse/sampleAppWarehouse.wsdl deleted file mode 100644 index ebe0d22c4..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/wsi/sampleAppWarehouse/sampleAppWarehouse.wsdl +++ /dev/null @@ -1,20 +0,0 @@ -<wsdl:definitions - xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" - xmlns="http://schemas.xmlsoap.org/wsdl/" - xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" - xmlns:intf="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Warehouse.wsdl" - xmlns:man="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-10/Manufacturer.wsdl" - xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" - targetNamespace="http://tempuri.org/"> - - <wsdl:import location="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-10/Manufacturer.wsdl" - namespace="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-10/Manufacturer.wsdl"/> - <wsdl:import location="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Warehouse.wsdl" - namespace="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Warehouse.wsdl"/> - - <wsdl:service name="TestService"> - <wsdl:port binding="intf:WarehouseSoapBinding" name="TestPort"> - <wsdlsoap:address location="http://tempuri.org/TestService"/> - </wsdl:port> - </wsdl:service> -</wsdl:definitions>
\ No newline at end of file diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/wsi/sampleAppWarehouse/testcase.xml b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/wsi/sampleAppWarehouse/testcase.xml deleted file mode 100644 index bc0dc51f0..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/wsi/sampleAppWarehouse/testcase.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<testcase name="sampleAppWarehouse"> - <description> - This is the WS-I Sample Application exercising the Warehouse wsdl - in the WS-I Basic Profile. - This should validate against the WS-I Simple Soap Binding Profile. - This should also validate against the WS-I Attachments Profile. - </description> - <expectedFailures/> -</testcase>
\ No newline at end of file |