Using the debugger to interrupt a service that has just received a message containing invalid XML enables the user to view the incoming message. If the user attempts to save the edited message, multiple syntax errors are reported - see attached screenshot of the Error dialog.
To recreate the error:
-
Import the switchyard-validate-xml SwitchYard quickstart
-
Set a debugger on the "OrderService" service (on the service's green chevron icon in the SwitchYard
-
Run the WebServiceTest test - Debug as a JUnit test
-
Switch to the Debug perspective
-
Open the Variables view
-
Access the message through ex-> in
-
Edit the message and press control/S - the error dialog is displayed
|