XsltSE Fault Handling
A quick post to let my reader know that XsltSE now offers basic fault handling transformation capabilities. When a transformation process does an Invoke to an operation that defines a wsdl:fault, that invocation can then return with a fault message. The new feature of which I speak is the ability to apply a Transform activity against the fault message before returning it to the consumer of the transformation process.
There's more details on how to configure your transformmap on the Tranform Fault Handling wiki, but normal fault handling is determined by the operation implemented by the transformation process. If the implemented operation is one-way or two-way with no wsdl:fault definition, then the fault message is set as the error detail property on the message exchange (MEx), which is sent back on the NMR with a status of ERROR. However, if a wsdl:fault is defined on the implemented operation, then the fault is propagated back to the consumer (i.e. the invoker of the implemented operation a.k.a. transformation process). If a Transform activity is configured for the received fault, the fault message will be transformed accordingly regardless of whether it's sent back as an MEx property or Fault. Try it out and post any questions to the OpenESB Users Forum. Ciao!
