6 | | Reference number of this OGC™ document: OGC 05 025r3 |
| 6 | 7.9.2 Fault handling |
| 7 | In the event that an exception report is produced for any reason, a single SOAP Fault element information item shall be included as the only child element information item of the SOAP body element (see SOAP12, sec. 5.4). The elements of the SOAP Fault are constructed as follows: |
| 8 | a) env:Code/env:Value = ―env:Sender‖ or ―env:Receiver‖, depending on the source of the error and the HTTP status code (i.e., 4xx, 5xx); |
| 9 | OGC 07-110r2 |
| 10 | Copyright © 2008 Open Geospatial Consortium, Inc. All Rights Reserved. 15 |
| 11 | b) env:Code/env:Subcode/env:Value = value of ows:Exception[1]/@exceptionCode (an OWS exception code value shall be prepended with ―ows:‖); |
| 12 | c) env:Reason/env:Text = ows:Exception[1]/ows:ExceptionText[1], where @xml:lang = ows:ExceptionReport/@language; |
| 13 | d) env:Detail contains the original ows:ExceptionReport element |
| 14 | NOTE The ―env‖ prefix maps to the namespace URI ―http://www.w3.org/2003/05/soap-envelope‖. |
| 15 | |