Oracle Beehive
  Oracle® Beehive RESTful Web Services API Reference
  Release 2 (2.0.1.7)
  E16658-04

Contents

Overview

Specifies a fault raised from a method invoked over the REST API

Members

Name Type Description

fault

beeFault

The fault details

httpStatusCode

int

The HTTP status code returned by the service

Hierarchy

Examples

Below are examples in JSON and XML formats. All examples are shown with all inherited members. Quoting when required is part of the examples, but you must obviously populate with your own data.

XML Example

(show inherited members)

<obh:restFault xsi:type="obh:restFault" xmlns:obh="http://www.oracle.com/beehive" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
        <obh:fault>your_beeFault_0</obh:fault>
        <obh:httpStatusCode>your_int_0</obh:httpStatusCode>
</obh:restFault>

JSON Example

(show inherited members)

{
    "beeType":"restFault",
        "fault":{ your_{http://www.oracle.com/beehive}fault_as_beeFault0 },
        "httpStatusCode":your_{http://www.oracle.com/beehive}httpStatusCode_as_int0
}

XML Schema


<xs:complexType name="restFault">
    <xs:sequence>
        <xs:element minOccurs="0" name="fault" type="tns:beeFault"/>
        <xs:element minOccurs="0" name="httpStatusCode" type="xs:int"/>
    </xs:sequence>
</xs:complexType>

        

References

The following data represents the references to restFault

Referenced By Resources

Not Referenced Directly by Resources

Referenced By Representaions

Not Referenced Directly by Representations