GetQuotation response example. Exceptions

Ordering Services for Earth Observation Products Interface Standard OGC 06-141r6 150 Copyright © 2012 Open Geospatial Consortium xs:sequence xs:extension xs:complexContent xs:complexType …. schema

10.4.3 GetQuotation response example.

The following is an example of GetQuotation synchronous response. Note that the example includes only the GetQuotationAck element without the SOAP envelope. GetQuotationAck xmlns:xsi=http:www.w3.org2001XMLSchema-instance xmlns=http:www.opengis.netoseo1.0 xmlns:xsd=http:www.w3.org2001XMLSchema xmlns:sps=http:www.opengis.netsps2.0 xmlns:swe=http:www.opengis.netswe2.0 xmlns:gml=http:www.opengis.netgml3.2 xsi:schemaLocation=http:www.opengis.netoseo1.0 http:schemas.opengis.netoseo1.0oseo.xsd statussuccessstatus quotation quotationIdquotationId_0001quotationId validityTime2007-05-01T00:00:00.00ZvalidityTime price value15value currencyQUOTAcurrency price orderItemGroupPrice provider serviceNameESA_ORDER_SERVICEserviceName organizationESAorganization provider price value15value currencyQUOTAcurrency price balance value20value currencyQUOTAcurrency balance orderItemPrice itemIditem_0001itemId productId identifierhttp:www.opengis.netdefEOPESA0ESA.EECF.ENVISAT_ASA_IMxEN1- 05121921114570-3322.XIidentifier collectionIdhttp:www.opengis.netdefEOPESA0ESA.EECF.ENVISAT_ASA_IMxco llectionId productId orderItemPrice orderItemGroupPrice quotation GetQuotationAck

10.4.4 Exceptions

In the event that an Order Server encounters an error servicing a GetQuotation, it shall return an exception within a SOAP Fault in particular an ows:ExceptionReport according to the clause 8 of [NR9]. Ordering Services for Earth Observation Products Interface Standard OGC 06-141r6 151 Copyright © 2012 Open Geospatial Consortium The SOAP Fault Message see §7.3.14 shall have one of the following exceptionCode value: “exceptionCode” value Meaning of code “locator” value “ExceptionText” value MissingParameterValue Operation request does not include a parameter value, and this server did not declare a default value for that parameter Name of missing parameter “Missing value for Parameter” InvalidParameterValue Operation request contains an invalid parameter value Name of parameter with invalid value “Invalid value for Parameter” NoApplicableCode No other exceptionCode specified by this service and server applies to this exception None, omit “locator” parameter “Code not applicable” InvalidNotificationValue In asynchronous mode, the operation request has the status notification active with “Full” or “Final” value but an address information to which the server has to notify the ordering status that is empty or invalid. “ws-address” parameter “Invalid value for notification” AuthenticationFailed Invalid or missing identity information “identity_token” “Invalid or missing identity information” AuthorizationFailed The client is not authorized to call the operation or it is not authorized to provide the specified parameters. Possible values: ฀ “GetQuotation” ฀ “collectionId” ฀ “identifier” ฀ “taskingRequestId” ฀ etc.. Text describing the item not authorized. E.g.: ฀ “The client is not authorized to call the operation.” ฀ “the client is not authorized to order that product” ฀ Etc. SubscriptionNotSupported Operation request identifies a order type subscription but the server doesn’t support “SubscriptionOrders” “orderType” parameter “Subscription not supported” ProductOrderingNotSupported Operation request identifies a order type order product but the server doesn’t support “ProductOrders” “orderType” parameter “Ordering not supported” FutureProductNotSupported Operation request identifies a order type future products but the server doesn’t support “ProgrammingOrders” “orderType” parameter “Programming not supported” Ordering Services for Earth Observation Products Interface Standard OGC 06-141r6 152 Copyright © 2012 Open Geospatial Consortium Table 10-4 – Exception Codes for GetQuotation operation. 11 GetQuotationResponse operation

11.1 Introduction