Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 119401 Details for
Bug 252257
Update the WSDL validator to use WSDL4J 1.5.1
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
org.eclipse.wst.wsdl.validation.tests.txt
org.eclipse.wst.wsdl.validation.tests.txt (text/plain), 27.02 KB, created by
Amy Wu
on 2008-12-03 12:07:48 EST
(
hide
)
Description:
org.eclipse.wst.wsdl.validation.tests.txt
Filename:
MIME Type:
Creator:
Amy Wu
Created:
2008-12-03 12:07:48 EST
Size:
27.02 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.wst.wsdl.validation.tests >Index: src/org/eclipse/wst/wsdl/validation/tests/internal/WSDLTest.java >=================================================================== >RCS file: /cvsroot/webtools/webservices/tests/org.eclipse.wst.wsdl.validation.tests/src/org/eclipse/wst/wsdl/validation/tests/internal/WSDLTest.java,v >retrieving revision 1.14 >diff -u -r1.14 WSDLTest.java >--- src/org/eclipse/wst/wsdl/validation/tests/internal/WSDLTest.java 10 Aug 2006 00:03:06 -0000 1.14 >+++ src/org/eclipse/wst/wsdl/validation/tests/internal/WSDLTest.java 3 Dec 2008 17:00:48 -0000 >@@ -1,5 +1,5 @@ > /******************************************************************************* >- * Copyright (c) 2001, 2006 IBM Corporation and others. >+ * Copyright (c) 2001, 2008 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 >@@ -625,4 +625,56 @@ > > runTest(testfile, loglocation, idealloglocation); > } >+ >+ /** >+ * Test /WSDL/ExtensibleElements/BadExtensibleElements.wsdl >+ */ >+ public void testBadExtensibleElements() >+ { >+ String testname = "BadExtensibleElements"; >+ String testfile = FILE_PROTOCOL + PLUGIN_ABSOLUTE_PATH + SAMPLES_DIR + WSDL_DIR + "ExtensibleElements/" + testname + ".wsdl"; >+ String loglocation = PLUGIN_ABSOLUTE_PATH + GENERATED_RESULTS_DIR + WSDL_DIR + "ExtensibleElements/" + testname + ".wsdl-log"; >+ String idealloglocation = PLUGIN_ABSOLUTE_PATH + IDEAL_RESULTS_DIR + WSDL_DIR + "ExtensibleElements/" + testname + ".wsdl-log"; >+ >+ runTest(testfile, loglocation, idealloglocation); >+ } >+ >+ /** >+ * Test /WSDL/ExtensibleElements/ExtensibleBinding.wsdl >+ */ >+ public void testExtensibleBinding() >+ { >+ String testname = "ExtensibleBinding"; >+ String testfile = FILE_PROTOCOL + PLUGIN_ABSOLUTE_PATH + SAMPLES_DIR + WSDL_DIR + "ExtensibleElements/" + testname + ".wsdl"; >+ String loglocation = PLUGIN_ABSOLUTE_PATH + GENERATED_RESULTS_DIR + WSDL_DIR + "ExtensibleElements/" + testname + ".wsdl-log"; >+ String idealloglocation = PLUGIN_ABSOLUTE_PATH + IDEAL_RESULTS_DIR + WSDL_DIR + "ExtensibleElements/" + testname + ".wsdl-log"; >+ >+ runTest(testfile, loglocation, idealloglocation); >+ } >+ >+ /** >+ * Test /WSDL/ExtensibleElements/ExtensiblePortType.wsdl >+ */ >+ public void testExtensiblePortType() >+ { >+ String testname = "ExtensiblePortType"; >+ String testfile = FILE_PROTOCOL + PLUGIN_ABSOLUTE_PATH + SAMPLES_DIR + WSDL_DIR + "ExtensibleElements/" + testname + ".wsdl"; >+ String loglocation = PLUGIN_ABSOLUTE_PATH + GENERATED_RESULTS_DIR + WSDL_DIR + "ExtensibleElements/" + testname + ".wsdl-log"; >+ String idealloglocation = PLUGIN_ABSOLUTE_PATH + IDEAL_RESULTS_DIR + WSDL_DIR + "ExtensibleElements/" + testname + ".wsdl-log"; >+ >+ runTest(testfile, loglocation, idealloglocation); >+ } >+ >+ /** >+ * Test /WSDL/ExtensibleElements/ExtensibleServicePort.wsdl >+ */ >+ public void testExtensibleServicePort() >+ { >+ String testname = "ExtensibleServicePort"; >+ String testfile = FILE_PROTOCOL + PLUGIN_ABSOLUTE_PATH + SAMPLES_DIR + WSDL_DIR + "ExtensibleElements/" + testname + ".wsdl"; >+ String loglocation = PLUGIN_ABSOLUTE_PATH + GENERATED_RESULTS_DIR + WSDL_DIR + "ExtensibleElements/" + testname + ".wsdl-log"; >+ String idealloglocation = PLUGIN_ABSOLUTE_PATH + IDEAL_RESULTS_DIR + WSDL_DIR + "ExtensibleElements/" + testname + ".wsdl-log"; >+ >+ runTest(testfile, loglocation, idealloglocation); >+ } > } >Index: src/org/eclipse/wst/wsdl/validation/internal/wsdl11/xsd/InlineSchemaGeneratorTest.java >=================================================================== >RCS file: /cvsroot/webtools/webservices/tests/org.eclipse.wst.wsdl.validation.tests/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/xsd/InlineSchemaGeneratorTest.java,v >retrieving revision 1.2 >diff -u -r1.2 InlineSchemaGeneratorTest.java >--- src/org/eclipse/wst/wsdl/validation/internal/wsdl11/xsd/InlineSchemaGeneratorTest.java 2 May 2007 21:38:51 -0000 1.2 >+++ src/org/eclipse/wst/wsdl/validation/internal/wsdl11/xsd/InlineSchemaGeneratorTest.java 3 Dec 2008 17:00:48 -0000 >@@ -1,5 +1,5 @@ > /******************************************************************************* >- * Copyright (c) 2001, 2005 IBM Corporation and others. >+ * Copyright (c) 2001, 2008 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 >@@ -23,6 +23,7 @@ > import org.w3c.dom.Element; > > import com.ibm.wsdl.Constants; >+import com.ibm.wsdl.extensions.schema.SchemaConstants; > > /** > * Tests for org.eclipse.wst.wsdl.validation.internal.wsdl11.xsd.InlineSchemaGenerator. >@@ -92,17 +93,17 @@ > public void testGetNSResolver() > { > Document doc = new DocumentImpl(); >- Element rootElem = doc.createElementNS(Constants.NS_URI_XSD_2001, "schema"); >+ Element rootElem = doc.createElementNS(SchemaConstants.NS_URI_XSD_2001, "schema"); > > // Check that the resolver is empty. > Hashtable resolver = generator.getNSResolver(rootElem); > assertTrue("The resolver is not empty.", resolver.isEmpty()); > > // Check the resolver contains one value. >- rootElem.setAttribute("xmlns", Constants.NS_URI_XSD_2001); >+ rootElem.setAttribute("xmlns", SchemaConstants.NS_URI_XSD_2001); > resolver = generator.getNSResolver(rootElem); > assertTrue("The resolver does not contain the empty namespace.", resolver.containsKey("")); >- assertEquals("The resolver does not contain the correct value for the empty namespace.", Constants.NS_URI_XSD_2001, resolver.get("")); >+ assertEquals("The resolver does not contain the correct value for the empty namespace.", SchemaConstants.NS_URI_XSD_2001, resolver.get("")); > > // Check the resolver contains two values. > rootElem.setAttribute("xmlns:other", "http://othernamespace"); >@@ -112,7 +113,7 @@ > > // Check the resolver still contains the empty namespace. > assertTrue("The resolver does not contain the empty namespace after adding a second namespace.", resolver.containsKey("")); >- assertEquals("The resolver does not contain the correct value for the empty namespace after adding a second namespace.", Constants.NS_URI_XSD_2001, resolver.get("")); >+ assertEquals("The resolver does not contain the correct value for the empty namespace after adding a second namespace.", SchemaConstants.NS_URI_XSD_2001, resolver.get("")); > > // Check the resolver doesn't contain non-xmlns attribute value. > rootElem.setAttribute("type:other2", "other2:type"); >@@ -127,8 +128,8 @@ > { > // Check document that contains no required namespaces and no prefix. > Document doc = new DocumentImpl(); >- Element rootElem = doc.createElementNS(Constants.NS_URI_XSD_2001, "schema"); >- rootElem.setAttribute("xmlns",Constants.NS_URI_XSD_2001); >+ Element rootElem = doc.createElementNS(SchemaConstants.NS_URI_XSD_2001, "schema"); >+ rootElem.setAttribute("xmlns",SchemaConstants.NS_URI_XSD_2001); > //doc.appendChild(rootElem); > > List reqNSs = generator.getNamespacePrefixes(rootElem); >@@ -136,24 +137,24 @@ > assertEquals("The required namespace list does not contain one empty string.", "", reqNSs.get(0)); > > // Check document that contains no required namespaces and the xsd prefix. >- Element rootElem2 = doc.createElementNS(Constants.NS_URI_XSD_2001, "xsd:schema"); >- rootElem2.setAttribute("xmlns:xsd",Constants.NS_URI_XSD_2001); >+ Element rootElem2 = doc.createElementNS(SchemaConstants.NS_URI_XSD_2001, "xsd:schema"); >+ rootElem2.setAttribute("xmlns:xsd",SchemaConstants.NS_URI_XSD_2001); > List reqNSs2 = generator.getNamespacePrefixes(rootElem2); > assertEquals("The required namespace list does not contain the one string 'xsd'.", 1, reqNSs2.size()); > assertEquals("The required namespace list does not contain the one string 'xsd'.", "xsd", reqNSs2.get(0)); > > // Check document that contains an element with a required namespace. >- Element rootElem4 = doc.createElementNS(Constants.NS_URI_XSD_2001, "xsd:schema"); >- rootElem2.setAttribute("xmlns:xsd",Constants.NS_URI_XSD_2001); >+ Element rootElem4 = doc.createElementNS(SchemaConstants.NS_URI_XSD_2001, "xsd:schema"); >+ rootElem2.setAttribute("xmlns:xsd",SchemaConstants.NS_URI_XSD_2001); > Element diffNSElem = doc.createElementNS("http://othernamespace", "other:element"); > rootElem4.appendChild(diffNSElem); > List reqNSs4 = generator.getNamespacePrefixes(rootElem4); > assertTrue("The required namespace list does not contain the prefix 'other' when the namespace is specified for an element.", reqNSs4.contains("other")); > > // Check document that contains a type with a required namespace. >- Element rootElem5 = doc.createElementNS(Constants.NS_URI_XSD_2001, "xsd:schema"); >- rootElem5.setAttribute("xmlns:xsd",Constants.NS_URI_XSD_2001); >- Element otherElem = doc.createElementNS(Constants.NS_URI_XSD_2001, "xsd:element"); >+ Element rootElem5 = doc.createElementNS(SchemaConstants.NS_URI_XSD_2001, "xsd:schema"); >+ rootElem5.setAttribute("xmlns:xsd",SchemaConstants.NS_URI_XSD_2001); >+ Element otherElem = doc.createElementNS(SchemaConstants.NS_URI_XSD_2001, "xsd:element"); > otherElem.setAttribute("type", "other:type"); > rootElem5.appendChild(otherElem); > List reqNSs5 = generator.getNamespacePrefixes(rootElem5); >@@ -161,9 +162,9 @@ > > // Check document that contains an import. Import elements should be ignored. > // This is a contrived example as it contains a type attribute for the import element. >- Element rootElem6 = doc.createElementNS(Constants.NS_URI_XSD_2001, "xsd:schema"); >- rootElem6.setAttribute("xmlns:xsd",Constants.NS_URI_XSD_2001); >- Element importElem = doc.createElementNS(Constants.NS_URI_XSD_2001, "xsd:import"); >+ Element rootElem6 = doc.createElementNS(SchemaConstants.NS_URI_XSD_2001, "xsd:schema"); >+ rootElem6.setAttribute("xmlns:xsd",SchemaConstants.NS_URI_XSD_2001); >+ Element importElem = doc.createElementNS(SchemaConstants.NS_URI_XSD_2001, "xsd:import"); > importElem.setAttribute("type", "other:type"); > rootElem6.appendChild(importElem); > List reqNSs6 = generator.getNamespacePrefixes(rootElem6); >@@ -172,9 +173,9 @@ > > // Check document that contains an include. Include elements should be ignored. > // This is a contrived example as it contains a type attribute for the include element. >- Element rootElem7 = doc.createElementNS(Constants.NS_URI_XSD_2001, "xsd:schema"); >- rootElem7.setAttribute("xmlns:xsd",Constants.NS_URI_XSD_2001); >- Element includeElem = doc.createElementNS(Constants.NS_URI_XSD_2001, "xsd:include"); >+ Element rootElem7 = doc.createElementNS(SchemaConstants.NS_URI_XSD_2001, "xsd:schema"); >+ rootElem7.setAttribute("xmlns:xsd",SchemaConstants.NS_URI_XSD_2001); >+ Element includeElem = doc.createElementNS(SchemaConstants.NS_URI_XSD_2001, "xsd:include"); > includeElem.setAttribute("type", "other:type"); > rootElem7.appendChild(includeElem); > List reqNSs7 = generator.getNamespacePrefixes(rootElem6); >@@ -182,9 +183,9 @@ > assertEquals("The required namespace list does not contain the one string 'xsd' when an import element is used.", "xsd", reqNSs7.get(0)); > > // Check document that contains attribute with a required namespace. >- Element rootElem3 = doc.createElementNS(Constants.NS_URI_XSD_2001, "xsd:schema"); >- rootElem3.setAttribute("xmlns:xsd",Constants.NS_URI_XSD_2001); >- Element wsdlAttElem = doc.createElementNS(Constants.NS_URI_XSD_2001, "xsd:element"); >+ Element rootElem3 = doc.createElementNS(SchemaConstants.NS_URI_XSD_2001, "xsd:schema"); >+ rootElem3.setAttribute("xmlns:xsd",SchemaConstants.NS_URI_XSD_2001); >+ Element wsdlAttElem = doc.createElementNS(SchemaConstants.NS_URI_XSD_2001, "xsd:element"); > wsdlAttElem.setAttributeNS(Constants.NS_URI_WSDL, "wsdl:arrayType", "sometype[]"); > rootElem3.appendChild(wsdlAttElem); > List reqNSs3 = generator.getNamespacePrefixes(rootElem3); >Index: META-INF/MANIFEST.MF >=================================================================== >RCS file: /cvsroot/webtools/webservices/tests/org.eclipse.wst.wsdl.validation.tests/META-INF/MANIFEST.MF,v >retrieving revision 1.19 >diff -u -r1.19 MANIFEST.MF >--- META-INF/MANIFEST.MF 24 Feb 2008 06:10:24 -0000 1.19 >+++ META-INF/MANIFEST.MF 3 Dec 2008 17:00:48 -0000 >@@ -16,7 +16,7 @@ > org.eclipse.wst.command.env.core, > org.eclipse.wst.command.env, > org.apache.ant, >- javax.wsdl;bundle-version="[1.4.0,1.5.0)", >+ javax.wsdl;bundle-version="[1.5.0,1.6.0)", > org.apache.xerces, > org.eclipse.wst.validation, > org.eclipse.wst.xml.core, >Index: testresources/idealResults/WSDL/ExtensibleElements/ExtensibleServicePort.wsdl-log >=================================================================== >RCS file: testresources/idealResults/WSDL/ExtensibleElements/ExtensibleServicePort.wsdl-log >diff -N testresources/idealResults/WSDL/ExtensibleElements/ExtensibleServicePort.wsdl-log >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ testresources/idealResults/WSDL/ExtensibleElements/ExtensibleServicePort.wsdl-log 1 Jan 1970 00:00:00 -0000 >@@ -0,0 +1,8 @@ >+number of errors : 0 >+number of warnings : 0 >+ >+------------error list------------------------------------------- >+(none) >+------------warning list----------------------------------------- >+(none) >+----------------------------------------------------------------- >Index: testresources/idealResults/WSDL/ExtensibleElements/ExtensibleBinding.wsdl-log >=================================================================== >RCS file: testresources/idealResults/WSDL/ExtensibleElements/ExtensibleBinding.wsdl-log >diff -N testresources/idealResults/WSDL/ExtensibleElements/ExtensibleBinding.wsdl-log >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ testresources/idealResults/WSDL/ExtensibleElements/ExtensibleBinding.wsdl-log 1 Jan 1970 00:00:00 -0000 >@@ -0,0 +1,8 @@ >+number of errors : 0 >+number of warnings : 0 >+ >+------------error list------------------------------------------- >+(none) >+------------warning list----------------------------------------- >+(none) >+----------------------------------------------------------------- >Index: testresources/idealResults/WSDL/ExtensibleElements/BadExtensibleElements.wsdl-log >=================================================================== >RCS file: testresources/idealResults/WSDL/ExtensibleElements/BadExtensibleElements.wsdl-log >diff -N testresources/idealResults/WSDL/ExtensibleElements/BadExtensibleElements.wsdl-log >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ testresources/idealResults/WSDL/ExtensibleElements/BadExtensibleElements.wsdl-log 1 Jan 1970 00:00:00 -0000 >@@ -0,0 +1,8 @@ >+number of errors : 1 >+number of warnings : 0 >+ >+------------error list------------------------------------------- >+The 'BadExtensibleElements' port type specified for the 'BadExtensibleElementsSOAP' binding is undefined. Check the 'BadExtensibleElements' port type name and ensure it is defined. [40, 82] >+------------warning list----------------------------------------- >+(none) >+----------------------------------------------------------------- >Index: testresources/samples/WSDL/ExtensibleElements/ExtensiblePortType.wsdl >=================================================================== >RCS file: testresources/samples/WSDL/ExtensibleElements/ExtensiblePortType.wsdl >diff -N testresources/samples/WSDL/ExtensibleElements/ExtensiblePortType.wsdl >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ testresources/samples/WSDL/ExtensibleElements/ExtensiblePortType.wsdl 1 Jan 1970 00:00:00 -0000 >@@ -0,0 +1,57 @@ >+<?xml version="1.0" encoding="UTF-8"?> >+<wsdl:definitions name="ExtensiblePortType" >+ targetNamespace="http://www.example.org/ExtensiblePortType/" >+ xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://www.example.org/ExtensiblePortType/" >+ xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> >+ <wsdl:types> >+ <xsd:schema targetNamespace="http://www.example.org/ExtensiblePortType/"> >+ <xsd:element name="NewOperation"> >+ <xsd:complexType> >+ <xsd:sequence> >+ <xsd:element name="in" type="xsd:string" /> >+ </xsd:sequence> >+ </xsd:complexType> >+ </xsd:element> >+ <xsd:element name="NewOperationResponse"> >+ <xsd:complexType> >+ <xsd:sequence> >+ <xsd:element name="out" type="xsd:string" /> >+ </xsd:sequence> >+ </xsd:complexType> >+ </xsd:element> >+ </xsd:schema> >+ </wsdl:types> >+ <wsdl:message name="NewOperationRequest"> >+ <wsdl:part element="tns:NewOperation" name="parameters" /> >+ </wsdl:message> >+ <wsdl:message name="NewOperationResponse"> >+ <xsd:annotation></xsd:annotation> >+ <wsdl:part element="tns:NewOperationResponse" name="parameters" /> >+ </wsdl:message> >+ <wsdl:portType name="ExtensiblePortType"> >+ <wsdl:operation name="NewOperation"> >+ <xsd:annotation></xsd:annotation> >+ <wsdl:input message="tns:NewOperationRequest"/> >+ <wsdl:output message="tns:NewOperationResponse"/> >+ </wsdl:operation> >+ </wsdl:portType> >+ <wsdl:binding name="ExtensiblePortTypeSOAP" type="tns:ExtensiblePortType"> >+ <soap:binding style="document" >+ transport="http://schemas.xmlsoap.org/soap/http" /> >+ <wsdl:operation name="NewOperation"> >+ <soap:operation >+ soapAction="http://www.example.org/ExtensiblePortType/NewOperation" /> >+ <wsdl:input> >+ <soap:body use="literal" /> >+ </wsdl:input> >+ <wsdl:output> >+ <soap:body use="literal" /> >+ </wsdl:output> >+ </wsdl:operation> >+ </wsdl:binding> >+ <wsdl:service name="ExtensiblePortType"> >+ <wsdl:port binding="tns:ExtensiblePortTypeSOAP" name="ExtensiblePortTypeSOAP"> >+ <soap:address location="http://www.example.org/" /> >+ </wsdl:port> >+ </wsdl:service> >+</wsdl:definitions> >Index: testresources/samples/WSDL/ExtensibleElements/ExtensibleServicePort.wsdl >=================================================================== >RCS file: testresources/samples/WSDL/ExtensibleElements/ExtensibleServicePort.wsdl >diff -N testresources/samples/WSDL/ExtensibleElements/ExtensibleServicePort.wsdl >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ testresources/samples/WSDL/ExtensibleElements/ExtensibleServicePort.wsdl 1 Jan 1970 00:00:00 -0000 >@@ -0,0 +1,57 @@ >+<?xml version="1.0" encoding="UTF-8"?> >+<wsdl:definitions name="ExtensibleServicePort" >+ targetNamespace="http://www.example.org/ExtensibleServicePort/" >+ xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://www.example.org/ExtensibleServicePort/" >+ xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> >+ <wsdl:types> >+ <xsd:schema targetNamespace="http://www.example.org/ExtensibleServicePort/"> >+ <xsd:element name="NewOperation"> >+ <xsd:complexType> >+ <xsd:sequence> >+ <xsd:element name="in" type="xsd:string" /> >+ </xsd:sequence> >+ </xsd:complexType> >+ </xsd:element> >+ <xsd:element name="NewOperationResponse"> >+ <xsd:complexType> >+ <xsd:sequence> >+ <xsd:element name="out" type="xsd:string" /> >+ </xsd:sequence> >+ </xsd:complexType> >+ </xsd:element> >+ </xsd:schema> >+ </wsdl:types> >+ <wsdl:message name="NewOperationRequest"> >+ <wsdl:part element="tns:NewOperation" name="parameters" /> >+ </wsdl:message> >+ <wsdl:message name="NewOperationResponse"> >+ <wsdl:part element="tns:NewOperationResponse" name="parameters" /> >+ </wsdl:message> >+ <wsdl:portType name="ExtensibleServicePort"> >+ <wsdl:operation name="NewOperation"> >+ <wsdl:input message="tns:NewOperationRequest" /> >+ <wsdl:output message="tns:NewOperationResponse" /> >+ </wsdl:operation> >+ </wsdl:portType> >+ <wsdl:binding name="ExtensibleServicePortSOAP" type="tns:ExtensibleServicePort"> >+ <soap:binding style="document" >+ transport="http://schemas.xmlsoap.org/soap/http" /> >+ <wsdl:operation name="NewOperation"> >+ <soap:operation >+ soapAction="http://www.example.org/ExtensibleServicePort/NewOperation" /> >+ <wsdl:input> >+ <soap:body use="literal" /> >+ </wsdl:input> >+ <wsdl:output> >+ <soap:body use="literal" /> >+ </wsdl:output> >+ </wsdl:operation> >+ </wsdl:binding> >+ <wsdl:service name="ExtensibleServicePort"> >+ <xsd:annotation></xsd:annotation> >+ <wsdl:port binding="tns:ExtensibleServicePortSOAP" name="ExtensibleServicePortSOAP"> >+ <xsd:annotation></xsd:annotation> >+ <soap:address location="http://www.example.org/" /> >+ </wsdl:port> >+ </wsdl:service> >+</wsdl:definitions> >Index: testresources/samples/WSDL/ExtensibleElements/ExtensibleBinding.wsdl >=================================================================== >RCS file: testresources/samples/WSDL/ExtensibleElements/ExtensibleBinding.wsdl >diff -N testresources/samples/WSDL/ExtensibleElements/ExtensibleBinding.wsdl >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ testresources/samples/WSDL/ExtensibleElements/ExtensibleBinding.wsdl 1 Jan 1970 00:00:00 -0000 >@@ -0,0 +1,77 @@ >+<?xml version="1.0" encoding="UTF-8"?> >+<wsdl:definitions name="ExtensibleBinding" >+ targetNamespace="http://www.example.org/ExtensibleBinding/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" >+ xmlns:tns="http://www.example.org/ExtensibleBinding/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" >+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"> >+ <wsdl:types> >+ <xsd:schema targetNamespace="http://www.example.org/ExtensibleBinding/"> >+ <xsd:element name="NewOperation"> >+ <xsd:complexType> >+ <xsd:sequence> >+ <xsd:element name="in" type="xsd:string" /> >+ </xsd:sequence> >+ </xsd:complexType> >+ </xsd:element> >+ <xsd:element name="NewOperationResponse"> >+ <xsd:complexType> >+ <xsd:sequence> >+ <xsd:element name="out" type="xsd:string" /> >+ </xsd:sequence> >+ </xsd:complexType> >+ </xsd:element> >+ <xsd:element name="NewOperationResponse1"> >+ <xsd:complexType> >+ <xsd:sequence> >+ >+ <xsd:element name="out" type="xsd:string"></xsd:element> >+ </xsd:sequence> >+ </xsd:complexType> >+ </xsd:element> >+ </xsd:schema> >+ </wsdl:types> >+ <wsdl:message name="NewOperationRequest"> >+ <wsdl:part element="tns:NewOperation" name="parameters" /> >+ </wsdl:message> >+ <wsdl:message name="NewOperationResponse"> >+ <wsdl:part element="tns:NewOperationResponse" name="parameters" /> >+ </wsdl:message> >+ <wsdl:message name="NewOperationResponse1"> >+ <wsdl:part name="parameters" element="tns:NewOperationResponse1"></wsdl:part> >+ </wsdl:message> >+ <wsdl:portType name="ExtensibleBinding"> >+ <wsdl:operation name="NewOperation"> >+ <wsdl:input message="tns:NewOperationRequest" /> >+ <wsdl:output message="tns:NewOperationResponse" /> >+ </wsdl:operation> >+ </wsdl:portType> >+ >+ <wsdl:binding name="ExtensibleBindingSOAP" >+ type="tns:ExtensibleBinding"> >+ <xsd:annotation></xsd:annotation> >+ <soap:binding style="document" >+ transport="http://schemas.xmlsoap.org/soap/http" /> >+ <wsdl:operation name="NewOperation"> >+ <soap:operation >+ soapAction="http://www.example.org/ExtensibleBinding/NewOperation" /> >+ <xsd:annotation></xsd:annotation> >+ <wsdl:input> >+ <xsd:annotation></xsd:annotation> >+ <soap:body use="literal" /> >+ </wsdl:input> >+ <wsdl:output> >+ <xsd:annotation></xsd:annotation> >+ <soap:body use="literal" /> >+ </wsdl:output> >+ <wsdl:fault name="myfault"> >+ <xsd:annotation></xsd:annotation> >+ </wsdl:fault> >+ </wsdl:operation> >+ </wsdl:binding> >+ >+ <wsdl:service name="ExtensibleBinding"> >+ <wsdl:port binding="tns:ExtensibleBindingSOAP" name="ExtensibleBindingSOAP"> >+ <soap:address location="http://www.example.org/" /> >+ </wsdl:port> >+ </wsdl:service> >+ >+</wsdl:definitions> >Index: testresources/samples/WSDL/ExtensibleElements/BadExtensibleElements.wsdl >=================================================================== >RCS file: testresources/samples/WSDL/ExtensibleElements/BadExtensibleElements.wsdl >diff -N testresources/samples/WSDL/ExtensibleElements/BadExtensibleElements.wsdl >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ testresources/samples/WSDL/ExtensibleElements/BadExtensibleElements.wsdl 1 Jan 1970 00:00:00 -0000 >@@ -0,0 +1,59 @@ >+<?xml version="1.0" encoding="UTF-8"?> >+<wsdl:definitions name="BadExtensibleElements" >+ targetNamespace="http://www.example.org/BadExtensibleElements/" >+ xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://www.example.org/BadExtensibleElements/" >+ xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> >+ <wsdl:types> >+ <xsd:schema targetNamespace="http://www.example.org/BadExtensibleElements/"> >+ <xsd:element name="NewOperation"> >+ <xsd:complexType> >+ <xsd:sequence> >+ <xsd:element name="in" type="xsd:string" /> >+ </xsd:sequence> >+ </xsd:complexType> >+ </xsd:element> >+ <xsd:element name="NewOperationResponse"> >+ <xsd:complexType> >+ <xsd:sequence> >+ <xsd:element name="out" type="xsd:string" /> >+ </xsd:sequence> >+ </xsd:complexType> >+ </xsd:element> >+ </xsd:schema> >+ </wsdl:types> >+ <wsdl:message name="NewOperationRequest"> >+ <wsdl:part element="tns:NewOperation" name="parameters" /> >+ </wsdl:message> >+ <wsdl:message name="NewOperationResponse"> >+ <wsdl:part element="tns:NewOperationResponse" name="parameters" /> >+ </wsdl:message> >+ <wsdl:portType name="BadExtensibleElements"> >+ <wsdl:operation name="NewOperation"> >+ <wsdl:input message="tns:NewOperationRequest"> >+ <xsd:annotation></xsd:annotation> >+ </wsdl:input> >+ <wsdl:output message="tns:NewOperationResponse"> >+ <xsd:annotation></xsd:annotation> >+ </wsdl:output> >+ </wsdl:operation> >+ </wsdl:portType> >+ <wsdl:binding name="BadExtensibleElementsSOAP" type="tns:BadExtensibleElements"> >+ <soap:binding style="document" >+ transport="http://schemas.xmlsoap.org/soap/http" /> >+ <wsdl:operation name="NewOperation"> >+ <soap:operation >+ soapAction="http://www.example.org/BadExtensibleElements/NewOperation" /> >+ <wsdl:input> >+ <soap:body use="literal" /> >+ </wsdl:input> >+ <wsdl:output> >+ <soap:body use="literal" /> >+ </wsdl:output> >+ </wsdl:operation> >+ </wsdl:binding> >+ <wsdl:service name="BadExtensibleElements"> >+ <wsdl:port binding="tns:BadExtensibleElementsSOAP" name="BadExtensibleElementsSOAP"> >+ <soap:address location="http://www.example.org/" /> >+ </wsdl:port> >+ </wsdl:service> >+</wsdl:definitions> >Index: testresources/idealResults/WSDL/ExtensibleElements/ExtensiblePortType.wsdl-log >=================================================================== >RCS file: testresources/idealResults/WSDL/ExtensibleElements/ExtensiblePortType.wsdl-log >diff -N testresources/idealResults/WSDL/ExtensibleElements/ExtensiblePortType.wsdl-log >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ testresources/idealResults/WSDL/ExtensibleElements/ExtensiblePortType.wsdl-log 1 Jan 1970 00:00:00 -0000 >@@ -0,0 +1,8 @@ >+number of errors : 0 >+number of warnings : 0 >+ >+------------error list------------------------------------------- >+(none) >+------------warning list----------------------------------------- >+(none) >+-----------------------------------------------------------------
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 252257
:
119400
| 119401