2 Replies Latest reply on Jul 19, 2011 4:49 AM by objectiser

    How is fault type identified

    objectiser

      The Exchange interface currently has a sendFault(Message) operation.

       

      Just wondering how a WSDL/SOAP fault would be represented by this message? Is it expected to pass the complete SOAP:fault envelope in the message content, as the means of identifying the fault type?

       

      Or should the fault payload be passed as the content, and the fault name passed some other way?

       

      Regards

      Gary

        • 1. Re: How is fault type identified
          kcbabo

          Hey Gary,

           

          The fault would be the child content of the SOAP:Fault element.  In other words, the SOAP gateway will take care of creating the SOAP:Fault wrapper and it will place the message content inside of that.

           

          cheers,

          keith

          • 2. Re: How is fault type identified
            objectiser

            Ok, so based on the discussion in the other thread, the new context parameter would carry the fault type which can then be placed in the faultCode?

             

            Regards

            Gary