![]() ![]() ![]() ![]() ![]() ![]() |
This section describes the Oracle Service Bus errors that can occur when a proxy service is being executed. The error codes associated with these errors surface inside the element of the fault
context variable. You can access the value using the following XQuery statement:
Errors are accompanied by details specific to the error inside the fault
element.
Table A-1 lists Oracle Service Bus error codes.
General Transport error
XML Details: An Error Response Was Received (when occurring in publish action) |
||
ALSBConfigurationMBean service callout action received SOAP Fault response.
XML details: A SOAP Fault Response was Received
|
||
Oracle Service Bus service callout action received an unrecognized response. XML details: An Unrecognized Response was Received
|
||
Oracle Service Bus service callout has received an error response from the server XML details: An Unknown Error Response Was Received
|
||
XML details: Validation Failed
|
||
|
||
A web service security fault occurred[<error-code from WSS fault>][<fault-string from WSS-fault>] XML details: A WS-Security Fault Occurred
|
||
Below are schema definitions for XML snippets that accompany the error codes listed in Table A-1. These XML snippets appear inside the fault context variable under the <ctx:details>
element. These schemas do not all come from a single namespace. Also, while a given error code typically implies a particular XML snippet, some XML snippets are used by several error codes.
<xs:schema targetNamespace="http://www.oracle.com/wli/sb/stages/transform/config"
xmlns:tns="http://www.oracle.com/wli/sb/stages/transform/config"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:ref="http://www.oracle.com/wli/sb/reference"
xmlns:sdk="http://www.oracle.com/wli/sb/stages/config"
elementFormDefault="qualified"
attributeFormDefault="unqualified">
<xs:element name="ReceivedFaultDetail" type="tns:ReceivedFaultDetail"/>
<xs:complexType name="ReceivedFaultDetail">
<xs:sequence>
<xs:element name="faultcode" type="xs:QName"/>
<xs:element name="faultstring" type="xs:string"/>
<xs:element name="detail" minOccurs="0" >
<xs:complexType mixed="true" >
<xs:sequence>
<xs:any namespace="##any" minOccurs="0" maxOccurs="unbounded" processContents="lax" />
</xs:sequence>
<xs:anyAttribute namespace="##any" processContents="lax" />
</xs:complexType>
</xs:element>
<!-- HTTP-specific status/response code -->
<xs:element name="http-response-code" type="xs:int" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:element name="UnrecognizedResponseDetail" type="tns:UnrecognizedResponseDetail"/>
<xs:complexType name="UnrecognizedResponseDetail">
<xs:sequence>
<xs:element name="detail" minOccurs="0" type="xs:string" />
<!-- HTTP-specific status/response code -->
<xs:element name="http-response-code" type="xs:int" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:element name="ErrorResponseDetail" type="tns:ErrorResponseDetail"/>
<xs:complexType name="ErrorResponseDetail">
<xs:sequence>
<xs:element name="detail" minOccurs="0" type="xs:string" />
<!-- HTTP-specific status/response code -->
<xs:element name="http-response-code" type="xs:int" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="ValidationFailureDetail">
<xs:sequence minOccurs = "0" maxOccurs="unbounded">
<xs:element name="message" type="xs:string"/>
<xs:element name="xmlLocation" type="xs:anyType"/>
</xs:sequence>
</xs:complexType>
</xs:schema>
<schema targetNamespace="http://www.oracle.com/wli/sb/errors"
xmlns:err="http://www.oracle.com/wli/sb/errors"
xmlns:tc="http://www.oracle.com/wli/sb/transports"
xmlns="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified"
attributeFormDefault="unqualified">
<element name="InvalidEnvelope">
<complexType>
<sequence>
<element name="localpart" type="NCName"/>
<element name="namespace" type="anyURI" minOccurs="0"/>
</sequence>
</complexType>
</element>
<element name="WebServiceSecurityFault">
<complexType>
<sequence>
<element name="faultcode" type="QName"/>
<element name="faultstring" type="string"/>
<element name="detail" minOccurs="0">
<complexType mixed="true">
<sequence>
<any namespace="##any" minOccurs="0" maxOccurs="unbounded" processContents="lax"/>
</sequence>
<anyAttribute namespace="##any" processContents="lax"/>
</complexType>
</element>
</sequence>
</complexType>
</element>
<element name="ErrorResponseDetail" type="err:ErrorResponseDetail"/>
<complexType name="ErrorResponseDetail">
<sequence>
<!-- Response metadata -->
<element name="response-metadata" type="tc:ResponseMetaDataXML" minOccurs="0" />
</sequence>
</complexType>
</schema>
![]() ![]() ![]() |