Portlet Factory, Version 6.1.2


 

Testing the error handler

To test the error handler, follow these steps.

  1. Set the timeout input for the service call to 0.

  2. Run the model.

Your FailurePage displays with the error message associated with the timeout displayed by the Text builder call. The following text is the timeout message associated with a timeout error for a service call:

[SOAPException: faultCode=SOAP-ENV:Client; msg=Read timed out;  targetException=java.net.SocketTimeoutException: Read timed out] occurred in: TimeoutTest2.invoke

Parent topic: Example: catching a timeout exception


Library | Support |