cancel
Showing results for 
Search instead for 
Did you mean: 

Error in send step in BPM

Former Member
0 Kudos
54

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

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

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.

Former Member
0 Kudos

Hello,

@Olian

I already created a block with a exception branch (called "exBlock"). In the normal brunch is the switch with two branches which got send steps to the different systems. Both send steps reference to the exception "exBlock".

So normally, an exception should be catched.

henrique_pinto
Active Contributor
0 Kudos

Hi Christian,

after you create the exception branch, click on it and configure it with some exception from the block step.

Regards,

Henrique.

Former Member
0 Kudos

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.

Former Member
0 Kudos

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>

henrique_pinto
Active Contributor
0 Kudos

Christian,

could you provide screenshots of your BPM steps?

In particular, send step, block step and the exception branch, all of them with the config fields (frame by the right side of the screen).

Regards,

Henrique.

Former Member
0 Kudos

Here they are:

<a href="http://www.christian-riekenberg.de/upSkript/up/bpm1.jpg">Send Step</a>

<a href="http://www.christian-riekenberg.de/upSkript/up/bpm2.jpg">Block</a>

[url=http://www.christian-riekenberg.de/upSkript/up/bpm3.jpg]ExceptionBranche[/url]

henrique_pinto
Active Contributor
0 Kudos

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.

Former Member
0 Kudos

Hi,

already checked the sxi_cache, but return code is 0.

Because the original first sending still works with the same

configuration (with other interfaces) I think the web service doesn't work

well. So I will first have to check this again...

thx

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi,

Post this in BPM Forum.

Regards,

Akshay Jamgaonkar.

henrique_pinto
Active Contributor
0 Kudos

> Hi,

>

> Post this in BPM Forum.

>

> Regards,

> Akshay Jamgaonkar.

what the heck is this all about?

He's asking in the proper place allright.

Henrique.