Support of Topic Dialect Topic Set Contents

Copyright © 2011 Open Geospatial Consortium 221 d Test Type: Basic

11.9 Conformance Class – XML Encoding

http:www.opengis.netspecSPS2.0confXMLEncoding

11.9.1 Capability Test

http:www.opengis.netspecSPS2.0confXMLEncodingCapability a Test Purpose: Verify that the server implements the XML Encoding conformance class. b Test Method: Verify that the server implements the following conformance classes http:www.opengis.netspecSWE2.0confxsd-simple-components , http:www.opengis.netspecSWE2.0confxsd-simple-encodings , http:www.opengis.netspecSWES2.0confXMLEncoding . Verify the conformance tests listed in section 11.9.2 c Reference: see references in conformance tests d Test Type: Capability

11.9.2 Modules with Basic Tests

11.9.2.1 Validation

11.9.2.1.1 XML Encoding Validity

http:www.opengis.netspecSPS2.0confXMLEncodingValidationXMLEncoding a Test Purpose: Verify that XML implementations of the conceptual types defined in the specification are valid according to their XML Schema implementation. b Test Method: For all XML instance documents received from the service that are in the namespace http:www.opengis.netsps2.0, verify that they are valid according to their XML Schema definition listed in Table 82. Note: the sps.xsd can be used for validating any such XML instance against its schema definition. c Reference: 12 d Test Type: Basic

11.9.2.1.2 XML Validation Exception Reporting

http:www.opengis.netspecSPS2.0confXMLEncodingValidationExceptionReporting a Test Purpose: Verify that the service sends an exception with appropriate code if it received an invalid request. 222 Copyright © 2011 Open Geospatial Consortium b Test Method: For all SPS operations supported by the service, create an XML request instance that is invalid according to its schema definition outlined in Table 82 and send it to the service. Verify that the service returns an exception with code InvalidRequest. c Reference: 7.2, 12 d Test Type: Basic

11.10 Conformance Class – SOAP

http:www.opengis.netspecSPS2.0confSOAP

11.10.1 Capability Test

http:www.opengis.netspecSPS2.0confSOAPCapability a Test Purpose: Verify that the server implements the SOAP conformance class. b Test Method: Verify that the server implements the XML Encoding conformance class. Do so by checking that the Body element in SOAP messages sent to the service for invoking an SPS operation contains a valid XML representation of the according operation request. Verify that the server implements the http:www.opengis.netspecSWES2.0confSOAPBinding conformance classes. Verify the conformance tests listed in section 11.10.2. c Reference: see references in conformance tests d Test Type: Capability

11.10.2 Modules with Basic Tests

11.10.2.1 Action URIs

11.10.2.1.1Asynchronous request response http:www.opengis.netspecSPS2.0confSOAPActionURIsAsyncRequestResponse a Test Purpose: To verify that WS-Addressing is used to enable asynchronous request response. b Test Method: Get the service metadata WSDL and or Capabilities document. Ensure that the service metadata does not indicate support for any asynchronous request response realization technique that could be used by clients other than WS-Addressing. c Reference: 9.5 d Test Type: Basic