on 2007 Sep 06 2:51 PM
Hello,
I ehanced an existing BPM where a send step sends data to a J2EE system. I inserted a switch and put the existing send step to one branche and a new send step to the otherweise-branche. The new send step interrupt with an error:
<b>No exception defined for fault message hostname http://xml.apache.org/axis/</b>;
But there is an exception branche defined. An idea what's the problem?
I didn't define a message called hostname, so where he got this name from?
thx
chris
Hi Christian!
The message received by BPM went through "otherwise" branch and call from this send step failed (i suppose it was sync call of web service). You don't have exception catch maintained for this call, so exception is thrown.
Do following:
to "otherwise" branch in switch put a block step, send step put inside of this block. create exception branch for the block (right click on the block - create exception branch) and decide, what do you want to do in case of send call fails. you can simply interrupt the execution, or u can process exception.
hope it helps
olian.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Then be sure, that the exception branch is REALLY well configured for exBlock exception. It doesn't metter, how the branch is called, important is, how it is configured. So if it is named exBlock, but is not configured properly for exBlock catch, it won't work.
If it is configured properly, it should work..
O.
No, everything seems fine.
Here is the payload of response :
<i>
<?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>
</i>
Christian,
the configurations seem to be alright.
Try to activate all your changes, then go to tx code SXI_CACHE, go to the Integration Process node, and then search for your BPM. Make sure it has return code 0 (if it has 99, then there is some error in BPM).
If that's not the problem, try to create separate exceptions/exception branches for the system error and the fault message. You don't need to have two transformation/send steps for exception. Just make one exception branch with a control step throwing the other exception.
Regards,
Henrique.
Christian,
how do you have configured the control step? How do you handle the exception?
if it is ok, other thing comes into place: whether the exception returned by the sync call is correctly included in the list of exceptions in the send step. You have 2 exception types, but what if the response is not in the list (this is just question to consider form my side.. i'm not such an expert)..
olian
Hi,
Post this in BPM Forum.
Regards,
Akshay Jamgaonkar.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
70 | |
10 | |
10 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.