<document>
<example> public interface TransactionService { public static final int VOTE_READ_ONLY = 0; public static final int VOTE_ROLLBACK = 1; public static final int VOTE_COMMIT = 2; public int prepare(String xid); public void commit(String xid); public void rollback(String xid); } </example> <example> <header>transaction-id</header><string>0239431123</string> </example> <example> <header>transaction-endpoint</header><string>http://localhost:8080/hessian/_hessian_xa</string> </example>
</document>