Petals BC SOAP

JBI Errors should be transformed to SOAPFault

Details

  • Type: Improvement Request Improvement Request
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 4.3.2
  • Fix Version/s: 4.4.0
  • Component/s: None
  • Security Level: Public
  • Description:
    Hide

    SOAPFault are the SOAP counterpart to JBI Errors.

    They are not ALWAYS the same as WSDL Faults, as stated in http://docs.oracle.com/cd/E24329_01/web.1211/e24965/faults.htm:

    SOAP faults can be one of the following types:

    • Modeled—Maps to an exception that is thrown explicitly from the business logic of the Java code and mapped to wsdl:fault definitions in the WSDL file, when the Web service is deployed. In this case, the SOAP faults are predefined.
    • Unmodeled—Maps to an exception (for example, java.lang.RuntimeException) that is generated at run-time when no business logic fault is defined in the WSDL. In this case, Java exceptions are represented as generic SOAP fault exceptions, javax.xml.ws.soap.SOAPFaultException.

    Hence, an Error in a JBI exchange (with a status error) must be transformed to a SOAPFault.

    Show
    SOAPFault are the SOAP counterpart to JBI Errors. They are not ALWAYS the same as WSDL Faults, as stated in http://docs.oracle.com/cd/E24329_01/web.1211/e24965/faults.htm:
    SOAP faults can be one of the following types:
    • Modeled—Maps to an exception that is thrown explicitly from the business logic of the Java code and mapped to wsdl:fault definitions in the WSDL file, when the Web service is deployed. In this case, the SOAP faults are predefined.
    • Unmodeled—Maps to an exception (for example, java.lang.RuntimeException) that is generated at run-time when no business logic fault is defined in the WSDL. In this case, Java exceptions are represented as generic SOAP fault exceptions, javax.xml.ws.soap.SOAPFaultException.
    Hence, an Error in a JBI exchange (with a status error) must be transformed to a SOAPFault.
  • Environment:
    -

Issue Links

People

Dates

  • Created:
    Fri, 24 Apr 2015 - 15:01:11 +0200
    Updated:
    Fri, 2 Oct 2015 - 17:34:57 +0200
    Resolved:
    Fri, 2 Oct 2015 - 17:34:45 +0200