0 Replies Latest reply on May 28, 2009 3:35 PM by Benjamin Rasmussen

    How to use Fault within a message

    Benjamin Rasmussen Newbie

      I have a question regarding the design of the esb message.

      Let us assume we have a gui. The gui contains a form with two input fields. I would like to create a web service and be able to call it from the gui.

      The service should perform a validation of data before storing it to a database. The validation is performed within an action. If data is not correct the action should throw one or more error messages which can be routed back to the gui. However, it seems that it is only possible to attach one error message (reason) to the fault message.

      Can someone explain why this is the case and how to deal with multiple error messages?

      Thanks in advance