ode activityFauilre
jonny69 Jun 9, 2011 9:09 AMHi everyone,
I'm using JbossEsb 4.9 and riftsaw 2.2.0 Final and I have two simple process with one invoke. Each process invoke different web services. Each invoke throws SOAP Fault but only in one process I'm able to catch this fault using ode extension. Only one different thing I've noticed, is missing namespace alias in throwing fault. This is responses which I'm getting back in process execution:
Ok response:
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header></env:Header>
<env:Body>
<env:Fault xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<faultcode>env:Server</faultcode>
<faultstring>MyNewFaultTypeException [info=ERROR_INFO, error=FATAL_ERROR]</faultstring>
<detail>
<ns2:MyNewFaultTypeException xmlns:ns2='http://test.pl/ws/test'>
<error>FATAL_ERROR</error>
<info>ERROR_INFO</info>
</ns2:MyNewFaultTypeException>
</detail>
</env:Fault>
</env:Body>
</env:Envelope>
This response I can't catch:
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Body>
<env:Fault xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<faultcode>env:Server</faultcode>
<faultstring/>
<detail>
<fault xmlns='http://xx.com/content' xmlns:xx='http://xx.com'>
<code>1</code>
<message>message</message>
</fault>
</detail>
</env:Fault>
</env:Body>
</env:Envelope>
In reponse form process I'm getting
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header/>
<env:Body>
<env:Fault>
<faultcode xmlns:valueNS='http://ode.apache.org/activityRecovery'>valueNS:activityFailure</faultcode>
</env:Fault>
</env:Body>
</env:Envelope>
Is it some bug in riftsaw, ode ? Any Idea