diff options
Diffstat (limited to 'tests/org.eclipse.wst.wsi.tests')
159 files changed, 0 insertions, 6653 deletions
diff --git a/tests/org.eclipse.wst.wsi.tests/.classpath b/tests/org.eclipse.wst.wsi.tests/.classpath deleted file mode 100644 index 4f6a1141d..000000000 --- a/tests/org.eclipse.wst.wsi.tests/.classpath +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<classpath> - <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/> - <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"> - <accessrules> - <accessrule kind="accessible" pattern="org/eclipse/wst/wsi/**"/> - </accessrules> - </classpathentry> - <classpathentry kind="src" path="src"/> - <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 1b848ff90..000000000 --- a/tests/org.eclipse.wst.wsi.tests/.cvsignore +++ /dev/null @@ -1,5 +0,0 @@ -bin -temp.folder -wsi.tests.jar -build.xml -javaCompiler.wsi.tests.jar.args 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.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 1cd62e8b7..000000000 --- a/tests/org.eclipse.wst.wsi.tests/META-INF/MANIFEST.MF +++ /dev/null @@ -1,20 +0,0 @@ -Manifest-Version: 1.0 -Bundle-ManifestVersion: 2 -Bundle-Name: %Bundle-Name.0 -Bundle-SymbolicName: org.eclipse.wst.wsi.tests -Bundle-Version: 1.0.100.qualifier -Bundle-ClassPath: wsi.tests.jar -Bundle-Activator: org.eclipse.wst.wsi.tests.internal.WSITestsPlugin -Bundle-Vendor: %Bundle-Vendor.0 -Bundle-Localization: plugin -Require-Bundle: org.eclipse.wst.wsi, - org.eclipse.core.resources, - org.junit;bundle-version="3.8.0", - javax.wsdl;bundle-version="[1.5.0,1.6.0)", - org.eclipse.osgi, - org.eclipse.core.runtime, - org.eclipse.wst.command.env, - org.eclipse.wst.command.env.core -Bundle-ActivationPolicy: lazy -Export-Package: org.eclipse.wst.wsi.tests.internal -Bundle-RequiredExecutionEnvironment: J2SE-1.5 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 2199df3f0..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>June, 2008</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 1bc07f688..000000000 --- a/tests/org.eclipse.wst.wsi.tests/build.properties +++ /dev/null @@ -1,8 +0,0 @@ -source.wsi.tests.jar = src/ -output.wsi.tests.jar = bin/ -bin.includes = wsi.tests.jar,\ - testResources/,\ - test.xml,\ - META-INF/,\ - about.html,\ - plugin.properties diff --git a/tests/org.eclipse.wst.wsi.tests/plugin.properties b/tests/org.eclipse.wst.wsi.tests/plugin.properties deleted file mode 100644 index 0bf9c8061..000000000 --- a/tests/org.eclipse.wst.wsi.tests/plugin.properties +++ /dev/null @@ -1,3 +0,0 @@ -# properties file for org.eclipse.wst.wsi.tests -Bundle-Name.0 = WSI JUnit Test -Bundle-Vendor.0 = Eclipse Web Tools Platform
\ No newline at end of file diff --git a/tests/org.eclipse.wst.wsi.tests/src/org/eclipse/wst/wsi/tests/internal/BasicProfileAnalyzerTest.java b/tests/org.eclipse.wst.wsi.tests/src/org/eclipse/wst/wsi/tests/internal/BasicProfileAnalyzerTest.java deleted file mode 100644 index 488f0f383..000000000 --- a/tests/org.eclipse.wst.wsi.tests/src/org/eclipse/wst/wsi/tests/internal/BasicProfileAnalyzerTest.java +++ /dev/null @@ -1,44 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2009 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.io.File; -import java.util.Collections; - -import junit.framework.TestCase; - -import org.eclipse.wst.wsi.internal.core.analyzer.BasicProfileAnalyzer; -import org.eclipse.wst.wsi.internal.core.analyzer.config.AnalyzerConfig; -import org.eclipse.wst.wsi.internal.core.analyzer.config.AssertionResultsOption; -import org.eclipse.wst.wsi.internal.core.analyzer.config.impl.AssertionResultsOptionImpl; -import org.eclipse.wst.wsi.internal.core.common.impl.AddStyleSheetImpl; -import org.eclipse.wst.wsi.internal.core.document.DocumentFactory; - -public class BasicProfileAnalyzerTest extends TestCase { - public void testReportWriterIsClosedAfterReportIsFinished() throws Exception { - DocumentFactory documentFactory = DocumentFactory.newInstance(); - AnalyzerConfig analyzerconfig = documentFactory.newAnalyzerConfig(); - AssertionResultsOption aro = new AssertionResultsOptionImpl(); - aro.setShowMessageEntry(false); - analyzerconfig.setAssertionResultsOption(aro); - analyzerconfig.setAddStyleSheet(new AddStyleSheetImpl()); - File reportFile = File.createTempFile("wsi-report", ".xml"); - analyzerconfig.setReportLocation(reportFile.getAbsolutePath()); - BasicProfileAnalyzer analyzer = new BasicProfileAnalyzer(Collections.singletonList(analyzerconfig)); - - analyzer.validateConformance(); - - boolean deleted = reportFile.delete(); - assertTrue(deleted); - } - -} 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 25d5f73ea..000000000 --- a/tests/org.eclipse.wst.wsi.tests/src/org/eclipse/wst/wsi/tests/internal/CoreMessageLogConformanceTest.java +++ /dev/null @@ -1,139 +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 static final String WSDL_BASE_DIRECTORY = "testResources/samples/wsdl"; - public static final String WSDL_EXTENSION = ".wsdl"; - - 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; - } - - - - /** - * JUnit test: validate the message log with a WSDL file - * @param wsdlFile URI of the WSDL file - * @param WSData String array containing: elementname, namespace, parentname, type - * @param filename the name of the log and wsdl file (they should be located in the log and wsdl paths respectively) - */ - - protected void runTestWithWSDL(String category, String testName, String[] WSData) { - - 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; - String wsdlFile = "file://" + pluginURI + WSDL_BASE_DIRECTORY + "/" + category + "/" + testName + WSDL_EXTENSION; - - // validate the message log document - MessageAnalyzer analyzer = validateConformanceWithWSDL(messageLogFile, wsdlFile, WSData); - 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 log with a WSDL file - * @param wsdlFile URI of the WSDL file - * @param WSData String array containing: elementname, namespace, parentname, type - * @param filename the name of the log and wsdl file (they should be located in the log and wsdl paths respectively) - * @return the WSDLAnalyzer object containing the validation results - */ - - protected MessageAnalyzer validateConformanceWithWSDL(String filename, String wsdlFile, String[] WSData) { - MessageAnalyzer analyzer = null; - try { - WSIPreferences preferences = new WSIPreferences(); - preferences.setComplianceLevel( WSITestToolsProperties.STOP_NON_WSI); - preferences.setTADFile(getTADURI(tadID)); - - analyzer = new MessageAnalyzer(filename, wsdlFile, WSData[0], WSData[1], WSData[2], WSData[3], 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/MessageLogConformanceSOAP12Test.java b/tests/org.eclipse.wst.wsi.tests/src/org/eclipse/wst/wsi/tests/internal/MessageLogConformanceSOAP12Test.java deleted file mode 100644 index 1c9b33a25..000000000 --- a/tests/org.eclipse.wst.wsi.tests/src/org/eclipse/wst/wsi/tests/internal/MessageLogConformanceSOAP12Test.java +++ /dev/null @@ -1,29 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007, 2009 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; - - -/** - * JUnit tests that test message logs against the WS-I Attachments profile. - */ -public class MessageLogConformanceSOAP12Test extends CoreMessageLogConformanceTest { - - public static final String DEFAULT_LOG_FILENAME = "log.wsimsg"; - - public MessageLogConformanceSOAP12Test(String name) { - super(name); - } - - public void test_SOAP() { runTestWithWSDL("SOAP12", "SimpleLog", new String[] {"Hello", "http://test/", "HelloService", "port"}); } - - -} 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/MessageLogConformanceSecureWSTest.java b/tests/org.eclipse.wst.wsi.tests/src/org/eclipse/wst/wsi/tests/internal/MessageLogConformanceSecureWSTest.java deleted file mode 100644 index 3c3c0d848..000000000 --- a/tests/org.eclipse.wst.wsi.tests/src/org/eclipse/wst/wsi/tests/internal/MessageLogConformanceSecureWSTest.java +++ /dev/null @@ -1,37 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007, 2009 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; - - -/** - * JUnit tests that test message logs against the WS-I Attachments profile. - */ -public class MessageLogConformanceSecureWSTest extends CoreMessageLogConformanceTest { - - public static final String DEFAULT_LOG_FILENAME = "log.wsimsg"; - - public MessageLogConformanceSecureWSTest(String name) { - super(name); - } - - public void test_SecureWS_NoSecuriy() { runTestWithWSDL("SecureWS", "NoSecurity", new String[] {"WebService", "http://main", "WebServiceService", "port"}); } - - public void test_SecureWS_Signature() { runTestWithWSDL("SecureWS", "Signature", new String[] {"WebService", "http://main", "WebServiceService", "port"}); } - - public void test_SecureWS_Encryption() { runTestWithWSDL("SecureWS", "Encryption", new String[] {"WebService", "http://main", "WebServiceService", "port"}); } - - public void test_SecureWS_SignatureAndEncryption() { runTestWithWSDL("SecureWS", "SignatureAndEncryption", new String[] {"WebService", "http://main", "WebServiceService", "port"}); } - - - - -} 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 cd034d665..000000000 --- a/tests/org.eclipse.wst.wsi.tests/src/org/eclipse/wst/wsi/tests/internal/RegressionBucket.java +++ /dev/null @@ -1,66 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2001, 2009 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.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)); - suite.addTest(new TestSuite(MessageLogConformanceSecureWSTest.class)); - suite.addTest(new TestSuite(MessageLogConformanceSOAP12Test.class)); - } - if (tadIsAvailable(WSITestToolsProperties.AP_ASSERTION_FILE)) { - suite.addTest(new TestSuite(WSDLConformanceAPTest.class)); - suite.addTest(new TestSuite(MessageLogConformanceAPTest.class)); - } - - suite.addTest(new TestSuite(BasicProfileAnalyzerTest.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 67583b4eb..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, 2009 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 4dcf73263..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, 2009 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 71ff3df52..000000000 --- a/tests/org.eclipse.wst.wsi.tests/src/org/eclipse/wst/wsi/tests/internal/WSITestsPlugin.java +++ /dev/null @@ -1,80 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2001, 2009 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.io.IOException; - -import org.eclipse.core.runtime.FileLocator; -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 FileLocator.resolve(pluginBundle.getEntry("/")).getFile(); //$NON-NLS-1$ - } - 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/SOAP12/SimpleLog/SimpleLog.wsimsg b/tests/org.eclipse.wst.wsi.tests/testResources/samples/messageLogs/SOAP12/SimpleLog/SimpleLog.wsimsg deleted file mode 100644 index 379f10bee..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/messageLogs/SOAP12/SimpleLog/SimpleLog.wsimsg +++ /dev/null @@ -1,59 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<log timestamp="2007-01-24T13:03:40.532" - 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="pwi32dev-20061002a (SR3)"/> - <operatingSystem name="Windows XP" version="5.1 build 2600 Service Pack 2"/> - <xmlParser name="Apache Xerces" version="XML4J 4.4.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="2007-01-24T13:02:58.342Z"> -<messageContent><?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope"><soapenv:Header></soapenv:Header><soapenv:Body><ns2:hello xmlns:ns2="http://test/"><arg0>gabe</arg0></ns2:hello></soapenv:Body></soapenv:Envelope></messageContent> -<senderHostAndPort>localhost:9082</senderHostAndPort> -<receiverHostAndPort>localhost:9081</receiverHostAndPort> -<httpHeaders>POST /td12/HelloService HTTP/1.1
 -Host: localhost:9081
 -Accept: application/soap+xml,multipart/related,text/*
 -User-Agent: IBM WebServices/1.0
 -Cache-Control: no-cache
 -Pragma: no-cache
 -SOAPAction: ""
 -Connection: Keep-Alive
 -Content-Type: application/soap+xml; charset=UTF-8
 -Content-Length: 258
 -Date: Wed, 24 Jan 2007 18:02:57 GMT
 -
 -</httpHeaders> -</messageEntry> -<messageEntry xsi:type="httpMessageEntry" ID="2" conversationID="1" type="response" timestamp="2007-01-24T13:02:58.472Z"> -<messageContent><?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope"><soapenv:Header></soapenv:Header><soapenv:Body><ns2:helloResponse xmlns:ns2="http://test/"><return>Hello, gabe!</return></ns2:helloResponse></soapenv:Body></soapenv:Envelope></messageContent> -<senderHostAndPort>localhost:9081</senderHostAndPort> -<receiverHostAndPort>localhost:9082</receiverHostAndPort> -<httpHeaders>HTTP/1.1 200 OK
 -Content-Type: application/soap+xml; charset=UTF-8
 -Content-Language: en-US
 -Set-Cookie: JSESSIONID=00005zFMWYUwGltLa-jNuNaxwq3:-1; Path=/
 -Transfer-Encoding: chunked
 -Date: Wed, 24 Jan 2007 18:02:57 GMT
 -Server: WebSphere Application Server/6.1
 -Expires: Thu, 01 Dec 1994 16:00:00 GMT
 -Cache-Control: no-cache="set-cookie, set-cookie2"
 -
 -</httpHeaders> -</messageEntry> -</log> diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/messageLogs/SOAP12/SimpleLog/testcase.xml b/tests/org.eclipse.wst.wsi.tests/testResources/samples/messageLogs/SOAP12/SimpleLog/testcase.xml deleted file mode 100644 index f3f12e965..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/messageLogs/SOAP12/SimpleLog/testcase.xml +++ /dev/null @@ -1,21 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<testcase name="Encryption"> - <description> - This is an example of a message log file that contains a message with no security. - </description> - <expectedFailures> - <assertion id="BP1201" tadID="AP10"/> - <assertion id="BP1600" tadID="AP10"/> - - <assertion id="BP1201" tadID="AP10"/> - <assertion id="BP1600" tadID="AP10"/> - - <assertion id="AP1945" tadID="AP10"/> - <assertion id="SSBP5101" tadID="AP10"/> - - <assertion id="AP1945" tadID="AP10"/> - <assertion id="SSBP5101" tadID="AP10"/> - - - </expectedFailures> -</testcase> diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/messageLogs/SecureWS/Encryption/Encryption.wsimsg b/tests/org.eclipse.wst.wsi.tests/testResources/samples/messageLogs/SecureWS/Encryption/Encryption.wsimsg deleted file mode 100644 index 498605898..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/messageLogs/SecureWS/Encryption/Encryption.wsimsg +++ /dev/null @@ -1,56 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<log timestamp="2007-01-16T12:15:58.325" - 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="pwi32dev-20061002a (SR3)"/> - <operatingSystem name="Windows XP" version="5.1 build 2600 Service Pack 2"/> - <xmlParser name="Apache Xerces" version="XML4J 4.4.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="2007-01-16T10:47:30.653Z"> -<messageContent><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wsa="http://www.w3.org/2005/08/addressing"><soapenv:Header><wsse:Security soapenv:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"><EncryptedKey xmlns="http://www.w3.org/2001/04/xmlenc#"><EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#rsa-1_5"/><ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#"><wsse:SecurityTokenReference><wsse:KeyIdentifier ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509SubjectKeyIdentifier">/62wXObED7z6c1yX7QkvN1thQdY=</wsse:KeyIdentifier></wsse:SecurityTokenReference></ds:KeyInfo><CipherData><CipherValue>jqdoeKEKKqXgQnvWzDO/WyHPb35UYWRzzwyXAvSHFYThg3O8YM7HbfYF5JUAv89bii8HuT/52oEXRvLOdAFIPUlYE0nRSH+JCb/tin+3XDlqm0HSb/pjzxKG074llcHftvRzhsJ2R+CSzXi9pCoxGVTbLR9MhcsWx1i/VvDPLZE=</CipherValue></CipherData><ReferenceList><DataReference URI="#wssecurity_encryption_id_0"/></ReferenceList></EncryptedKey></wsse:Security><wsa:To>http://localhost:9082/WebProjectWithEncription/services/WebService</wsa:To><wsa:Action>increment</wsa:Action><wsa:MessageID>uuid:2B9757CC-0110-4000-E000-035C091A9DD9</wsa:MessageID></soapenv:Header><soapenv:Body><EncryptedData Id="wssecurity_encryption_id_0" Type="http://www.w3.org/2001/04/xmlenc#Content" xmlns="http://www.w3.org/2001/04/xmlenc#"><EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#tripledes-cbc"/><CipherData><CipherValue>vdU42sOo6/Wv1V3roMIVpbJuvgsIEx6mOwlNWDrr8jgkKv65VBCv2WIMASwHZVLZZAqJ4zgiEV9rpCXs7Qj+8GMfmVR9VZYvKK5j5HEv1xbzB0HPOsa5BA==</CipherValue></CipherData></EncryptedData></soapenv:Body></soapenv:Envelope></messageContent> -<senderHostAndPort>localhost:9082</senderHostAndPort> -<receiverHostAndPort>localhost:9080</receiverHostAndPort> -<httpHeaders>POST /WebProjectWithEncription/services/WebService HTTP/1.1
 -Host: localhost:9080
 -Accept: application/soap+xml,multipart/related,text/*
 -User-Agent: IBM WebServices/1.0
 -Cache-Control: no-cache
 -Pragma: no-cache
 -SOAPAction: "increment"
 -Connection: Keep-Alive
 -Content-Type: text/xml; charset=utf-8
 -Content-Length: 1871
 -Date: Tue, 16 Jan 2007 15:47:30 GMT
 -
 -</httpHeaders> -</messageEntry> -<messageEntry xsi:type="httpMessageEntry" ID="2" conversationID="1" type="response" timestamp="2007-01-16T10:47:31.074Z"> -<messageContent><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wsa="http://www.w3.org/2005/08/addressing"><soapenv:Header><wsse:Security soapenv:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"><EncryptedKey xmlns="http://www.w3.org/2001/04/xmlenc#"><EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#rsa-1_5"/><ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#"><wsse:SecurityTokenReference><wsse:KeyIdentifier ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509SubjectKeyIdentifier">tyBU3qQufYZ71tJAU7gVIqgROuQ=</wsse:KeyIdentifier></wsse:SecurityTokenReference></ds:KeyInfo><CipherData><CipherValue>PVUO0afdAuOYFP1nMvezP6UqY4rIo83xPGJ4rW+s7NkPOHdErD/tmbtbG8uXAyeT4iLXM/K2+fSylni8GFiJZkxoz08kMEd19/6aeafbA0izU9DVAUKRM/ehCg2KCYi2wXhQajYfkQuFMGumA9VKVgrY7Ndu7f/Yc/pmIWtQ/so=</CipherValue></CipherData><ReferenceList><DataReference URI="#wssecurity_encryption_id_1"/></ReferenceList></EncryptedKey></wsse:Security><wsa:To>http://www.w3.org/2005/08/addressing/anonymous</wsa:To><wsa:Action>http://main/WebService/incrementResponse</wsa:Action><wsa:MessageID>uuid:2B977678-0110-4000-E000-035C091A9DD9</wsa:MessageID><wsa:RelatesTo>uuid:2B9757CC-0110-4000-E000-035C091A9DD9</wsa:RelatesTo></soapenv:Header><soapenv:Body><EncryptedData Id="wssecurity_encryption_id_1" Type="http://www.w3.org/2001/04/xmlenc#Content" xmlns="http://www.w3.org/2001/04/xmlenc#"><EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#tripledes-cbc"/><CipherData><CipherValue>RDSS9LpkpIu5lWOZr+hfsEzNouljD6/NRIfsYPH0XCtwpom4an/gZS1vl5u9r5DZUuq+WpSJOpe8Ns9mqZljCFJvVmMLGb+kC3ig7jEJCvbqc78qDIQCmgLPOrcl1Q0ZSlh25Ax73de4HWWOPJQjKPHZYopcU8MK</CipherValue></CipherData></EncryptedData></soapenv:Body></soapenv:Envelope></messageContent> -<senderHostAndPort>localhost:9080</senderHostAndPort> -<receiverHostAndPort>localhost:9082</receiverHostAndPort> -<httpHeaders>HTTP/1.1 200 OK
 -Content-Type: text/xml; charset=utf-8
 -Content-Language: en-US
 -Content-Length: 1994
 -Date: Tue, 16 Jan 2007 15:47:30 GMT
 -Server: WebSphere Application Server/6.1
 -
 -</httpHeaders> -</messageEntry> -</log> diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/messageLogs/SecureWS/Encryption/testcase.xml b/tests/org.eclipse.wst.wsi.tests/testResources/samples/messageLogs/SecureWS/Encryption/testcase.xml deleted file mode 100644 index 29958082e..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/messageLogs/SecureWS/Encryption/testcase.xml +++ /dev/null @@ -1,7 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<testcase name="Encryption"> - <description> - This is an example of a message log file that contains a message with encryption. - </description> - <expectedFailures/> -</testcase> diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/messageLogs/SecureWS/NoSecurity/NoSecurity.wsimsg b/tests/org.eclipse.wst.wsi.tests/testResources/samples/messageLogs/SecureWS/NoSecurity/NoSecurity.wsimsg deleted file mode 100644 index 20c92a9cf..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/messageLogs/SecureWS/NoSecurity/NoSecurity.wsimsg +++ /dev/null @@ -1,56 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<log timestamp="2007-01-16T18:14:06.005" - 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="pwi32dev-20061002a (SR3)"/> - <operatingSystem name="Windows XP" version="5.1 build 2600 Service Pack 2"/> - <xmlParser name="Apache Xerces" version="XML4J 4.4.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="2007-01-16T18:13:52.836Z"> -<messageContent><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wsa="http://www.w3.org/2005/08/addressing"><soapenv:Header><wsa:To>http://localhost:9082/WebProjectNoSecurity/services/WebService</wsa:To><wsa:Action>increment</wsa:Action><wsa:MessageID>uuid:2D301EA6-0110-4000-E000-035C091A9DD9</wsa:MessageID></soapenv:Header><soapenv:Body><p619:increment xmlns:p619="http://main"><value>1</value></p619:increment></soapenv:Body></soapenv:Envelope></messageContent> -<senderHostAndPort>localhost:9082</senderHostAndPort> -<receiverHostAndPort>localhost:9080</receiverHostAndPort> -<httpHeaders>POST /WebProjectNoSecurity/services/WebService HTTP/1.1
 -Host: localhost:9080
 -Accept: application/soap+xml,multipart/related,text/*
 -User-Agent: IBM WebServices/1.0
 -Cache-Control: no-cache
 -Pragma: no-cache
 -SOAPAction: "increment"
 -Connection: Keep-Alive
 -Content-Type: text/xml; charset=utf-8
 -Content-Length: 622
 -Date: Tue, 16 Jan 2007 23:13:52 GMT
 -
 -</httpHeaders> -</messageEntry> -<messageEntry xsi:type="httpMessageEntry" ID="2" conversationID="1" type="response" timestamp="2007-01-16T18:13:52.976Z"> -<messageContent><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wsa="http://www.w3.org/2005/08/addressing"><soapenv:Header><wsa:To>http://www.w3.org/2005/08/addressing/anonymous</wsa:To><wsa:Action>http://main/WebService/incrementResponse</wsa:Action><wsa:MessageID>uuid:2D301F50-0110-4000-E000-035C091A9DD9</wsa:MessageID><wsa:RelatesTo>uuid:2D301EA6-0110-4000-E000-035C091A9DD9</wsa:RelatesTo></soapenv:Header><soapenv:Body><p619:incrementResponse xmlns:p619="http://main"><incrementReturn>2</incrementReturn></p619:incrementResponse></soapenv:Body></soapenv:Envelope></messageContent> -<senderHostAndPort>localhost:9080</senderHostAndPort> -<receiverHostAndPort>localhost:9082</receiverHostAndPort> -<httpHeaders>HTTP/1.1 200 OK
 -Content-Type: text/xml; charset=utf-8
 -Content-Language: en-US
 -Content-Length: 745
 -Date: Tue, 16 Jan 2007 23:13:52 GMT
 -Server: WebSphere Application Server/6.1
 -
 -</httpHeaders> -</messageEntry> -</log> diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/messageLogs/SecureWS/NoSecurity/testcase.xml b/tests/org.eclipse.wst.wsi.tests/testResources/samples/messageLogs/SecureWS/NoSecurity/testcase.xml deleted file mode 100644 index 5befda851..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/messageLogs/SecureWS/NoSecurity/testcase.xml +++ /dev/null @@ -1,7 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<testcase name="Encryption"> - <description> - This is an example of a message log file that contains a message with no security. - </description> - <expectedFailures/> -</testcase> diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/messageLogs/SecureWS/Signature/Signature.wsimsg b/tests/org.eclipse.wst.wsi.tests/testResources/samples/messageLogs/SecureWS/Signature/Signature.wsimsg deleted file mode 100644 index 6cd05edf7..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/messageLogs/SecureWS/Signature/Signature.wsimsg +++ /dev/null @@ -1,56 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<log timestamp="2007-01-16T18:08:38.524" - 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="pwi32dev-20061002a (SR3)"/> - <operatingSystem name="Windows XP" version="5.1 build 2600 Service Pack 2"/> - <xmlParser name="Apache Xerces" version="XML4J 4.4.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="2007-01-16T18:08:26.006Z"> -<messageContent><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wsa="http://www.w3.org/2005/08/addressing"><soapenv:Header><wsse:Security soapenv:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"><wsse:BinarySecurityToken EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509" wsu:Id="x509bst_16" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">MIIDQTCCAqqgAwIBAgICAQQwDQYJKoZIhvcNAQEFBQAwTjELMAkGA1UEBhMCSlAxETAPBgNVBAgTCEthbmFnYXdhMQwwCgYDVQQKEwNJQk0xDDAKBgNVBAsTA1RSTDEQMA4GA1UEAxMHSW50IENBMjAeFw0wMTEwMDEwOTU0MDZaFw0xMTEwMDEwOTU0MDZaMFQxCzAJBgNVBAYTAkpQMREwDwYDVQQIEwhLYW5hZ2F3YTEMMAoGA1UEChMDSUJNMQwwCgYDVQQLEwNUUkwxFjAUBgNVBAMTDVNPQVBSZXF1ZXN0ZXIwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAMy3PfZ1mPhrEsBvYiOuIlPV3Uis5Yy6hmxo2YwYC2nNDBPzKslWUi/Q+fK+DNdY6KEHmuDrcVcEma48J9X1a5avRlksQfKptKoVn4eBys2i/wkwyzQhDaFji79/MvnTRW8EVy99FNKw4PFnhOoe1tlDcNBuIH/fIuGOz9ElTV+fAgMBAAGjggEmMIIBIjAJBgNVHRMEAjAAMAsGA1UdDwQEAwIF4DAsBglghkgBhvhCAQ0EHxYdT3BlblNTTCBHZW5lcmF0ZWQgQ2VydGlmaWNhdGUwHQYDVR0OBBYEFIW3FD1cXie4j4zw1gAp4cuOAZ4lMIG6BgNVHSMEgbIwga+AFL35INU4+WRy09vaf9zOsP7QvO9voYGSpIGPMIGMMQswCQYDVQQGEwJKUDERMA8GA1UECBMIS2FuYWdhd2ExDzANBgNVBAcTBllhbWF0bzEMMAoGA1UEChMDSUJNMQwwCgYDVQQLEwNUUkwxGTAXBgNVBAMTEFNPQVAgMi4xIFRlc3QgQ0ExIjAgBgkqhkiG9w0BCQEWE21hcnV5YW1hQGpwLmlibS5jb22CAgEBMA0GCSqGSIb3DQEBBQUAA4GBAHkthdGDgCvdIL9/vXUo74xpfOQd/rr1owBmMdb1TWdOyzwbOHC7lkUlnKrkI7SofwSLSDUP571iiMXUx3tRdmAVCoDMMFuDXh9V7212luXccx0s1S5KN0D3xW97LLNegQC0/b+aFD8XKw2U5ZtwbnFTRgs097dmz09RosDKkLlM</wsse:BinarySecurityToken><ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#"><ds:SignedInfo><ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces PrefixList="xsi xsd wsa soapenv soapenc wsse ds " xmlns:ec="http://www.w3.org/2001/10/xml-exc-c14n#"/></ds:CanonicalizationMethod><ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/><ds:Reference URI="#wssecurity_signature_id_15"><ds:Transforms><ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces PrefixList="xsi xsd wsa soapenv soapenc wsu p619 " xmlns:ec="http://www.w3.org/2001/10/xml-exc-c14n#"/></ds:Transform></ds:Transforms><ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><ds:DigestValue>dHNCiEcqxXYSDrbBk3ahCatzwKg=</ds:DigestValue></ds:Reference></ds:SignedInfo><ds:SignatureValue>O6miQ9l6amWnaWi5VWxogwy6GJKMSudmhs417/qGO9yZvAtcGxpAHIrEOWzE/Mt/pFMH3lUKlRW13KvGlmRUuMqMrdkpEhD5tgCQZArT0XWEaUZek+MmmfMhCnB8aAlEpTIaRcWp/0RnNdJXozkyjboT7ouUSIJN/KtmBhMWlkg=</ds:SignatureValue><ds:KeyInfo><wsse:SecurityTokenReference><wsse:Reference URI="#x509bst_16" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509"/></wsse:SecurityTokenReference></ds:KeyInfo></ds:Signature></wsse:Security><wsa:To>http://localhost:9082/WebProjectWithSignature/services/WebService</wsa:To><wsa:Action>increment</wsa:Action><wsa:MessageID>uuid:2D2B21BC-0110-4000-E000-035C091A9DD9</wsa:MessageID></soapenv:Header><soapenv:Body wsu:Id="wssecurity_signature_id_15" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"><p619:increment xmlns:p619="http://main"><value>1</value></p619:increment></soapenv:Body></soapenv:Envelope></messageContent> -<senderHostAndPort>localhost:9082</senderHostAndPort> -<receiverHostAndPort>localhost:9080</receiverHostAndPort> -<httpHeaders>POST /WebProjectWithSignature/services/WebService HTTP/1.1
 -Host: localhost:9080
 -Accept: application/soap+xml,multipart/related,text/*
 -User-Agent: IBM WebServices/1.0
 -Cache-Control: no-cache
 -Pragma: no-cache
 -SOAPAction: "increment"
 -Connection: Keep-Alive
 -Content-Type: text/xml; charset=utf-8
 -Content-Length: 3672
 -Date: Tue, 16 Jan 2007 23:08:25 GMT
 -
 -</httpHeaders> -</messageEntry> -<messageEntry xsi:type="httpMessageEntry" ID="2" conversationID="1" type="response" timestamp="2007-01-16T18:08:26.126Z"> -<messageContent><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wsa="http://www.w3.org/2005/08/addressing"><soapenv:Header><wsse:Security soapenv:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"><wsse:BinarySecurityToken EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509" wsu:Id="x509bst_18" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">MIIDQDCCAqmgAwIBAgICAQUwDQYJKoZIhvcNAQEFBQAwTjELMAkGA1UEBhMCSlAxETAPBgNVBAgTCEthbmFnYXdhMQwwCgYDVQQKEwNJQk0xDDAKBgNVBAsTA1RSTDEQMA4GA1UEAxMHSW50IENBMjAeFw0wMTEwMDExMDAwMzlaFw0xMTEwMDExMDAwMzlaMFMxCzAJBgNVBAYTAkpQMREwDwYDVQQIEwhLYW5hZ2F3YTEMMAoGA1UEChMDSUJNMQwwCgYDVQQLEwNUUkwxFTATBgNVBAMTDFNPQVBQcm92aWRlcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAraakNJ1JzkPUuvPdXRvPOOCl12nBwmqvt65dk/x+QzxxarDNwH+eWRbLyyKcrAyd0XGV+Zbvj6V3O9DSVCZUCJttw6bbqqeYhwAP3V8s24sID77tk3gOhUTEGYxsljX2orL26SLqFJMrvnvk2FRS2mrdkZEBUG97mD4QWcln4d0CAwEAAaOCASYwggEiMAkGA1UdEwQCMAAwCwYDVR0PBAQDAgXgMCwGCWCGSAGG+EIBDQQfFh1PcGVuU1NMIEdlbmVyYXRlZCBDZXJ0aWZpY2F0ZTAdBgNVHQ4EFgQUlXSsrVRfZOLGdJdjEIwTbuSTe4UwgboGA1UdIwSBsjCBr4AUvfkg1Tj5ZHLT29p/3M6w/tC872+hgZKkgY8wgYwxCzAJBgNVBAYTAkpQMREwDwYDVQQIEwhLYW5hZ2F3YTEPMA0GA1UEBxMGWWFtYXRvMQwwCgYDVQQKEwNJQk0xDDAKBgNVBAsTA1RSTDEZMBcGA1UEAxMQU09BUCAyLjEgVGVzdCBDQTEiMCAGCSqGSIb3DQEJARYTbWFydXlhbWFAanAuaWJtLmNvbYICAQEwDQYJKoZIhvcNAQEFBQADgYEAXE7mE1RPb3lYAYJFzBb3VAHvkCWa/HQtCOZdyniCHp3MJ9EbNTq+QpOHV60YE8u0+5SejCzFSOHOpyBgLPjWoz8JXQnjV7VcAbTglw+ZoOSYy64rfhRdr9giSs47F4D6woPsAd2ubg/YhMaXLTSyGxPdV3VqQsutuSgDUDoqWCA=</wsse:BinarySecurityToken><ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#"><ds:SignedInfo><ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces PrefixList="xsi xsd wsa soapenv soapenc wsse ds " xmlns:ec="http://www.w3.org/2001/10/xml-exc-c14n#"/></ds:CanonicalizationMethod><ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/><ds:Reference URI="#wssecurity_signature_id_17"><ds:Transforms><ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces PrefixList="xsi xsd wsa soapenv soapenc wsu p619 " xmlns:ec="http://www.w3.org/2001/10/xml-exc-c14n#"/></ds:Transform></ds:Transforms><ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><ds:DigestValue>toHD25ng+LU4/TJVnXSw4qqYfOg=</ds:DigestValue></ds:Reference></ds:SignedInfo><ds:SignatureValue>k6V0J3rVaIN5zkrklNNlzAslLdbI4pIIbBXh4L8oh477URpIW9k1Qp3ccaaGEoJazeogyq8YqWGliJD0f5qfZz7oBq6BRi2JxB63Ez1IxfXm0uBZRNRGx9IVpdA0y4iVyFiAgUR5e7cJTy/Xun7tLqmN3XrGH0dvdqFTOKzi/Ws=</ds:SignatureValue><ds:KeyInfo><wsse:SecurityTokenReference><wsse:Reference URI="#x509bst_18" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509"/></wsse:SecurityTokenReference></ds:KeyInfo></ds:Signature></wsse:Security><wsa:To>http://www.w3.org/2005/08/addressing/anonymous</wsa:To><wsa:Action>http://main/WebService/incrementResponse</wsa:Action><wsa:MessageID>uuid:2D2B227A-0110-4000-E000-035C091A9DD9</wsa:MessageID><wsa:RelatesTo>uuid:2D2B21BC-0110-4000-E000-035C091A9DD9</wsa:RelatesTo></soapenv:Header><soapenv:Body wsu:Id="wssecurity_signature_id_17" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"><p619:incrementResponse xmlns:p619="http://main"><incrementReturn>2</incrementReturn></p619:incrementResponse></soapenv:Body></soapenv:Envelope></messageContent> -<senderHostAndPort>localhost:9080</senderHostAndPort> -<receiverHostAndPort>localhost:9082</receiverHostAndPort> -<httpHeaders>HTTP/1.1 200 OK
 -Content-Type: text/xml; charset=utf-8
 -Content-Language: en-US
 -Content-Length: 3792
 -Date: Tue, 16 Jan 2007 23:08:25 GMT
 -Server: WebSphere Application Server/6.1
 -
 -</httpHeaders> -</messageEntry> -</log> diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/messageLogs/SecureWS/Signature/testcase.xml b/tests/org.eclipse.wst.wsi.tests/testResources/samples/messageLogs/SecureWS/Signature/testcase.xml deleted file mode 100644 index 708b88a32..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/messageLogs/SecureWS/Signature/testcase.xml +++ /dev/null @@ -1,7 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<testcase name="Encryption"> - <description> - This is an example of a message log file that contains a message with signature. - </description> - <expectedFailures/> -</testcase> diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/messageLogs/SecureWS/SignatureAndEncryption/SignatureAndEncryption.wsimsg b/tests/org.eclipse.wst.wsi.tests/testResources/samples/messageLogs/SecureWS/SignatureAndEncryption/SignatureAndEncryption.wsimsg deleted file mode 100644 index 58e63108e..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/messageLogs/SecureWS/SignatureAndEncryption/SignatureAndEncryption.wsimsg +++ /dev/null @@ -1,56 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<log timestamp="2007-01-16T18:20:09.878" - 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="pwi32dev-20061002a (SR3)"/> - <operatingSystem name="Windows XP" version="5.1 build 2600 Service Pack 2"/> - <xmlParser name="Apache Xerces" version="XML4J 4.4.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="2007-01-16T18:19:58.061Z"> -<messageContent><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wsa="http://www.w3.org/2005/08/addressing"><soapenv:Header><wsse:Security soapenv:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"><wsse:BinarySecurityToken EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509" wsu:Id="x509bst_20" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">MIIDQTCCAqqgAwIBAgICAQQwDQYJKoZIhvcNAQEFBQAwTjELMAkGA1UEBhMCSlAxETAPBgNVBAgTCEthbmFnYXdhMQwwCgYDVQQKEwNJQk0xDDAKBgNVBAsTA1RSTDEQMA4GA1UEAxMHSW50IENBMjAeFw0wMTEwMDEwOTU0MDZaFw0xMTEwMDEwOTU0MDZaMFQxCzAJBgNVBAYTAkpQMREwDwYDVQQIEwhLYW5hZ2F3YTEMMAoGA1UEChMDSUJNMQwwCgYDVQQLEwNUUkwxFjAUBgNVBAMTDVNPQVBSZXF1ZXN0ZXIwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAMy3PfZ1mPhrEsBvYiOuIlPV3Uis5Yy6hmxo2YwYC2nNDBPzKslWUi/Q+fK+DNdY6KEHmuDrcVcEma48J9X1a5avRlksQfKptKoVn4eBys2i/wkwyzQhDaFji79/MvnTRW8EVy99FNKw4PFnhOoe1tlDcNBuIH/fIuGOz9ElTV+fAgMBAAGjggEmMIIBIjAJBgNVHRMEAjAAMAsGA1UdDwQEAwIF4DAsBglghkgBhvhCAQ0EHxYdT3BlblNTTCBHZW5lcmF0ZWQgQ2VydGlmaWNhdGUwHQYDVR0OBBYEFIW3FD1cXie4j4zw1gAp4cuOAZ4lMIG6BgNVHSMEgbIwga+AFL35INU4+WRy09vaf9zOsP7QvO9voYGSpIGPMIGMMQswCQYDVQQGEwJKUDERMA8GA1UECBMIS2FuYWdhd2ExDzANBgNVBAcTBllhbWF0bzEMMAoGA1UEChMDSUJNMQwwCgYDVQQLEwNUUkwxGTAXBgNVBAMTEFNPQVAgMi4xIFRlc3QgQ0ExIjAgBgkqhkiG9w0BCQEWE21hcnV5YW1hQGpwLmlibS5jb22CAgEBMA0GCSqGSIb3DQEBBQUAA4GBAHkthdGDgCvdIL9/vXUo74xpfOQd/rr1owBmMdb1TWdOyzwbOHC7lkUlnKrkI7SofwSLSDUP571iiMXUx3tRdmAVCoDMMFuDXh9V7212luXccx0s1S5KN0D3xW97LLNegQC0/b+aFD8XKw2U5ZtwbnFTRgs097dmz09RosDKkLlM</wsse:BinarySecurityToken><EncryptedKey xmlns="http://www.w3.org/2001/04/xmlenc#"><EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#rsa-1_5"/><ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#"><wsse:SecurityTokenReference><wsse:KeyIdentifier ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509SubjectKeyIdentifier">/62wXObED7z6c1yX7QkvN1thQdY=</wsse:KeyIdentifier></wsse:SecurityTokenReference></ds:KeyInfo><CipherData><CipherValue>guuArIgK20ZQklsNkcj1XzaCmStg+0rx59teuD2pEAXeRvKbCTzkfglRvX8Cn/DiTBYNexbNhvOljX/sue5UKJA5JsmhSCjssGfswJjYXZnRcncAwCTxfottIqawWQF165Baz87uOR0yY7aGimOHipE7SNkR5ll/8AhmwV5gGWk=</CipherValue></CipherData><ReferenceList><DataReference URI="#wssecurity_encryption_id_21"/></ReferenceList></EncryptedKey><ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#"><ds:SignedInfo><ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces PrefixList="xsi xsd wsa soapenv soapenc wsse ds " xmlns:ec="http://www.w3.org/2001/10/xml-exc-c14n#"/></ds:CanonicalizationMethod><ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/><ds:Reference URI="#wssecurity_signature_id_19"><ds:Transforms><ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces PrefixList="xsi xsd wsa soapenv soapenc wsu p619 " xmlns:ec="http://www.w3.org/2001/10/xml-exc-c14n#"/></ds:Transform></ds:Transforms><ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><ds:DigestValue>Oz4zg1AS9dypLRkyllY9IXNtOAU=</ds:DigestValue></ds:Reference></ds:SignedInfo><ds:SignatureValue>GoRB2eClHj7kn4VsyBQYWveMFlxQFk5aoXE/PWFsBCVmTGzyRw+IsZmDxyMPP1Evt5mzIIVsapt5fjFXzq5lkKJEQp+t8TvdRWSIK+UB/jXxuUtkmt+ZSeKWjcecRtTZtdGoLy0A/06xj+bAWV4iG6ffLuP26YhG8Ys+qJB4ZGU=</ds:SignatureValue><ds:KeyInfo><wsse:SecurityTokenReference><wsse:Reference URI="#x509bst_20" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509"/></wsse:SecurityTokenReference></ds:KeyInfo></ds:Signature></wsse:Security><wsa:To>http://localhost:9082/WebProjectWithSignatureAndEncryption/services/WebService</wsa:To><wsa:Action>increment</wsa:Action><wsa:MessageID>uuid:2D35B109-0110-4000-E000-035C091A9DD9</wsa:MessageID></soapenv:Header><soapenv:Body wsu:Id="wssecurity_signature_id_19" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"><EncryptedData Id="wssecurity_encryption_id_21" Type="http://www.w3.org/2001/04/xmlenc#Content" xmlns="http://www.w3.org/2001/04/xmlenc#"><EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#tripledes-cbc"/><CipherData><CipherValue>ddAkxtyaufLLc13ePe1tDSiCQz+h5HL2QN0gV6hc6R3i3WqKo5gQBzwU8JsZWbp9vQ1VMrQYme2TYHjszKncCZzxIvSbjLZ7nMOuWFF7Ad8p67cWm/mPJw==</CipherValue></CipherData></EncryptedData></soapenv:Body></soapenv:Envelope></messageContent> -<senderHostAndPort>localhost:9082</senderHostAndPort> -<receiverHostAndPort>localhost:9080</receiverHostAndPort> -<httpHeaders>POST /WebProjectWithSignatureAndEncryption/services/WebService HTTP/1.1
 -Host: localhost:9080
 -Accept: application/soap+xml,multipart/related,text/*
 -User-Agent: IBM WebServices/1.0
 -Cache-Control: no-cache
 -Pragma: no-cache
 -SOAPAction: "increment"
 -Connection: Keep-Alive
 -Content-Type: text/xml; charset=utf-8
 -Content-Length: 4779
 -Date: Tue, 16 Jan 2007 23:19:57 GMT
 -
 -</httpHeaders> -</messageEntry> -<messageEntry xsi:type="httpMessageEntry" ID="2" conversationID="1" type="response" timestamp="2007-01-16T18:19:58.291Z"> -<messageContent><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wsa="http://www.w3.org/2005/08/addressing"><soapenv:Header><wsse:Security soapenv:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"><wsse:BinarySecurityToken EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509" wsu:Id="x509bst_23" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">MIIDQDCCAqmgAwIBAgICAQUwDQYJKoZIhvcNAQEFBQAwTjELMAkGA1UEBhMCSlAxETAPBgNVBAgTCEthbmFnYXdhMQwwCgYDVQQKEwNJQk0xDDAKBgNVBAsTA1RSTDEQMA4GA1UEAxMHSW50IENBMjAeFw0wMTEwMDExMDAwMzlaFw0xMTEwMDExMDAwMzlaMFMxCzAJBgNVBAYTAkpQMREwDwYDVQQIEwhLYW5hZ2F3YTEMMAoGA1UEChMDSUJNMQwwCgYDVQQLEwNUUkwxFTATBgNVBAMTDFNPQVBQcm92aWRlcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAraakNJ1JzkPUuvPdXRvPOOCl12nBwmqvt65dk/x+QzxxarDNwH+eWRbLyyKcrAyd0XGV+Zbvj6V3O9DSVCZUCJttw6bbqqeYhwAP3V8s24sID77tk3gOhUTEGYxsljX2orL26SLqFJMrvnvk2FRS2mrdkZEBUG97mD4QWcln4d0CAwEAAaOCASYwggEiMAkGA1UdEwQCMAAwCwYDVR0PBAQDAgXgMCwGCWCGSAGG+EIBDQQfFh1PcGVuU1NMIEdlbmVyYXRlZCBDZXJ0aWZpY2F0ZTAdBgNVHQ4EFgQUlXSsrVRfZOLGdJdjEIwTbuSTe4UwgboGA1UdIwSBsjCBr4AUvfkg1Tj5ZHLT29p/3M6w/tC872+hgZKkgY8wgYwxCzAJBgNVBAYTAkpQMREwDwYDVQQIEwhLYW5hZ2F3YTEPMA0GA1UEBxMGWWFtYXRvMQwwCgYDVQQKEwNJQk0xDDAKBgNVBAsTA1RSTDEZMBcGA1UEAxMQU09BUCAyLjEgVGVzdCBDQTEiMCAGCSqGSIb3DQEJARYTbWFydXlhbWFAanAuaWJtLmNvbYICAQEwDQYJKoZIhvcNAQEFBQADgYEAXE7mE1RPb3lYAYJFzBb3VAHvkCWa/HQtCOZdyniCHp3MJ9EbNTq+QpOHV60YE8u0+5SejCzFSOHOpyBgLPjWoz8JXQnjV7VcAbTglw+ZoOSYy64rfhRdr9giSs47F4D6woPsAd2ubg/YhMaXLTSyGxPdV3VqQsutuSgDUDoqWCA=</wsse:BinarySecurityToken><EncryptedKey xmlns="http://www.w3.org/2001/04/xmlenc#"><EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#rsa-1_5"/><ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#"><wsse:SecurityTokenReference><wsse:KeyIdentifier ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509SubjectKeyIdentifier">tyBU3qQufYZ71tJAU7gVIqgROuQ=</wsse:KeyIdentifier></wsse:SecurityTokenReference></ds:KeyInfo><CipherData><CipherValue>Y1nJ/cSHzoQRnFQ8xy0oYwMAZe+W2jbkmWFMrqGS/98FQxponuK9TKVQRb7NU1bMwSoNYMmpNjbn3OFmwQgVXxsxgFuJHSw7UYXf2cSWcdq9ALXMR7O4MOK32KOV38GgmQ4FRGhwjpXTpPjmRJ/OK5fKoNbRtwH2j9eiarkYwMU=</CipherValue></CipherData><ReferenceList><DataReference URI="#wssecurity_encryption_id_24"/></ReferenceList></EncryptedKey><ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#"><ds:SignedInfo><ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces PrefixList="xsi xsd wsa soapenv soapenc wsse ds " xmlns:ec="http://www.w3.org/2001/10/xml-exc-c14n#"/></ds:CanonicalizationMethod><ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/><ds:Reference URI="#wssecurity_signature_id_22"><ds:Transforms><ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces PrefixList="xsi xsd wsa soapenv soapenc wsu p619 " xmlns:ec="http://www.w3.org/2001/10/xml-exc-c14n#"/></ds:Transform></ds:Transforms><ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><ds:DigestValue>SrvVwlKUw7h9gwQVgZtwzHBde3Y=</ds:DigestValue></ds:Reference></ds:SignedInfo><ds:SignatureValue>rRzWsKDh+FDyG7xoyed7gUBXairWG/nNdvLER4w5/YfYQAcLFVGMNc24fl1IsVzEpZfErZlu4kwZyHjptGEDVR4Nh4cr+ZOJXVmpVOtxOvbJNl4pjLU1/N3wlQyYIG0qBrEmFILs3RLWk1+XeE2NlKVWAlJCDGYmNdErrrZh0kE=</ds:SignatureValue><ds:KeyInfo><wsse:SecurityTokenReference><wsse:Reference URI="#x509bst_23" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509"/></wsse:SecurityTokenReference></ds:KeyInfo></ds:Signature></wsse:Security><wsa:To>http://www.w3.org/2005/08/addressing/anonymous</wsa:To><wsa:Action>http://main/WebService/incrementResponse</wsa:Action><wsa:MessageID>uuid:2D35B23F-0110-4000-E000-035C091A9DD9</wsa:MessageID><wsa:RelatesTo>uuid:2D35B109-0110-4000-E000-035C091A9DD9</wsa:RelatesTo></soapenv:Header><soapenv:Body wsu:Id="wssecurity_signature_id_22" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"><EncryptedData Id="wssecurity_encryption_id_24" Type="http://www.w3.org/2001/04/xmlenc#Content" xmlns="http://www.w3.org/2001/04/xmlenc#"><EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#tripledes-cbc"/><CipherData><CipherValue>7YeEI9CMtj0DjpFLypjBMpxRAgdmnnq3d8320kBvMhrQub/AHyPw6k1Wajb8IQ5nGBfNIrC4m0FehtZXUESXyjPfbSGF7scOjr1wxzN4VARz/tWnuXSyZQx6LmJ7KopMeqvymdP03hihsiEZFK8SLBIaGcmlmAHi</CipherValue></CipherData></EncryptedData></soapenv:Body></soapenv:Envelope></messageContent> -<senderHostAndPort>localhost:9080</senderHostAndPort> -<receiverHostAndPort>localhost:9082</receiverHostAndPort> -<httpHeaders>HTTP/1.1 200 OK
 -Content-Type: text/xml; charset=utf-8
 -Content-Language: en-US
 -Content-Length: 4890
 -Date: Tue, 16 Jan 2007 23:19:57 GMT
 -Server: WebSphere Application Server/6.1
 -
 -</httpHeaders> -</messageEntry> -</log> diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/messageLogs/SecureWS/SignatureAndEncryption/testcase.xml b/tests/org.eclipse.wst.wsi.tests/testResources/samples/messageLogs/SecureWS/SignatureAndEncryption/testcase.xml deleted file mode 100644 index 0450ced7a..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/messageLogs/SecureWS/SignatureAndEncryption/testcase.xml +++ /dev/null @@ -1,7 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<testcase name="Encryption"> - <description> - This is an example of a message log file that contains a message with signature and encryption. - </description> - <expectedFailures/> -</testcase> 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/SOAP12/HelloService_schema1.xsd b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/SOAP12/HelloService_schema1.xsd deleted file mode 100644 index 4e4c9eb81..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/SOAP12/HelloService_schema1.xsd +++ /dev/null @@ -1,19 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://test/" version="1.0"> - - <xs:element xmlns:ns1="http://test/" name="hello" type="ns1:hello"/> - - <xs:complexType name="hello"> - <xs:sequence> - <xs:element minOccurs="0" name="arg0" type="xs:string"/> - </xs:sequence> - </xs:complexType> - - <xs:element xmlns:ns2="http://test/" name="helloResponse" type="ns2:helloResponse"/> - - <xs:complexType name="helloResponse"> - <xs:sequence> - <xs:element minOccurs="0" name="return" type="xs:string"/> - </xs:sequence> - </xs:complexType> -</xs:schema> diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/SOAP12/SimpleLog.wsdl b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/SOAP12/SimpleLog.wsdl deleted file mode 100644 index c5e8331b8..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/SOAP12/SimpleLog.wsdl +++ /dev/null @@ -1,37 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:tns="http://test/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="HelloService" targetNamespace="http://test/"> - <types> - <xsd:schema> - <xsd:import namespace="http://test/" schemaLocation="HelloService_schema1.xsd"/> - </xsd:schema> - </types> - <message name="hello"> - <part element="tns:hello" name="parameters"/> - </message> - <message name="helloResponse"> - <part element="tns:helloResponse" name="parameters"/> - </message> - <portType name="Hello"> - <operation name="hello"> - <input message="tns:hello"/> - <output message="tns:helloResponse"/> - </operation> - </portType> - <binding name="HelloPortBinding" type="tns:Hello"> - <soap12:binding style="document" transport="http://www.w3.org/2003/05/soap/bindings/HTTP/"/> - <operation name="hello"> - <soap12:operation soapAction=""/> - <input> - <soap12:body use="literal"/> - </input> - <output> - <soap12:body use="literal"/> - </output> - </operation> - </binding> - <service name="HelloService"> - <port binding="tns:HelloPortBinding" name="HelloPort"> - <soap12:address location="http://localhost:9081/td12/HelloService"/> - </port> - </service> -</definitions> diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/SecureWS/Encryption.wsdl b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/SecureWS/Encryption.wsdl deleted file mode 100644 index 6b9636410..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/SecureWS/Encryption.wsdl +++ /dev/null @@ -1,72 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<wsdl:definitions targetNamespace="http://main" xmlns:impl="http://main" xmlns:intf="http://main" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsi="http://ws-i.org/profiles/basic/1.1/xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> - <wsdl:types> - <schema targetNamespace="http://main" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> - <element name="incrementResponse"> - <complexType> - <sequence> - <element name="incrementReturn" type="xsd:int"/> - </sequence> - </complexType> - </element> - <element name="increment"> - <complexType> - <sequence> - <element name="value" type="xsd:int"/> - </sequence> - </complexType> - </element> - </schema> - </wsdl:types> - - <wsdl:message name="incrementResponse"> - <wsdl:part element="intf:incrementResponse" name="parameters"/> - - </wsdl:message> - - <wsdl:message name="incrementRequest"> - <wsdl:part element="intf:increment" name="parameters"/> - - </wsdl:message> - - <wsdl:portType name="WebService"> - <wsdl:operation name="increment"> - <wsdl:input message="intf:incrementRequest" name="incrementRequest"/> - - <wsdl:output message="intf:incrementResponse" name="incrementResponse"/> - - </wsdl:operation> - - </wsdl:portType> - - <wsdl:binding name="WebServiceSoapBinding" type="intf:WebService"> - <wsaw:UsingAddressing wsdl:required="false" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"/> - - <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/> - - <wsdl:operation name="increment"> - <wsdlsoap:operation soapAction="increment"/> - - <wsdl:input name="incrementRequest"> - <wsdlsoap:body use="literal"/> - - </wsdl:input> - - <wsdl:output name="incrementResponse"> - <wsdlsoap:body use="literal"/> - - </wsdl:output> - - </wsdl:operation> - - </wsdl:binding> - - <wsdl:service name="WebServiceService"> - <wsdl:port binding="intf:WebServiceSoapBinding" name="WebService"> - <wsdlsoap:address location="http://localhost:9080/WebProjectWithEncription/services/WebService"/> - - </wsdl:port> - - </wsdl:service> - -</wsdl:definitions> diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/SecureWS/NoSecurity.wsdl b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/SecureWS/NoSecurity.wsdl deleted file mode 100644 index 6b9636410..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/SecureWS/NoSecurity.wsdl +++ /dev/null @@ -1,72 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<wsdl:definitions targetNamespace="http://main" xmlns:impl="http://main" xmlns:intf="http://main" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsi="http://ws-i.org/profiles/basic/1.1/xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> - <wsdl:types> - <schema targetNamespace="http://main" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> - <element name="incrementResponse"> - <complexType> - <sequence> - <element name="incrementReturn" type="xsd:int"/> - </sequence> - </complexType> - </element> - <element name="increment"> - <complexType> - <sequence> - <element name="value" type="xsd:int"/> - </sequence> - </complexType> - </element> - </schema> - </wsdl:types> - - <wsdl:message name="incrementResponse"> - <wsdl:part element="intf:incrementResponse" name="parameters"/> - - </wsdl:message> - - <wsdl:message name="incrementRequest"> - <wsdl:part element="intf:increment" name="parameters"/> - - </wsdl:message> - - <wsdl:portType name="WebService"> - <wsdl:operation name="increment"> - <wsdl:input message="intf:incrementRequest" name="incrementRequest"/> - - <wsdl:output message="intf:incrementResponse" name="incrementResponse"/> - - </wsdl:operation> - - </wsdl:portType> - - <wsdl:binding name="WebServiceSoapBinding" type="intf:WebService"> - <wsaw:UsingAddressing wsdl:required="false" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"/> - - <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/> - - <wsdl:operation name="increment"> - <wsdlsoap:operation soapAction="increment"/> - - <wsdl:input name="incrementRequest"> - <wsdlsoap:body use="literal"/> - - </wsdl:input> - - <wsdl:output name="incrementResponse"> - <wsdlsoap:body use="literal"/> - - </wsdl:output> - - </wsdl:operation> - - </wsdl:binding> - - <wsdl:service name="WebServiceService"> - <wsdl:port binding="intf:WebServiceSoapBinding" name="WebService"> - <wsdlsoap:address location="http://localhost:9080/WebProjectWithEncription/services/WebService"/> - - </wsdl:port> - - </wsdl:service> - -</wsdl:definitions> diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/SecureWS/Signature.wsdl b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/SecureWS/Signature.wsdl deleted file mode 100644 index 6b9636410..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/SecureWS/Signature.wsdl +++ /dev/null @@ -1,72 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<wsdl:definitions targetNamespace="http://main" xmlns:impl="http://main" xmlns:intf="http://main" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsi="http://ws-i.org/profiles/basic/1.1/xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> - <wsdl:types> - <schema targetNamespace="http://main" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> - <element name="incrementResponse"> - <complexType> - <sequence> - <element name="incrementReturn" type="xsd:int"/> - </sequence> - </complexType> - </element> - <element name="increment"> - <complexType> - <sequence> - <element name="value" type="xsd:int"/> - </sequence> - </complexType> - </element> - </schema> - </wsdl:types> - - <wsdl:message name="incrementResponse"> - <wsdl:part element="intf:incrementResponse" name="parameters"/> - - </wsdl:message> - - <wsdl:message name="incrementRequest"> - <wsdl:part element="intf:increment" name="parameters"/> - - </wsdl:message> - - <wsdl:portType name="WebService"> - <wsdl:operation name="increment"> - <wsdl:input message="intf:incrementRequest" name="incrementRequest"/> - - <wsdl:output message="intf:incrementResponse" name="incrementResponse"/> - - </wsdl:operation> - - </wsdl:portType> - - <wsdl:binding name="WebServiceSoapBinding" type="intf:WebService"> - <wsaw:UsingAddressing wsdl:required="false" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"/> - - <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/> - - <wsdl:operation name="increment"> - <wsdlsoap:operation soapAction="increment"/> - - <wsdl:input name="incrementRequest"> - <wsdlsoap:body use="literal"/> - - </wsdl:input> - - <wsdl:output name="incrementResponse"> - <wsdlsoap:body use="literal"/> - - </wsdl:output> - - </wsdl:operation> - - </wsdl:binding> - - <wsdl:service name="WebServiceService"> - <wsdl:port binding="intf:WebServiceSoapBinding" name="WebService"> - <wsdlsoap:address location="http://localhost:9080/WebProjectWithEncription/services/WebService"/> - - </wsdl:port> - - </wsdl:service> - -</wsdl:definitions> diff --git a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/SecureWS/SignatureAndEncryption.wsdl b/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/SecureWS/SignatureAndEncryption.wsdl deleted file mode 100644 index 6b9636410..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/SecureWS/SignatureAndEncryption.wsdl +++ /dev/null @@ -1,72 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<wsdl:definitions targetNamespace="http://main" xmlns:impl="http://main" xmlns:intf="http://main" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsi="http://ws-i.org/profiles/basic/1.1/xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> - <wsdl:types> - <schema targetNamespace="http://main" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> - <element name="incrementResponse"> - <complexType> - <sequence> - <element name="incrementReturn" type="xsd:int"/> - </sequence> - </complexType> - </element> - <element name="increment"> - <complexType> - <sequence> - <element name="value" type="xsd:int"/> - </sequence> - </complexType> - </element> - </schema> - </wsdl:types> - - <wsdl:message name="incrementResponse"> - <wsdl:part element="intf:incrementResponse" name="parameters"/> - - </wsdl:message> - - <wsdl:message name="incrementRequest"> - <wsdl:part element="intf:increment" name="parameters"/> - - </wsdl:message> - - <wsdl:portType name="WebService"> - <wsdl:operation name="increment"> - <wsdl:input message="intf:incrementRequest" name="incrementRequest"/> - - <wsdl:output message="intf:incrementResponse" name="incrementResponse"/> - - </wsdl:operation> - - </wsdl:portType> - - <wsdl:binding name="WebServiceSoapBinding" type="intf:WebService"> - <wsaw:UsingAddressing wsdl:required="false" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"/> - - <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/> - - <wsdl:operation name="increment"> - <wsdlsoap:operation soapAction="increment"/> - - <wsdl:input name="incrementRequest"> - <wsdlsoap:body use="literal"/> - - </wsdl:input> - - <wsdl:output name="incrementResponse"> - <wsdlsoap:body use="literal"/> - - </wsdl:output> - - </wsdl:operation> - - </wsdl:binding> - - <wsdl:service name="WebServiceService"> - <wsdl:port binding="intf:WebServiceSoapBinding" name="WebService"> - <wsdlsoap:address location="http://localhost:9080/WebProjectWithEncription/services/WebService"/> - - </wsdl:port> - - </wsdl:service> - -</wsdl:definitions> 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 4c4d08bff..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2011-2/testcase.xml +++ /dev/null @@ -1,16 +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="BP2202" tadID="SSBP10"/> - <assertion id="BP2102" 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 c108bedf0..000000000 --- a/tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2011-3/testcase.xml +++ /dev/null @@ -1,16 +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="BP2202" tadID="SSBP10"/> - <assertion id="BP2102" 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 |