users@glassfish.java.net

How to rollback WS-AT transaction with Exception ?

From: <glassfish_at_javadesktop.org>
Date: Tue, 26 Jun 2007 00:33:40 PDT

Hello,

As I read WS-AT specification, I understand that normally the tx is committed if the service ends fine. So is the tx rollbacked if any exception is thrown during the web service ?

I did some tests: services with "required" methods whose throw exception but the tx is never rollbacked.

Is there a precise type of Exception to be thrown to do rollback ?

Thanx
[Message sent by forum member 'jgresse' (jgresse)]

http://forums.java.net/jive/thread.jspa?messageID=223902