Topic:   what are transient errors in webMethods and how we can handle them ?
Dec 20, 2013 17:45 3 Replies 2158 Views Pradip
Prev Next
Topic Replies (3)
  1. 1
    idnkx user

    Pradip

    Can anyone please explain me what are transient errors in webMethods and how we can handle them ? if possible please give an example or scenario for handling with configuration or properties details ?

    I have a scenario to execute outside services and webservices, need to handle while executions

    1
    idnkx user

    Venkata

    Ex : java.net.SocketTimeoutException: Read timed out : Signals that a timeout has occurred on a socket read or accept.

    One way of handling is configure as key value pair "Ex: TransiantErrorList:java.net.SocketTimeoutException: Read timed out ,Error2,Error3...". In your Catch block check if the error falls in to this transiant error what you have defined if so have one retry block of code which will retry when ever transiant error occures.

    1
    idnkx user

    rambo

    Hi

    We can create a catch block and based upon response we get other than success we can have a retry with an interval of 60secs for abt 3 times would be better.

    Regards

Leave a Reply
Guest User

Not sure what course is right for you?

Choose the right course for you.
Get the help of our experts and find a course that best suits your needs.


Let`s Connect