14 Replies Latest reply on Aug 5, 2014 11:40 AM by User10124166-Oracle

    Cannot get OSB to catch fault returned from target system


      My OSB Business Service returns the following SOAP fault when invoking the targeted system:


      <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">








                      The process has not been successfully completed. Look at the errors and warnings below.









      This is expected.

      But when I call the same system through my Proxy service I get the following fault:


      <con:fault xmlns:con="http://www.bea.com/wli/sb/context">


          <con:reason>Internal Server Error</con:reason>







      I understand that this is also to be expected because the fault is thrown to the system where it is interpreted as such.


      My problem is that I want to catch and log the fault that is returned from the target system (the SOAP Fault shown above) and not the interpreted system fault.

      To do this I was told that an "Error Handler" needs to be added to the "Route". The "Error Handler" includes a "Stage" which includes a "Log" and "Reply" .

      I did this but the result returns blank. This is what OSB sbconsole test shows me and nothing is logged in my log file:

      <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">





      Any help or suggestions would be greatly appreciated.