ode-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hans-Peter Schmidt" <chojinz...@mail.com>
Subject AxisFault handling in BPEL
Date Mon, 25 May 2009 14:41:55 GMT
Hello,

i was wondering, how you could throw faults in a BPEL process in reaction
to an axisfault?
For example, i try to invoke a service but get a timeout after 60 seconds
or an error 404 when the service is not reachable.
An AxisFault is generated like:

org.apache.axis2.AxisFault: Read timed out
    at org.apache.axis2.AxisFault.makeFault(AxisFault.java:417)
    at
org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:195)
...

Now, if i check the status of the process instance, it is still active.
I want it to terminate with the status FAILURE or something.
Also, throwing a Fault after receiving such an exception from axis would
help me out.
This way i could react to those exceptions/faults using catch blocks.
For now, i can only catch exceptions thrown by the service i try to
invoke, but not the axis(ode/tomcat) exceptions/faults.

Basicly what i want is a way to handle AxisFaults in a BPEL Process.

ODE Version = 1.3.2
Tomcat Version = 6.0.18

Thanks in Advance!

-- 
Be Yourself @ mail.com!
Choose From 200+ Email Addresses
Get a Free Account at www.mail.com


Mime
  • Unnamed multipart/alternative (inline, 7-Bit, 0 bytes)
View raw message