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(...) and BindingOperation.getBindingFault(...).
  • 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(...) and Binding.getBindingOperation(...).
  • 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(...), and Definition.getImports(...).
  • 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(...), 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 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.
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(...) and MIMEMultipartRelated.getMIMEParts().
MessageTest
  • Test Message.addPart(...) and Message.getPart(...).
  • Test Message.setDocumentationElement(...) and Message.getDocumentationElement().
  • Test Message.setQName(...) and Message.getQName().
  • Test Message.setUndefined(...) and Message.isUndefined().
OperationTest
  • Test Operation.addFault(...) and Operation.getFault(...).
  • 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(...) and PortType.getOperation(...).
  • Test PortType.setDocumentationElement(...) and PortType.getDocumentationElement().
  • Test PortType.setQName(...) and PortType.getQName().
  • Test PortType.setUndefined(...) and PortType.isUndefined().
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(...) and SOAPHeader.getSOAPHeaderFaults().
  • 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(...).
ServiceTest
  • Test Service.addPort(...) and Service.getPort(...).
  • 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>.
WSDLWriterTest
  • Test each variation of WSDLWriter.writeWSDL(...), and WSDLWriter.getDocument(...), to ensure that round-tripped definitions still contain the same information.

Author: Matthew J. Duftler



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