Catalogue Service interfaces Interface definition - IDL

exception CatalogError{ wstring diagnostic; };

9.6.11 Catalogue Service interfaces

The interface Discovery implements methods for discovery: query, present, explainCollection and getDomain . These methods take a request message as input parameter and return a response message as output parameter. interface Discovery { QueryResponse queryin QueryRequest request raisesInvalidSession, InvalidQuery, InvalidCollection, NotSupported, CatalogError; PresentResponse presentin PresentRequest request raisesInvalidSession, InvalidCollection, NotSupported, CatalogError; ExplainCollectionResponse explainCollectionin ExplainCollectionRequest request raisesCatalogError; GetDomainResponse getDomainin GetDomainRequest request raisesCatalogError; }; The next interface describes the Manager interface, which defines catalogue management functions. The operation transaction is taken literally from the General Model. This operation can create, update, or delete catalogue entries. The appropriate meta information will be provided in the request messages. interface Manager { This operation is used to by a client that has the appropriate user privileges to execute a whole set of insert, update and delete operation of metadata to a catalog. TransactionResponse transactionin TransactionRequest request raisesNotImplemented, CatalogError; }; The interface Access is the interface for access messages. It describes only one operation: the brokeredAccess function which has the request as input and which returns the response. Direct access is provided by interfaces as the Simple Feature interface and the Coverage interface. These interfaces are not described here. The client can get a reference to these interfaces by examining the ior field in the meta-information. interface Access { BrokeredAccessResponse brokeredAccessin BrokeredAccessRequest request raisesNotImplemented, CatalogError; }; The OGC_StatefulService interface provides four operations for interactive sessions between a server and a client. All operations have a comparable form of the operations specified in the General Model. Copyright © 2007 Open Geospatial Consortium, Inc. All Rights Reserved. 101 interface OGC_StatefulService : OGC_Service { InitSessionResponse initSessionin InitSessionRequest request raisesCatalogError; TerminateResponse terminateSessionin TerminateRequest request raisesInvalidSession, CatalogError; StatusResponse statusin StatusRequest request raisesInvalidSession, InvalidRequest, CatalogError; CancelResponse cancelin CancelRequest request raisesInvalidSession, InvalidRequest, CatalogError; }; The CatalogServices interface is the core of the CORBA profile. The CatalogServices inherits from the interfaces Discovery, Access and Manager. In this way these services are realized. NOTE Access and manager services are optional. If a server does not implement these services it throws the exception NotImplemented. The CatalogServices also inherits from OGC_StatefulService that is described below. interface CatalogServices : OGC_StatefulService, Discovery, Access, Manager { };

9.6.12 Basic interfaces