on 04-16-2008 1:29 PM
With alert configuration we can send notify user when there is an error.
Is there a way to write a log file when there is an error (assume no BPM used).
There are a couple of things you can do to create a log file:
1. You can create a custom alert and trigger it by generating an exception in your message mapping. This can be done using a user defined function. In the same user defined function you can call a communication channel to write the error log file.
2. You can create 2 interfaces the first one is your main interface, in that interface donot error out the interface in the message mapping. Populate a certain error value in the target and use that value in another message map to create another map with the error
IntfA -
> UDF (Error --> X) ---> Target (<field Z>X</field>). --> IntfB
IntfB -
> Check value for X in field Z to populate the eror records to the target structure --> intFC.
Same condition u need to put in the rcvr determination so that it doesnot give an error.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thanks Indranil.
I should have been more clear on my question.
The errors I am talking about are not hanlded errors, those are unhandled errors. For example, if I have a soap->soap scenario without bpm, and if the target webservice is down, then I need to create a log file. I can setup a alert and configure a rule in RWB, but it will only send mails, not log files.
so the question is: how do I write a log file if a scenario fails beacause of unhandled exception?
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.