Exception encoding PublishSubscribe SOAP binding

114 Copyright © 2011 Open Geospatial Consortium. a Test Purpose: To verify that the service only uses topics in its topic set for which it also provides information about the according topic namespace. b Test Method: Retrieve the notifications section of the service’s metadata. Verify that the section contains topic namespace information for each topic listed in the topic set of the service – except for the ad-hoc topic namespace as defined by WS-Topics. c Reference: 8.2.1 d Test Type: Basic

20.1.13.3 Filter Dialects

http:www.opengis.netspecSWES2.0confPublishSubscribeFilterDialects a Test Purpose: To verify that the service supports all filter dialects as advertised in its Capabilities. b Test Method: Retrieve the notifications section of the service’s metadata. Create and send a Subscribe for request for each filter dialect listed in the notifications section – ensure that the filter you create is valid. Verify that the service does not return an exceptionfault that indicates the filter dialect is invalid or not supported. c Reference: 8.2.2 d Test Type: Basic

20.1.14 SOAP binding

20.1.14.1 Exception encoding

http:www.opengis.netspecSWES2.0confSOAPBindingExceptionEncoding a Test Purpose: To verify that service exceptions are encoded according to the requirements of this standard. b Test Method: Devise and execute a request that generates an exception. Verify that the exception that the server generates is valid according to clause 19.2 with correct exceptionfault binding – code, subcode, reason, details. c Reference: 19.2 d Test Type: Basic Copyright © 2011 Open Geospatial Consortium. 115

20.1.14.2 Action URIs

20.1.14.2.1 Operation Actions

http:www.opengis.netspecSWES2.0confSOAPBindingActionURIsOperationActio ns a Test Purpose: To verify that the service recognizes and uses correct action URIs for operation requests and responses as well as notifications as defined in this standard. b Test Method: Depending upon the SOAP binding available at the service, execute a request for each operation defined by this service. Verify that the service uses the correct SOAP action as defined in Table 37 or uses an empty action in its response. If WS-Addressing is used, verify that the service uses the correct WS- Addressing action URIs as defined in Table 37. c Reference: 19.3 d Test Type: Basic

20.1.14.2.2 Exception Actions

http:www.opengis.netspecSWES2.0confSOAPBindingActionURIsExceptionActio ns a Test Purpose: To verify that the service uses correct action URIs for exceptionsfaults if WS-Addressing is used. b Test Method: Depending upon the SOAP binding available at the service, devise and execute a request that results in an exception for each exception relevant to the SOAP binding see Table 38. Verify that the service uses the correct WS- Addressing action as defined in Table 38 for the exception types listed there. c Reference: 19.3 d Test Type: Basic

20.1.14.3 PublishSubscribe

http:www.opengis.netspecSWES2.0confSOAPBindingPublishSubscribe a Test Purpose: To verify that the service uses WS-Notification for realizing the publishsubscribe functionality. b Test Method: Verify that the producer endpoint provided in the notifications section of the service’s metadata implements the NotificationProducer interface as defined by WS-BaseNotification. Verify that the Subscribe operation defined by that interface is executed correctly. Verify that the service supports at least one 116 Copyright © 2011 Open Geospatial Consortium. topic expression dialect, that it accepts valid subscriptions using this topic dialect to target the topics stated in its topic set and that it publishes the events that are expected to be published on these topics. c Reference: 8.2.1, 19.5 d Test Type: Basic

20.2 Conformance Classes

20.2.1 Core

http:www.opengis.netspecSWES2.0confCore a Test Purpose: Verify that the server implements the Core conformance class. b Test Method: Verify the following list of conformance tests: 20.1.1.1, 20.1.1.2, 20.1.2.1, 20.1.2.2, 20.1.3, 20.1.6. c Reference: 9, 10, 15, 18, 22 d Test Type: Capability

20.2.2 Basic SWE Service Metadata

http:www.opengis.netspecSWES2.0confBasicSWEServiceMetadata a Test Purpose: Verify that the server implements the Basic SWE Service Metadata conformance class. b Test Method: Verify that the server implements the Core conformance class. Verify the following list of conformance tests: 20.1.4, 20.1.7.1.1, 20.1.7.1.2. c Reference: 2, 7, 22 d Test Type: Capability

20.2.3 Sensor Provider

http:www.opengis.netspecSWES2.0confSensorProvider a Test Purpose: Verify that the server implements the Sensor Provider conformance class. b Test Method: Verify that the server implements the Core conformance class. Verify the following list of conformance tests: 20.1.5, 20.1.9.1 c Reference: 9.2.3, 11 d Test Type: Capability