JWSDL TCK Tests
JWSDL TCK Tests
Test Class Performs Tests
BindingFaultTest
  • Test BindingFault.setDocumentationElement(...) and BindingFault.getDocumentationElement().
  • Test BindingFault.setName(...) and BindingFault.getName().
BindingInputTest
  • Test BindingInput.setDocumentationElement(...) and BindingInput.getDocumentationElement().
  • Test BindingInput.setName(...) and BindingInput.getName().
BindingOperationTest
  • Test BindingOperation.addBindingFault(...), BindingOperation.getBindingFault(...) and BindingOperation.removeBindingFault(...).
  • Test BindingOperation.setBindingInput(...) and BindingOperation.getBindingInput().
  • Test BindingOperation.setBindingOutput(...) and BindingOperation.getBindingOutput().
  • Test BindingOperation.setDocumentationElement(...) and BindingOperation.getDocumentationElement().
  • Test BindingOperation.setName(...) and BindingOperation.getName().
  • Test BindingOperation.setOperation(...) and BindingOperation.getOperation().
BindingOutputTest
  • Test BindingOutput.setDocumentationElement(...) and BindingOutput.getDocumentationElement().
  • Test BindingOutput.setName(...) and BindingOutput.getName().
BindingTest
  • Test Binding.addBindingOperation(...), Binding.getBindingOperation(...) and Binding.removeBindingOperation(...) specifying the operation name and null for the input and output message names.
  • Test Binding.addBindingOperation(...), Binding.getBindingOperation(...) and Binding.removeBindingOperation(...) specifying the operation name and the input and output message names.
  • Test Binding.addBindingOperation(...), Binding.getBindingOperation(...) and Binding.removeBindingOperation(...) specifying the operation name and ":none" for the input and output message names.
  • Test Binding.setDocumentationElement(...) and Binding.getDocumentationElement().
  • Test Binding.setPortType(...) andBinding.getPortType().
  • Test Binding.setQName(...) andBinding.getQName().
  • Test Binding.setUndefined(...) andBinding.isUndefined().
DefinitionTest
  • Test Definition.createBinding(), Definition.addBinding(...), Definition.getBinding(...), and Definition.removeBinding(...).
  • Test Definition.createMessage(), Definition.addMessage(...), Definition.getMessage(...), and Definition.removeMessage(...).
  • Test Definition.createPortType(), Definition.addPortType(...), Definition.getPortType(...), and Definition.removePortType(...).
  • Test Definition.createService(), Definition.addService(...), Definition.getService(...), and Definition.removeService(...).
  • Test Definition.createTypes(), Definition.setTypes(...), and Definition.getTypes().
  • Test Definition.createImport(), Definition.addImport(...), Definition.getImports(...) and Definition.removeImport(...)
  • Test Definition.createBindingFault().
  • Test Definition.createBindingInput().
  • Test Definition.createBindingOperation().
  • Test Definition.createBindingOutput().
  • Test Definition.createFault().
  • Test Definition.createInput().
  • Test Definition.createOperation().
  • Test Definition.createOutput().
  • Test Definition.createPart().
  • Test Definition.createPort().
  • Test Definition.addNamespace(...), Definition.getNamespace(...), Definition.removeNamespace(...) and Definition.getPrefix(...). Test support for default namespace declarations.
  • Test Definition.setQName(...) and Definition.getQName().
  • Test Definition.setTargetNamespace(...) and Definition.getTargetNamespace().
  • Test Definition.setDocumentBaseURI(...) and Definition.getDocumentBaseURI().
  • Test Definition.setDocumentationElement(...) and Definition.getDocumentationElement().
  • Test Definition.setExtensionRegistry(...) and Definition.getExtensionRegistry().
ExtensionRegistryTest
  • Test ExtensionRegistry.querySerializer(...), ExtensionRegistry.queryDeserializer(...), and ExtensionRegistry.createExtension(...), to ensure that serializers, deserializers, and Java types have been registered for all the specification-defined SOAP extensibility elements.
  • Test ExtensionRegistry.querySerializer(...), ExtensionRegistry.queryDeserializer(...), and ExtensionRegistry.createExtension(...), to ensure that serializers, deserializers, and Java types have been registered for all the specification-defined SOAP 1.2 extensibility elements.
  • Test ExtensionRegistry.querySerializer(...), ExtensionRegistry.queryDeserializer(...), and ExtensionRegistry.createExtension(...), to ensure that serializers, deserializers, and Java types have been registered for all the specification-defined HTTP extensibility elements.
  • Test ExtensionRegistry.querySerializer(...), ExtensionRegistry.queryDeserializer(...), and ExtensionRegistry.createExtension(...), to ensure that serializers, deserializers, and Java types have been registered for all the specification-defined MIME extensibility elements.
  • Test ExtensionRegistry.getAllowableExtensions(...) to ensure that all the specification-defined extensions (SOAP, HTTP, and MIME) are registered to be allowed in the correct locations.
  • Test ExtensionRegistry.setDefaultSerializer(...) and ExtensionRegistry.getDefaultSerializer(). Test that default value is an UnknownExtensionSerializer instance.
  • Test ExtensionRegistry.setDefaultDeserializer(...) and ExtensionRegistry.getDefaultDeserializer(). Test that default value is an UnknownExtensionDeserializer instance.
FactoryTest
  • Test WSDLFactory.newInstance() to ensure that factory instances can be retrieved by specifying the javax.wsdl.factory.WSDLFactory system property.
  • Test WSDLFactory.newInstance() to ensure that factory instances can be retrieved by providing a lib/wsdl.properties file in the JRE directory.
  • Test WSDLFactory.newInstance() to ensure that factory instances can be retrieved by relying on a platform default.
  • Test WSDLFactory.newInstance(...) to ensure that factory instances can be retrieved by specifying an explicit factory implementation to use.
  • Test WSDLFactory.newInstance(...) to ensure that factory instances can be retrieved by specifying an explicit factory implementation and classloader to use.
FactoryTest2
  • Test WSDLFactory.newDefinition() to ensure that definitions can be created using a newly created factory.
  • Test WSDLFactory.newWSDLReader() to ensure that WSDLReaders can be created using a newly created factory.
  • Test WSDLFactory.newWSDLWriter() to ensure that WSDLWriters can be created using a newly created factory.
  • Test WSDLFactory.newPopulatedExtensionRegistry() to ensure that populated ExtensionRegistries can be created using a newly created factory.
FaultTest
  • Test Fault.setDocumentationElement(...) and Fault.getDocumentationElement().
  • Test Fault.setMessage(...) and Fault.getMessage().
  • Test Fault.setName(...) and Fault.getName().
HTTPAddressTest
  • Test HTTPAddress.setLocationURI(...) and HTTPAddress.getLocationURI().
HTTPBindingTest
  • Test HTTPBinding.setVerb(...) and HTTPBinding.getVerb().
HTTPOperationTest
  • Test HTTPOperation.setLocationURI(...) and HTTPOperation.getLocationURI().
ImportTest
  • Test Import.setDefinition(...) and Import.getDefinition().
  • Test Import.setDocumentationElement(...) and Import.getDocumentationElement().
  • Test Import.setLocationURI(...) and Import.getLocationURI().
  • Test Import.setNamespaceURI(...) and Import.getNamespaceURI().
InputTest
  • Test Input.setDocumentationElement(...) and Input.getDocumentationElement().
  • Test Input.setMessage(...) and Input.getMessage().
  • Test Input.setName(...) and Input.getName().
JWSDLTestSuite
  • This class combines all the tests contained in the JWSDL TCK into one JUnit test suite.
MIMEContentTest
  • Test MIMEContent.setPart(...) and MIMEContent.getPart().
  • Test MIMEContent.setType(...) and MIMEContent.getType().
MIMEMimeXmlTest
  • Test MIMEMimeXml.setPart(...) and MIMEMimeXml.getPart().
MIMEMultipartRelatedTest
  • Test MIMEMultipartRelated.addMIMEPart(...), MIMEMultipartRelated.getMIMEParts() and MIMEMultipartRelated.removeMIMEPart(...).
MessageTest
  • Test Message.addPart(...), Message.getPart(...) and Message.removePart(...).
  • Test Message.setDocumentationElement(...) and Message.getDocumentationElement().
  • Test Message.setQName(...) and Message.getQName().
  • Test Message.setUndefined(...) and Message.isUndefined().
OperationTest
  • Test Operation.addFault(...), Operation.getFault(...) and Operation.removeFault(...).
  • Test Operation.setDocumentationElement(...) and Operation.getDocumentationElement().
  • Test Operation.setInput(...) and Operation.getInput().
  • Test Operation.setName(...) and Operation.getName().
  • Test Operation.setOutput(...) and Operation.getOutput().
  • Test Operation.setParameterOrdering(...) and Operation.getParameterOrdering().
  • Test Operation.setStyle(...) and Operation.getStyle().
  • Test Operation.setUndefined(...) and Operation.isUndefined().
OutputTest
  • Test Output.setDocumentationElement(...) and Output.getDocumentationElement().
  • Test Output.setMessage(...) and Output.getMessage().
  • Test Output.setName(...) and Output.getName().
PartTest
  • Test Part.setDocumentationElement(...) and Part.getDocumentationElement().
  • Test Part.setElementName(...) and Part.getElementName().
  • Test Part.setName(...) and Part.getName().
  • Test Part.setTypeName(...) and Part.getTypeName().
PortTest
  • Test Port.setBinding(...) and Port.getBinding().
  • Test Port.setDocumentationElement(...) and Port.getDocumentationElement().
  • Test Port.setName(...) and Port.getName().
PortTypeTest
  • Test PortType.addOperation(...), PortType.getOperation(...) and PortType.removeOperation(...) specifying the operation name and null for the input and output message names.
  • Test PortType.addOperation(...), PortType.getOperation(...) and PortType.removeOperation(...) specifying the operation name and the input and output message names.
  • Test PortType.addOperation(...), PortType.getOperation(...) and PortType.removeOperation(...) specifying the operation name and ":none" for the input and output message names.
  • Test PortType.setDocumentationElement(...) and PortType.getDocumentationElement().
  • Test PortType.setQName(...) and PortType.getQName().
  • Test PortType.setUndefined(...) and PortType.isUndefined().
SOAP12AddressTest
  • Test SOAP12Address.setLocationURI(...) and SOAP12Address.getLocationURI().
SOAP12BindingTest
  • Test SOAP12Binding.setStyle(...) and SOAP12Binding.getStyle().
  • Test SOAP12Binding.setTransportURI(...) and SOAP12Binding.getTransportURI().
SOAP12BodyTest
  • Test SOAP12Body.setEncodingStyle(...) and SOAP12Body.getEncodingStyle().
  • Test SOAP12Body.setNamespaceURI(...) and SOAP12Body.getNamespaceURI().
  • Test SOAP12Body.setParts(...) and SOAP12Body.getParts().
  • Test SOAP12Body.setUse(...) and SOAP12Body.getUse().
SOAP12FaultTest
  • Test SOAP12Fault.setEncodingStyle(...) and SOAP12Fault.getEncodingStyle().
  • Test SOAP12Fault.setName(...) and SOAP12Fault.getName().
  • Test SOAP12Fault.setNamespaceURI(...) and SOAP12Fault.getNamespaceURI().
  • Test SOAP12Fault.setUse(...) and SOAP12Fault.getUse().
SOAP12HeaderFaultTest
  • Test SOAP12HeaderFault.setEncodingStyle(...) and SOAP12HeaderFault.getEncodingStyle().
  • Test SOAP12HeaderFault.setMessage(...) and SOAP12HeaderFault.getMessage().
  • Test SOAP12HeaderFault.setNamespaceURI(...) and SOAP12HeaderFault.getNamespaceURI().
  • Test SOAP12HeaderFault.setPart(...) and SOAP12HeaderFault.getPart().
  • Test SOAP12HeaderFault.setUse(...) and SOAP12HeaderFault.getUse().
SOAP12HeaderTest
  • Test SOAP12Header.addSOAP12HeaderFault(...), SOAP12Header.getSOAP12HeaderFaults() and SOAP12Header.removeSOAP12HeaderFault(...)
  • Test SOAP12Header.setEncodingStyle(...) and SOAP12Header.getEncodingStyle().
  • Test SOAP12Header.setMessage(...) and SOAP12Header.getMessage().
  • Test SOAP12Header.setNamespaceURI(...) and SOAP12Header.getNamespaceURI().
  • Test SOAP12Header.setPart(...) and SOAP12Header.getPart().
  • Test SOAP12Header.setUse(...) and SOAP12Header.getUse().
SOAP12OperationTest
  • Test SOAP12Operation.setSoapActionURI(...) and SOAP12Operation.getSoapActionURI(...).
  • Test SOAP12Operation.setSoapActionRequired(...) and SOAP12Operation.getSoapActionRequired(...).
  • Test SOAP12Operation.setStyle(...) and SOAP12Operation.getStyle(...).
SOAPAddressTest
  • Test SOAPAddress.setLocationURI(...) and SOAPAddress.getLocationURI().
SOAPBindingTest
  • Test SOAPBinding.setStyle(...) and SOAPBinding.getStyle().
  • Test SOAPBinding.setTransportURI(...) and SOAPBinding.getTransportURI().
SOAPBodyTest
  • Test SOAPBody.setEncodingStyles(...) and SOAPBody.getEncodingStyles().
  • Test SOAPBody.setNamespaceURI(...) and SOAPBody.getNamespaceURI().
  • Test SOAPBody.setParts(...) and SOAPBody.getParts().
  • Test SOAPBody.setUse(...) and SOAPBody.getUse().
SOAPFaultTest
  • Test SOAPFault.setEncodingStyles(...) and SOAPFault.getEncodingStyles().
  • Test SOAPFault.setName(...) and SOAPFault.getName().
  • Test SOAPFault.setNamespaceURI(...) and SOAPFault.getNamespaceURI().
  • Test SOAPFault.setUse(...) and SOAPFault.getUse().
SOAPHeaderFaultTest
  • Test SOAPHeaderFault.setEncodingStyles(...) and SOAPHeaderFault.getEncodingStyles().
  • Test SOAPHeaderFault.setMessage(...) and SOAPHeaderFault.getMessage().
  • Test SOAPHeaderFault.setNamespaceURI(...) and SOAPHeaderFault.getNamespaceURI().
  • Test SOAPHeaderFault.setPart(...) and SOAPHeaderFault.getPart().
  • Test SOAPHeaderFault.setUse(...) and SOAPHeaderFault.getUse().
SOAPHeaderTest
  • Test SOAPHeader.addSOAPHeaderFault(...), SOAPHeader.getSOAPHeaderFaults() and SOAPHeader.removeSOAPHeaderFault(...)
  • Test SOAPHeader.setEncodingStyles(...) and SOAPHeader.getEncodingStyles().
  • Test SOAPHeader.setMessage(...) and SOAPHeader.getMessage().
  • Test SOAPHeader.setNamespaceURI(...) and SOAPHeader.getNamespaceURI().
  • Test SOAPHeader.setPart(...) and SOAPHeader.getPart().
  • Test SOAPHeader.setUse(...) and SOAPHeader.getUse().
SOAPOperationTest
  • Test SOAPOperation.addSoapActionURI(...) and SOAPOperation.getSoapActionURI(...).
  • Test SOAPOperation.setStyle(...) and SOAPOperation.getStyle(...).
SchemaImportTest
  • Test SchemaImport.setNamespaceURI(...) and SchemaImport.getNamespaceURI().
SchemaReferenceTest
  • Test SchemaReference.setId(...) and SchemaReference.getId().
  • Test SchemaReference.setReferencedSchema(...) and SchemaReference.getReferencedSchema().
  • Test SchemaReference.setSchemaLocationURI(...) and SchemaReference.getSchemaLocationURI().
SchemaTest
  • Test Schema.setDocumentBaseURI(...) and Schema.getDocumentBaseURI().
  • Test Schema.setElement(...) and Schema.getElement().
  • Test Schema.createImport(), Schema.addImport(...) and Schema.getImports().
  • Test Schema.createInclude(), Schema.addInclude(...) and Schema.getIncludes().
  • Test Schema.createRedefine(), Schema.addRedefine(...) and Schema.getRedefines().
ServiceTest
  • Test Service.addPort(...), Service.getPort(...) and Service.removePort(...).
  • Test Service.setDocumentationElement(...) and Service.getDocumentationElement().
  • Test Service.setQName(...) and Service.getQName().
SignatureTest
  • Test the signatures of all the classes and methods for compliance with the JWSDL specification.
TypesTest
  • Test Types.setDocumentationElement(...) and Types.getDocumentationElement().
WSDLExceptionTest
  • Test WSDLException.setFaultCode(...) and WSDLException.getFaultCode().
  • Test WSDLException.setLocation(...) and WSDLException.getLocation().
  • Test WSDLException.setTargetException(...) and WSDLException.getTargetException().
WSDLReaderTest
  • Test WSDLReader.setExtensionRegistry(...) and WSDLReader.getExtensionRegistry().
  • Test WSDLReader.setFeature(...) and WSDLReader.getFeature(...). Test for recognition of both specification-mandated features.
  • Test each variation of WSDLReader.readWSDL(...) to ensure that definitions can be retrieved and parsed. Test navigating the definition by starting with the port and walking all the way back to the message parts. Test retrieving a document that contains an <import>.
  • Added for the JWSDL 1.1 Maintenance Release. Test that WSDLReader will correctly parse wsdl that has xml schema <import>, <include> and <redefine> elements. The schema fragments should be stored as DOM elements within Schema objects linked together with SchemaReference objects to mirror the nested schemas. Test navigating the definition by starting with the top level schema and walking all the way down the imported, included and redefined schemas.
WSDLWriterTest
  • Test each variation of WSDLWriter.writeWSDL(...), and WSDLWriter.getDocument(...), to ensure that round-tripped definitions still contain the same information.
  • Added for the JWSDL 1.1 Maintenance Release. Test writing a wsdl definition that has imported, included and redefined schemas.

Author: Matthew J. Duftler



Introduction  |   Installation Instructions  |   Running the Tests  |   Test Descriptions  |   Appeals Process  |   Change History