on 10-08-2009 4:34 PM
Hi.
We have an scenario with BPM.
In this workflow we receive the information from RFC and send message to a Web service.
We want to include 2 types of exception in the send step. System Error and Application Error.
Is possible to make it?
Kind Regards
David Ramos
for system error - use deadline step and for application error get exception/error message as a reply from the target.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi.
In the send step I have defined two exception: System Error y Fault message and two exception handler,
one for each exception.
I was able to collect the exception System Error in synchronous send step.
If I receive a System error, the flow continues for the exception branch.
But If the send step fail with this error:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!-- Request Message Mapping
-->
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
<SAP:Category>Application</SAP:Category>
<SAP:Code area="UNKNOWN">APPLICATION_ERROR</SAP:Code>
<SAP:P1 />
<SAP:P2 />
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText>application fault</SAP:AdditionalText>
<SAP:ApplicationFaultMessage namespace="http://xml.apache.org/axis/">hostname</SAP:ApplicationFaultMessage>
<SAP:Stack />
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
The flow doesn´t follow by the exception brank and I receive the next message:
"No exception defined for fault message hostname"
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.